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

:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #ef4444;
    --accent-dark: #dc2626;
    --dark-bg: #0a1628;
    --dark-surface: #1e293b;
    --dark-card: #162032;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --body-bg: #f1f5f9;
    --surface: #ffffff;
    --border: #e2e8f0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--body-bg);
    overflow-x: hidden;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #0a1628 0%, #1e293b 100%);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo i {
    font-size: 2rem;
    color: var(--primary);
    animation: revEngine 2s ease-in-out infinite;
}

@keyframes revEngine {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

header h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

header nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header nav a i {
    font-size: 0.9rem;
}

header nav a:hover,
header nav a.active {
    color: #fff;
    background-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 40%, #1a3a5c 70%, #1e293b 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-delay: 3s;
    background: rgba(239, 68, 68, 0.06);
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 30%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.store-badge {
    height: 65px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.store-badge:hover {
    transform: scale(1.08) translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 250px;
    height: 450px;
    background: linear-gradient(145deg, #1e293b, #0f2847);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    animation: phoneFloat 3s ease-in-out infinite;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

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

.phone-mockup i {
    font-size: 8rem;
    color: rgba(59, 130, 246, 0.3);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--body-bg) 0%, #fff 100%);
}

.features h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 3rem;
    font-weight: 300;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:nth-child(even) .feature-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h4 {
    color: var(--dark-bg);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f2847 100%);
    color: white;
}

.how-it-works h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.how-it-works .section-subtitle {
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--body-bg) 0%, #dbeafe 100%);
    position: relative;
}

.about h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
    font-weight: 800;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    text-align: center;
    color: #475569;
    line-height: 1.8;
}

/* Policy Pages */
.policy {
    padding: 4rem 0;
    background-color: white;
    min-height: 60vh;
}

.policy .container {
    max-width: 900px;
}

.policy h2 {
    color: var(--dark-bg);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--primary);
    font-weight: 800;
}

.policy h3 {
    color: var(--dark-bg);
    font-size: 1.9rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.policy p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.policy ul {
    margin-bottom: 1.8rem;
    padding-left: 2.5rem;
}

.policy li {
    margin-bottom: 0.8rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.policy a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.policy a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.policy strong {
    color: #333;
    font-weight: 700;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a1628 0%, #0f1f36 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-links a.partner-login {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links a.partner-login:hover {
    opacity: 1;
}

footer p {
    text-align: center;
    opacity: 0.5;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .cta-buttons {
        justify-content: center;
    }

    .hero-graphic {
        display: none;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav {
        margin-top: 1rem;
        width: 100%;
    }

    header nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features h3,
    .about h3,
    .how-it-works h3 {
        font-size: 2.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .policy h2 {
        font-size: 2.2rem;
    }

    .policy h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: row;
    }

    header h1 {
        font-size: 1.6rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features,
    .about,
    .how-it-works {
        padding: 3rem 0;
    }

    .features h3,
    .about h3,
    .how-it-works h3 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .store-badge {
        height: 50px;
    }

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

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

    .stat-item h4 {
        font-size: 2.2rem;
    }
}
