/* PHYT Marketing Website - Enhanced Styles */

/* Mobile scrolling optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 90vh;
    min-height: -webkit-fill-available; /* Fix for mobile Safari */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-l) var(--spacing-3xl) var(--spacing-l);
    padding-bottom: calc(var(--spacing-3xl) * 2);
    position: relative;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@media (prefers-color-scheme: dark) {
    .hero-section {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
        background-size: 400% 400%;
    }
    
    .hero-section::before {
        background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    }
}

/* Hide any lifting guy image that might be showing - but allow app-icon-on-screen, hero-app-icon, and app-icon-standalone */
.hero-section img[src*="blacklogolifting"]:not(.app-icon-on-screen):not(.hero-app-icon),
img[src*="blacklogolifting"]:not(.app-icon-on-screen):not(.hero-app-icon):not(.app-icon-standalone) {
    display: none !important;
}

.hero-content {
    max-width: 1020px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-logo-container {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

.hero-phyt-logo {
    height: 240px;
    width: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3))
            drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2))
            drop-shadow(0 0 40px rgba(0, 0, 0, 0.1));
}

.hero-app-icon {
    width: 102px;
    height: 102px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .hero-phyt-logo {
        height: 136px;
    }
}

.hero-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .hero-logo-img {
        max-width: 280px;
    }
}

@media (prefers-color-scheme: dark) {
    .hero-logo-img {
        filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
    }
}

.hero-title {
    font-size: 4em;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-l);
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: var(--phyt-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3),
                 0 4px 20px rgba(0, 0, 0, 0.2),
                 0 0 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5em;
    }
}

.hero-subtitle {
    font-size: 1.5em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                 0 0 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.2em;
    }
}

.hero-cta {
    display: flex;
    gap: var(--spacing-m);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
    background-color: var(--phyt-black);
    color: var(--phyt-white);
    border: 2px solid var(--phyt-black);
}

.btn-primary:hover {
    background-color: var(--phyt-gray-800);
    border-color: var(--phyt-gray-800);
}

@media (prefers-color-scheme: dark) {
    .btn-primary {
        background-color: var(--phyt-white);
        color: var(--phyt-black);
        border-color: var(--phyt-white);
    }
    
    .btn-primary:hover {
        background-color: var(--phyt-gray-200);
        border-color: var(--phyt-gray-200);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(180deg, var(--phyt-gray-100) 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0.6;
    animation: subtleShift 20s ease infinite;
    pointer-events: none;
}

@keyframes subtleShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(20px) translateY(-20px);
    }
}

@media (prefers-color-scheme: dark) {
    .features-section {
        background: linear-gradient(180deg, var(--phyt-gray-900) 0%, #0a0a1a 100%);
    }
    
    .features-section::before {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: var(--spacing-m);
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }
}

.section-description {
    font-size: 1.2em;
    color: var(--phyt-gray-600);
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    .section-description {
        color: var(--phyt-gray-400);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1020px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--phyt-white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    .feature-card {
        background-color: var(--phyt-gray-800);
    }
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    .feature-card:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    }
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-l);
    opacity: 0.9;
}

.feature-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: var(--spacing-m);
    color: var(--phyt-black);
}

@media (prefers-color-scheme: dark) {
    .feature-title {
        color: var(--phyt-white);
    }
}

.feature-description {
    color: var(--phyt-gray-600);
    line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
    .feature-description {
        color: var(--phyt-gray-400);
    }
}

/* ============================================
   APP SHOWCASE SECTION
   ============================================ */
.showcase-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    .showcase-section {
        background: linear-gradient(180deg, var(--phyt-black) 0%, #0f0f1a 100%);
    }
    
    .showcase-section::before {
        background: radial-gradient(ellipse at top, rgba(79, 172, 254, 0.08) 0%, transparent 70%);
    }
}

.device-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 1190px;
    margin: 0 auto;
    align-items: start;
}

.device-mockup {
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.device-mockup.visible {
    opacity: 1;
    transform: translateY(0);
}

.device-frame {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 34px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 319px;
}

@media (prefers-color-scheme: dark) {
    .device-frame {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    }
}

.device-screen {
    background-color: var(--phyt-black);
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    position: relative;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--phyt-black) 0%, var(--phyt-gray-800) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    color: var(--phyt-white);
    text-align: center;
}

.screenshot-label {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: var(--spacing-m);
}

