:root {
    --primary: #C5CAB3;
    --primary-dim: #A8AD99;
    --primary-light: #E0E5CE;
    --bg: #0F0F0F;
    --surface: #1C1C1C;
    --surface-glass: rgba(28, 28, 28, 0.7);
    --text: #F4F4F4;
    --text-muted: #AAAAAA;
    --accent: #FF9F1C;

    --font-main: 'Outfit', sans-serif;

    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease-elastic), box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(197, 202, 179, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--surface);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    max-width: 600px;
}

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

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

.highlight-secondary {
    background: linear-gradient(120deg, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

.stats-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.pill {
    background: var(--surface);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Visual & Mockup */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* App Screenshot Mockup */
.app-screenshot {
    max-width: 320px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.5));
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.app-screenshot:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Decorative Blobs */
.decorative-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    right: -100px;
    animation: float 10s infinite ease-in-out;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 10%;
    right: 30%;
    animation: float 8s infinite ease-in-out reverse;
}

@keyframes float {

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

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

/* Features Section */
.features {
    padding: 5rem 5%;
    background: #161616;
}

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

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

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

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 24px;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-muted);
}

.footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(15, 15, 15, 0.9);
        backdrop-filter: blur(10px);
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 140px;
        /* More space for stacked navbar */
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }

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

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

    .cta-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .stats-pills {
        justify-content: center;
    }

    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }

    .features,
    .feature-showcase {
        padding: 3rem 5%;
    }

    .legal-page {
        padding-top: 160px;
    }
}


/* Feature Showcase Section */
.feature-showcase {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(180deg, #161616 0%, var(--bg) 100%);
}

.feature-showcase.reverse {
    direction: rtl;
}

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

.showcase-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.showcase-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list .check {
    background: var(--surface);
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.showcase-visual .app-screenshot {
    max-width: 350px;
    transform: rotate(3deg);
}

.showcase-visual .app-screenshot:hover {
    transform: rotate(0deg) scale(1.02);
}

@media (max-width: 900px) {
    .feature-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .feature-showcase.reverse {
        direction: ltr;
    }

    .feature-list {
        align-items: center;
        text-align: left;
    }
}

.legal-page {
    padding-top: 120px;
    padding-bottom: 5rem;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    color: #CCC;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.legal-content strong {
    color: var(--text);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    text-align: center;
    background: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-btn:hover {
    background: var(--text);
    color: #000;
    transform: translateY(-3px);
}