/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #306AAB;
    --accent-orange: #FF8C42;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

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

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

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

.cta-button {
    background: var(--accent-orange);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #306AAB 0%, #4A8CD6 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

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

.highlight {
    color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 20px;
    max-width: 640px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.button {
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    display: inline-block;
}

.button-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.button-primary:hover {
    background: #FF9D5C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.down-arrow {
    margin-left: 4px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(4px);
    }
    60% {
        transform: translateY(2px);
    }
}

.platform-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

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

.feature-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
}

.feature-image {
    position: relative;
    display: flex;
    justify-content: center;
}

/* iPhone Mockup Frame */
.phone-mockup {
    position: relative;
    width: 300px;
    height: auto;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 36px;
    box-shadow: 
        0 0 0 2px #2d2d2d,
        0 0 0 4px #1a1a1a,
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.phone-mockup:hover {
    transform: translateY(-8px);
}

/* iPhone Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

/* Notch inner details */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #2d2d2d;
    border-radius: 2px;
    z-index: 3;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: auto;
    background: #000;
    border-radius: 28px;
    overflow: hidden;
}

.screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
}

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

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

.step {
    text-align: center;
}

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

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 100px 0;
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* Custom Web Button - Match official badge height */
.download-button.web-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 2px solid #e5e7eb;
    padding: 8px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    height: 54px;
    box-sizing: border-box;
    margin-right: 16px;
}

.download-button.web-button:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 28px;
    line-height: 1;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.download-label {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.download-platform {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Official Store Badges */
.store-badge-link {
    display: inline-block;
    transition: transform 0.3s, opacity 0.3s;
}

.store-badge-link:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

.store-badge {
    display: block;
    width: auto;
}

/* App Store badge - standard height */
.store-badge-link.app-store .store-badge {
    height: 60px;
}

/* Google Play badge - taller to account for built-in padding, adjusted for alignment */
.store-badge-link.google-play .store-badge {
    height: 90px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-links {
    margin: 15px 0;
    font-size: 14px;
}

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

.footer-links a:hover {
    color: #FFA726;
}

.footer-links .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 42px;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-reverse {
        direction: ltr;
    }

    .screenshot {
        max-width: 100%;
    }

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

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .download-button.web-button {
        margin-right: 0;
        margin-bottom: 8px;
        width: 200px;
        justify-content: center;
        align-self: center;
    }

    .store-badge-link {
        display: flex;
        justify-content: center;
        align-self: center;
    }

    .store-badge-link.app-store .store-badge,
    .store-badge-link.google-play .store-badge {
        width: 200px;
        height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.cta-button) {
        display: none;
    }

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

    .feature-title {
        font-size: 24px;
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

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

.feature,
.step {
    animation: fadeInUp 0.6s ease-out;
}