.screenshot-description {
    font-size: 0.9em;
    opacity: 0.8;
    line-height: 1.6;
}

.mockup-info {
    margin-top: var(--spacing-l);
    text-align: center;
}

.mockup-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: var(--spacing-s);
    color: var(--phyt-black);
}

@media (prefers-color-scheme: dark) {
    .mockup-title {
        color: var(--phyt-white);
    }
}

.mockup-description {
    color: var(--phyt-gray-600);
    line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
    .mockup-description {
        color: var(--phyt-gray-400);
    }
}

/* ============================================
   PREMIUM FEATURES SECTION
   ============================================ */
.premium-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: var(--phyt-white) !important;
    position: relative;
    overflow: hidden;
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: premiumPulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes premiumPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.premium-section * {
    color: var(--phyt-white) !important;
}

.premium-section .section-title {
    color: var(--phyt-white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4),
                 0 4px 20px rgba(0, 0, 0, 0.3);
}

.premium-section .section-description {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4),
                 0 0 20px rgba(0, 0, 0, 0.3);
}

.premium-section .premium-title {
    color: var(--phyt-white) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.premium-section .premium-description {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    .premium-section {
        background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #533483 75%, #e94560 100%);
        background-size: 400% 400%;
    }
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
    gap: var(--spacing-xl);
    max-width: 850px;
    margin: 0 auto;
}

.premium-feature {
    text-align: center;
    padding: var(--spacing-xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.premium-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.premium-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-m);
    opacity: 0.9;
    stroke: var(--phyt-white);
    color: var(--phyt-white);
}

.premium-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: var(--spacing-s);
    color: var(--phyt-white) !important;
}

.premium-description {
    opacity: 0.8;
    line-height: 1.6;
    color: var(--phyt-white) !important;
}

.btn-premium {
    background-color: var(--phyt-white) !important;
    color: var(--phyt-black) !important;
    border: 2px solid var(--phyt-white) !important;
}

.btn-premium:hover {
    background-color: var(--phyt-gray-200) !important;
    color: var(--phyt-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ============================================
   DESIGN PHILOSOPHY SECTION
   ============================================ */
.philosophy-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(118, 75, 162, 0.03) 0%, rgba(240, 147, 251, 0.03) 50%, rgba(79, 172, 254, 0.03) 100%);
    background-size: 200% 200%;
    animation: gradientShift 25s ease infinite;
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    .philosophy-section {
        background: linear-gradient(180deg, var(--phyt-black) 0%, #0f0f1a 100%);
    }
    
    .philosophy-section::before {
        background: linear-gradient(45deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 50%, rgba(233, 69, 96, 0.05) 100%);
        background-size: 200% 200%;
    }
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(213px, 1fr));
    gap: var(--spacing-xl);
    max-width: 850px;
    margin: 0 auto;
}

.philosophy-item {
    text-align: center;
    padding: var(--spacing-xl);
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-m);
    opacity: 0.8;
}

.philosophy-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: var(--spacing-s);
    color: var(--phyt-black);
}

@media (prefers-color-scheme: dark) {
    .philosophy-title {
        color: var(--phyt-white);
    }
}

.philosophy-text {
    color: var(--phyt-gray-600);
    line-height: 1.6;
    font-size: 0.95em;
}

@media (prefers-color-scheme: dark) {
    .philosophy-text {
        color: var(--phyt-gray-400);
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ctaPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@media (prefers-color-scheme: dark) {
    .cta-section {
        background: linear-gradient(135deg, #1a1a2e 0%, #533483 50%, #e94560 100%);
        background-size: 300% 300%;
    }
}

.cta-title {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: var(--spacing-m);
    letter-spacing: -0.02em;
    color: var(--phyt-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4),
                 0 4px 20px rgba(0, 0, 0, 0.3),
                 0 0 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2em;
    }
}

.cta-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4),
                 0 0 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    margin: 0;
    border: none;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.6), transparent);
    border-radius: 2px;
}

@media (prefers-color-scheme: dark) {
    .section-divider {
        background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.3), transparent);
    }
    
    .section-divider::before {
        background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.6), transparent);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced card hover effects */
.feature-card {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    .feature-card:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }
}

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary::after {
    background: rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
    .btn-primary::after {
        background: rgba(0, 0, 0, 0.2);
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-l);
}

.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Lightbox for screenshots */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--phyt-white);
    font-size: 2em;
    cursor: pointer;
    background: none;
    border: none;
    padding: var(--spacing-s);
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */
.social-proof-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

