:root {
    --primary: #6659F2;
    --accent: #FFD900;
    --bg-dark: #1A1A33;
    --bg-light: #F2F2FF;
    --text-main: #1A1A33;
    --text-muted: #666680;
    --gradient: linear-gradient(135deg, #6659F2 0%, #8A80F8 100%);
    --card-shadow: 0 10px 30px rgba(102, 89, 242, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Background Circles */
.circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.c1 {
    width: 500px;
    height: 500px;
    background: #6659F2;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.c2 {
    width: 400px;
    height: 400px;
    background: #FFD900;
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.c3 {
    width: 300px;
    height: 300px;
    background: #00C6FF;
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {

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

    50% {
        transform: translate(30px, -30px);
    }
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

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

.github-btn {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.github-btn:hover {
    transform: scale(1.05);
    color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px;
    /* Nav height */
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(102, 89, 242, 0.3);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(102, 89, 242, 0.4);
}

.secondary-btn {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.secondary-btn:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
}


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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 8px solid #f0f0f5;
    position: relative;
    overflow: hidden;
}

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

@keyframes float-card {

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

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

.screen {
    padding: 20px;
    height: 100%;
    background: linear-gradient(to bottom, #fdfdff, #ffffff);
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
}

.card-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mock-card {
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 15px;
}

.mock-card i {
    width: 40px;
    height: 40px;
    background: #F0F0FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.mock-card h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.mock-card small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.highlight-card {
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

/* Scan Line Animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.floating-fab {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(102, 89, 242, 0.4);
}

/* Features Grid */
.features {
    padding: 5rem 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(102, 89, 242, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Dual Icon Style for AI Feature */
.dual-icon {
    width: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #00C6FF 100%);
}

.dual-icon i {
    font-size: 1.2rem;
}

.icon-divider {
    font-weight: 800;
    font-size: 1rem;
    opacity: 0.7;
}

/* Showcase Section */
.showcase {
    background: var(--bg-dark);
    color: white;
    padding: 6rem 10%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
}

.showcase h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.showcase p {
    max-width: 600px;
    margin: 0 auto 4rem auto;
    opacity: 0.8;
    font-size: 1.2rem;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat .label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
footer {
    padding: 3rem 10%;
    background: white;
    text-align: center;
}

.socials {
    margin: 1.5rem 0;
}

.socials a {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0 10px;
    transition: color 0.3s;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

    .hero-visual {
        margin-top: 50px;
        width: 100%;
        transform: scale(0.9);
    }

    .stats-grid {
        gap: 2rem;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 51, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 5%;
    z-index: 10000;
    transform: translateY(100%);
    animation: slideUp 0.5s ease-out 1s forwards;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
    display: none;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.cookie-text i {
    font-size: 2rem;
    color: var(--accent);
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.cookie-text a:hover {
    color: #fff;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.cookie-btn.primary-btn {
    background: var(--accent);
    color: var(--bg-dark);
}

.cookie-btn.primary-btn:hover {
    background: #fff;
}

.cookie-btn.secondary-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    min-height: 100vh;
    padding: 120px 10% 4rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.legal-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f5;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 i {
    color: var(--primary);
    font-size: 1.2rem;
}

.legal-section h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 1.5rem 0 0.5rem;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 1rem 0 1rem 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: var(--accent);
}

.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f5;
    text-align: center;
}

.legal-back .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 5% 2rem;
    }

    .legal-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }
}

/* ===== FOOTER LINKS ===== */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Logo as link */
.logo {
    text-decoration: none;
}