:root {
    /* Colors */
    --primary: #fd5922;
    --primary-dark: #e04f1f;
    --secondary: #ec4899;
    --background: #1e2735;
    --surface: #2d3848;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Components */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);

}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);

}

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--text-muted);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

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

.grizzly-text {
    color: #fd5922;
}

.split-text {
    color: white;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo .split-text {
    font-size: 1.2rem;
    /* Smaller than Grizzly */
}

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    gap: 6px;
    align-items: center;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.nav-links .btn-primary.small {
    padding: 10px 24px;
    color: white;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 95px;
}

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

.hero-content h1 {
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-content h1 .grizzly-text {
    font-size: 5.5rem;
    /* Increased size */
}

.hero-content h1 .split-text {
    font-size: 3.35rem;
    /* Decreased size */
    display: block;
    margin-top: -6px;
    margin-left: 5px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.5rem;
    color: var(--text);
}

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

/* Hero Image & Mockup */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup-main {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    max-height: 580px;
    width: auto;
}

.blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(253, 89, 34, 0.25) 0%, rgba(30, 39, 53, 0) 70%);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(60px);
    /* Additional blur for smoothness */
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
}

/* Feature Screenshots */
.screenshots-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.phone-frame {
    width: 300px;
    height: auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 8px solid #334155;
    background: #000;
}

.screen-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Privacy Page */
.privacy-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.privacy-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text);
}

.privacy-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.privacy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.privacy-content li {
    margin-bottom: 8px;
}

.privacy-content a {
    color: var(--primary);
}

.privacy-content a:hover {
    text-decoration: underline;
}

/* Showcase Section */
.showcase {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.showcase .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 80px;
    position: relative;
    z-index: 1;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

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

.btn-text {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-text:hover {
    gap: 12px;
}

.showcase-visuals {
    flex: 1;
    height: 300px;
    position: relative;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.floating-card.c1 {
    width: 200px;
    top: 20%;
    left: 10%;
    animation: float 6s infinite ease-in-out;
}

.floating-card.c2 {
    width: 160px;
    bottom: 20%;
    right: 10%;
    animation: float 8s infinite ease-in-out reverse;
}

@keyframes float {

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

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

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar .fill {
    width: 75%;
    height: 100%;
    background: var(--secondary);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 48px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: black;
    padding: 12px 24px;
    border-radius: 12px;
    transition: var(--transition);
}

.store-btn:hover {
    transform: translateY(-5px);
    background: #f0f0f0;
}

.store-icon {
    font-size: 2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text .small {
    font-size: 0.75rem;
    font-weight: 500;
}

.store-text .big {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

/* Responsive */
@media (max-width: 900px) {
    :root {
        --header-height: 70px;
    }

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

    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .stats {
        justify-content: center;
    }

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

    .showcase .container {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .showcase-visuals {
        width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 30px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        visibility: visible;
        right: 0;
        /* Ensuring it doesn't break if right was set elsewhere */
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Image-based Store Button */
.store-btn-link {
    display: inline-block;
    transition: var(--transition);
}

.store-btn-link:hover {
    transform: translateY(-5px);
}

.store-btn-img {
    height: 60px;
    width: auto;
    display: block;
}