/* Marketing layout styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

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

/* Navbar Desktop Styles */
.marketing-nav {
    width: 100%;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    background: var(--navbar-bg, transparent);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    max-width: 100%;
    width: 100%;
}

.nav-left {
    display: flex;
    gap: 40px;
    align-items: center;
}

.brand-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}
.brand-logo span {
    color: var(--primary);
}

/* Navbar Desktop Styles */
.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.23);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}
.btn-outline:hover {
    background: rgba(0,0,0,0.02);
    border-color: #d1d5db;
}

/* Gradient Text */
.gradient-text {
    color: var(--text-main);
    font-weight: 800;
}

/* Background Animated Blobs (Removed for sleek look) */
.bg-blobs {
    display: none;
}

/* New Bento Steps */
.steps-bento .bento-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}
.steps-bento .bento-card:hover {
    transform: translateY(-3px) !important;
    border-color: #d1d5db;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.bento-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bento-content {
    padding: 32px;
    text-align: left;
}
.step-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
}
.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.bento-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ultimate Bento Features */
.bento-grid-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}
.bento-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.2s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.bento-box:hover {
    transform: translateY(-3px);
    border-color: #d1d5db;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-medium {
    grid-column: span 1;
}
.bento-wide {
    grid-column: span 3;
}
.bento-box-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.bento-box-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Final CTA */
nav {
    display: flex;
    justify-content: center;
}
.brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-main);
}
.brand span {
    color: var(--primary);
}
.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 20px 80px 20px;
}
.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

/* Glassmorphism Mockups */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0; /* Changed to 0 for overlap */
    margin-top: 100px;
}
.mockup-frame {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border-radius: 24px; /* More rounded */
    backdrop-filter: blur(20px);
    background: rgba(25, 28, 41, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 400px;
    text-align: left;
    color: #fff;
}
.mockup-frame:first-child {
    transform: perspective(1000px) rotateY(10deg) translateX(40px) scale(0.95);
    z-index: 1;
}
.mockup-frame:last-child {
    transform: perspective(1000px) rotateY(-10deg) translateX(-40px) scale(1.05);
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.15);
}
.mockup-frame:hover {
}
.mockup-frame:nth-child(2):hover {
    transform: perspective(1000px) rotateY(0deg) translateY(10px);
}

/* Mac Window Top Bar */
.mockup-header {
    background: #2a2a35;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mac-dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

/* Fake Discord UI */
.discord-chat { padding: 20px; font-size: 0.9rem; }
.discord-msg { display: flex; gap: 12px; margin-bottom: 16px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #5865F2; display:flex; align-items:center; justify-content:center; font-weight:bold; }
.bot-avatar { background: var(--primary); }
.msg-content h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 1rem; color: #fff;}
.bot-tag { background: #5865F2; font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; font-weight: bold; }
.emoji-code { background: #2f3136; padding: 8px; border-radius: 4px; font-family: monospace; letter-spacing: 2px; display: inline-block; margin-top: 8px; border: 1px solid rgba(255,255,255,0.1); }

/* Fake Roblox UI */
.roblox-ui { padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.roblox-modal { background: #ffffff; color: #000; border-radius: 8px; padding: 24px; width: 100%; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.rbx-icon { font-size: 2rem; color: #00b06f; margin-bottom: 10px; }
.rbx-btn { background: #00b06f; color: white; border: none; padding: 12px; width: 100%; border-radius: 4px; font-weight: bold; margin-top: 16px; font-size: 1rem;}

/* Features Section */
.section-title { text-align: center; font-size: 2.5rem; margin: 100px 0 20px 0; color: var(--text-main); }
.section-sub { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 60px auto; font-size: 1.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 60px;}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.feature-icon {
    width: 50px; height: 50px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Language Switcher */
.lang-switch { display: flex; gap: 10px; justify-content: center; margin-top: 80px; padding-bottom: 40px; }
.lang-switch a { color: var(--text-muted); text-decoration: none; padding: 6px 12px; border-radius: 6px; font-weight: 500; }
.lang-switch a.active { color: var(--primary); background: rgba(249, 115, 22, 0.1); }

footer { text-align: center; border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-muted); margin-top: 80px; }

/* New Bento Steps */
.steps-bento .bento-card {
    background: var(--card-bg);
    border-radius: 32px;
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.steps-bento .bento-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.bento-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bento-content {
    padding: 32px;
    text-align: left;
}
.step-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
}
.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.bento-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ultimate Bento Features */
.bento-grid-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}
.bento-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 32px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}
.bento-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-medium {
    grid-column: span 1;
}
.bento-wide {
    grid-column: span 3;
}
.bento-box-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.bento-box-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Final CTA */
.cta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #09090b, #18181b);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    margin: 120px 0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent 70%), radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.2), transparent 70%);
    pointer-events: none;
}
.cta-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -1px;
}
.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}
.cta-banner .btn-primary:hover {
    box-shadow: 0 10px 20px var(--primary-glow);
    transform: translateY(-3px);
}
.cta-banner .btn {
    border-radius: 100px; /* Pill buttons in CTA */
}

/* Mobile Responsiveness for Marketing Pages */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    /* Navbar */
    .mobile-menu-btn { display: block; }
    
    .nav-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-links, .nav-buttons {
        display: none !important; /* Hide by default, override desktop flex */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: var(--navbar-bg);
        padding: 20px 0;
        position: absolute;
        top: 80px;
        left: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active, .nav-buttons.active {
        display: flex !important;
    }
    
    /* When active, nav-buttons should be below nav-links */
    .nav-buttons.active {
        top: 260px; /* rough estimate to push it down below links */
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding-bottom: 20px;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    /* Hero */
    .hero {
        padding: 80px 20px 40px 20px;
    }
    .hero h1 {
        font-size: 2rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Grids */
    .grid-2, .grid-3, .grid-4, .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .bento-box.wide, .bento-box.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Mockups */
    .mockup-container {
        flex-direction: column;
        margin-top: 40px;
        align-items: center;
    }
    
    .mockup-frame {
        max-width: 100%;
        margin-bottom: -20px; /* Overlap trick */
    }
    
    /* CTA */
    .cta-banner {
        padding: 40px 20px;
        margin: 60px 0;
        border-radius: 20px;
    }
    .cta-banner h2 {
        font-size: 2rem;
    }
}
