/* Base Styles and Reset */
:root {
    /* Colors from AppTheme */
    --primary-blue: #38BDF8;
    --primary-accent: #F43F5E;
    --background: #F8FAFC;
    --surface: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --glass-base: rgba(100, 116, 139, 0.12);
    --glass-stroke: rgba(148, 163, 184, 0.2);

    /* Metrics */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;

    /* Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

ul {
    list-style: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent), #FB7185);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.4);
}

.btn-app-store {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    gap: 12px;
    transition: transform 0.2s;
}

.btn-app-store i {
    font-size: 28px;
}

.btn-app-store span {
    font-size: 10px;
    line-height: 1.2;
    text-align: left;
}

.btn-app-store strong {
    font-size: 16px;
    display: block;
}

.btn-app-store:hover {
    transform: scale(1.02);
}

.btn-app-store.inverted {
    background: white;
    color: black;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: sticky;
    top: 0;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-stroke);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-secondary);
}

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

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Gradient Background Blob */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #0F172A, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-badges {
    margin-top: 32px;
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-item i {
    color: var(--success, #10B981);
    font-size: 18px;
}

/* Phone Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    /* Adjust based on aspect ratio */
    background: #000;
    border-radius: 48px;
    padding: 12px;
    box-shadow:
        0 24px 48px -12px rgba(15, 23, 42, 0.25),
        0 0 0 2px #e2e8f0 inset;
    position: relative;
    z-index: 10;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

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

/* Floating Cards Animation */
.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

.floating-card span {
    display: block;
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-1 {
    top: 15%;
    right: -10px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--background);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.2);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.icon-box.blue {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary-blue);
}

.icon-box.red {
    background: rgba(244, 63, 94, 0.1);
    color: var(--primary-accent);
}

/* Add distinct colors for others */
.icon-box.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.icon-box.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 18px;
}

/* Footer */
footer {
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-stroke);
}

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

.footer-brand .logo-icon.small {
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 8px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

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

.copyright {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile nav for now */

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p,
    .trust-badges {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        margin-top: 40px;
    }

    .card-1 {
        top: 10%;
        right: 10px;
    }

    .card-2 {
        bottom: 10%;
        left: 10px;
    }

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