@media (prefers-color-scheme: dark) {
    .social-proof-section {
        background: linear-gradient(180deg, var(--phyt-black) 0%, #0f0f1a 100%);
    }
}

.social-proof-content {
    max-width: 1200px;
    margin: 0 auto;
}

.app-store-badge-container {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

.app-icon-display {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon-standalone {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    object-fit: contain;
    background-color: transparent;
    transition: transform var(--transition-base);
}

.app-icon-standalone:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .app-icon-standalone {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }
}

.app-store-badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--phyt-black);
    color: var(--phyt-white);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-base);
    margin-bottom: var(--spacing-m);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.app-store-badge-modern:hover {
    background: var(--phyt-gray-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
    .app-store-badge-modern {
        background: var(--phyt-white);
        color: var(--phyt-black);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .app-store-badge-modern:hover {
        background: var(--phyt-gray-200);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }
}

.app-store-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 1;
}

.badge-text-modern {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.badge-label-modern {
    font-size: 10px;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.1;
}

.badge-name-modern {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.1;
    margin-top: 2px;
}

.rating-display-modern {
    margin-top: var(--spacing-l);
}

.stars-modern {
    font-size: 18px;
    color: #FFD700;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 2px;
}

.star {
    display: inline-block;
}

.rating-text-modern {
    font-size: 14px;
    color: var(--phyt-gray-600);
    font-weight: 500;
}

@media (prefers-color-scheme: dark) {
    .rating-text-modern {
        color: var(--phyt-gray-400);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1020px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--phyt-white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

@media (prefers-color-scheme: dark) {
    .testimonial-card {
        background-color: var(--phyt-gray-800);
    }
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--phyt-gray-700);
    margin-bottom: var(--spacing-l);
    font-style: italic;
}

@media (prefers-color-scheme: dark) {
    .testimonial-text {
        color: var(--phyt-gray-300);
    }
}

.testimonial-author {
    border-top: 1px solid var(--phyt-gray-200);
    padding-top: var(--spacing-m);
}

@media (prefers-color-scheme: dark) {
    .testimonial-author {
        border-top-color: var(--phyt-gray-700);
    }
}

.author-name {
    font-weight: 600;
    color: var(--phyt-black);
    margin-bottom: var(--spacing-xs);
}

@media (prefers-color-scheme: dark) {
    .author-name {
        color: var(--phyt-white);
    }
}

.author-title {
    font-size: 0.9em;
    color: var(--phyt-gray-600);
}

@media (prefers-color-scheme: dark) {
    .author-title {
        color: var(--phyt-gray-400);
    }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
}

@media (prefers-color-scheme: dark) {
    .comparison-section {
        background: linear-gradient(180deg, var(--phyt-black) 0%, #0f0f1a 100%);
    }
}

.comparison-table-container {
    max-width: 765px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--phyt-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: var(--spacing-2xl);
}

@media (prefers-color-scheme: dark) {
    .comparison-table {
        background-color: var(--phyt-gray-800);
    }
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--phyt-gray-100) 0%, var(--phyt-gray-200) 100%);
}

@media (prefers-color-scheme: dark) {
    .comparison-table thead {
        background: linear-gradient(135deg, var(--phyt-gray-800) 0%, var(--phyt-gray-700) 100%);
    }
}

.comparison-table th {
    padding: var(--spacing-xl);
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
}

.comparison-table .feature-column {
    text-align: left;
    width: 50%;
}

.comparison-table .plan-column {
    width: 25%;
}

.premium-column {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.plan-header {
    font-size: 1.3em;
    margin-bottom: var(--spacing-s);
}

.premium-header {
    color: var(--phyt-black);
    font-weight: 900;
}

@media (prefers-color-scheme: dark) {
    .premium-header {
        color: var(--phyt-white);
    }
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--phyt-gray-200);
}

@media (prefers-color-scheme: dark) {
    .comparison-table tbody tr {
        border-bottom-color: var(--phyt-gray-700);
    }
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr.premium-row {
    background-color: rgba(102, 126, 234, 0.03);
}

@media (prefers-color-scheme: dark) {
    .comparison-table tbody tr.premium-row {
        background-color: rgba(79, 172, 254, 0.05);
    }
}

.comparison-table td {
    padding: var(--spacing-l);
    text-align: center;
}

.feature-name {
    font-weight: 500;
    color: var(--phyt-black);
    text-align: left;
}

@media (prefers-color-scheme: dark) {
    .feature-name {
        color: var(--phyt-white);
    }
}

.plan-check {
    font-size: 1.5em;
    color: #10b981;
    font-weight: 700;
}

.plan-x {
    font-size: 1.5em;
    color: var(--phyt-gray-400);
}

.premium-check {
    color: #10b981;
}

.comparison-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

.trial-note {
    margin-top: var(--spacing-m);
    font-size: 0.9em;
    color: var(--phyt-gray-600);
}

@media (prefers-color-scheme: dark) {
    .trial-note {
        color: var(--phyt-gray-400);
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

@media (prefers-color-scheme: dark) {
    .faq-section {
        background: linear-gradient(180deg, var(--phyt-black) 0%, #0f0f1a 100%);
    }
}

.faq-container {
    max-width: 680px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-m);
    background-color: var(--phyt-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

@media (prefers-color-scheme: dark) {
    .faq-item {
        background-color: var(--phyt-gray-800);
    }
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-l) var(--spacing-xl);
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--phyt-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
}

@media (prefers-color-scheme: dark) {
    .faq-question {
        color: var(--phyt-white);
    }
}

.faq-question:hover {
    background-color: var(--phyt-gray-100);
}

@media (prefers-color-scheme: dark) {
    .faq-question:hover {
        background-color: var(--phyt-gray-700);
    }
}

.faq-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--spacing-m);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 var(--spacing-xl);
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-xl) var(--spacing-l) var(--spacing-xl);
}

.faq-answer p {
    color: var(--phyt-gray-600);
    line-height: 1.7;
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    .faq-answer p {
        color: var(--phyt-gray-400);
    }
}

.faq-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
    color: var(--phyt-gray-600);
}

@media (prefers-color-scheme: dark) {
    .faq-footer {
        color: var(--phyt-gray-400);
    }
}

.faq-footer a {
    color: var(--phyt-black);
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    .faq-footer a {
        color: var(--phyt-white);
    }
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
    padding: var(--spacing-3xl) var(--spacing-l);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    color: var(--phyt-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-section .section-title,
.stats-section .section-description {
    color: var(--phyt-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3.5em;
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--spacing-m);
    color: var(--phyt-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5em;
    }
}

.stat-label {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FLOATING CTA BUTTON
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    background-color: var(--phyt-black);
    color: var(--phyt-white);
    padding: var(--spacing-m) var(--spacing-xl);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
    font-weight: 600;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    background-color: var(--phyt-gray-800);
}

@media (prefers-color-scheme: dark) {
    .floating-cta {
        background-color: var(--phyt-white);
        color: var(--phyt-black);
    }
    
    .floating-cta:hover {
        background-color: var(--phyt-gray-200);
    }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: var(--spacing-l);
        right: var(--spacing-l);
        padding: var(--spacing-s) var(--spacing-l);
        font-size: 14px;
    }
    
    .floating-cta span {
        display: none;
    }
}

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */
.footer-content {
    max-width: 1020px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
}

.footer-newsletter {
    text-align: left;
}

@media (max-width: 768px) {
    .footer-newsletter {
        text-align: center;
    }
}

.footer-newsletter-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: var(--spacing-s);
    color: var(--phyt-black);
}

@media (prefers-color-scheme: dark) {
    .footer-newsletter-title {
        color: var(--phyt-white);
    }
}

.footer-newsletter-description {
    color: var(--phyt-gray-600);
    margin-bottom: var(--spacing-l);
    font-size: 0.95em;
}

@media (prefers-color-scheme: dark) {
    .footer-newsletter-description {
        color: var(--phyt-gray-400);
    }
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-s);
    margin-bottom: var(--spacing-s);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-m) var(--spacing-l);
    border: 2px solid var(--phyt-gray-300);
    border-radius: var(--radius-md);
    font-size: 16px;
    background-color: var(--phyt-white);
    color: var(--phyt-black);
    transition: all var(--transition-base);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--phyt-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .newsletter-input {
        background-color: var(--phyt-gray-800);
        border-color: var(--phyt-gray-600);
        color: var(--phyt-white);
    }
    
    .newsletter-input:focus {
        border-color: var(--phyt-white);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    }
}

.newsletter-submit {
    white-space: nowrap;
}

.newsletter-privacy {
    font-size: 0.85em;
    color: var(--phyt-gray-500);
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    .newsletter-privacy {
        color: var(--phyt-gray-500);
    }
}

