/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E85C4A;
    --primary-dark: #D14A39;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --background: #FFFFFF;
    --background-warm: #FEF7F0;
    --border: #E5E5E5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.feature-card-highlight {
    background: linear-gradient(135deg, var(--background-warm) 0%, #FFF5F0 100%);
    border-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.feature-phone {
    width: 120px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-cta {
    background: var(--primary);
    color: white !important;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin-top: 8px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 24px 60px;
    background: linear-gradient(180deg, var(--background-warm) 0%, var(--background) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8A65 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* App Store Button */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-store-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.store-icon {
    font-size: 28px;
}

.store-icon::before {
    content: '';
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-small {
    font-size: 11px;
    opacity: 0.9;
}

.store-large {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.app-store-btn-white {
    background: white;
    color: #000;
}

/* Hero Phones */
.hero-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -40px;
    position: relative;
}

.phone {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
}

.phone-left {
    width: 180px;
    transform: rotate(-8deg) translateX(40px);
    z-index: 1;
}

.phone-center {
    width: 220px;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(232, 92, 74, 0.3);
}

.phone-right {
    width: 180px;
    transform: rotate(8deg) translateX(-40px);
    z-index: 1;
}

.phone:hover {
    transform: scale(1.02);
}

.phone-center:hover {
    transform: scale(1.05);
}

/* Sections */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

/* Features */
.features {
    padding: 100px 24px;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* How It Works */
.how-it-works {
    padding: 100px 24px;
    background: var(--background-warm);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.steps-grid-6 {
    grid-template-columns: repeat(3, 1fr);
}

.step {
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.step-image {
    width: 100%;
    max-width: 200px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* FAQ */
.faq {
    padding: 100px 24px;
    background: var(--background);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    background: white;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA */
.cta {
    padding: 100px 24px;
    background: var(--primary);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 48px 24px;
    background: #1A1A1A;
    color: white;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.sticky-cta-btn {
    display: block;
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {

    .features-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-phones {
        flex-direction: column;
        gap: 20px;
    }

    .phone-left,
    .phone-right {
        display: none;
    }

    .phone-center {
        width: 280px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .sticky-cta {
        display: block;
    }

    .footer {
        padding-bottom: 100px;
    }
}