@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --bg: #000000; /* Pure black for obsidian premium look */
    --fg: #ffffff;
    --accent: #2997ff; 
    --accent-rgb: 41, 151, 255;
    --muted: #a1a1a6; /* Brighter muted for dark mode legibility */
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #0a0a0b; 
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --hero-bg: url('../assets/premium-hero-dark-v2.png');
    --bg-rgb: 0, 0, 0;
}

.light-mode {
    --bg: #ffffff;
    --fg: #000000;
    --accent: #007AFF;
    --accent-rgb: 0, 122, 255;
    --muted: #666666;
    --border: rgba(0, 0, 0, 0.1);
    --glass: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-bg: #F9F9F9;
    --hero-bg: url('../assets/hero-bg-new.png');
    --bg-rgb: 255, 255, 255;
}

.light-mode .hero::before {
    filter: brightness(0.85) saturate(1.2); /* Darkened slightly to make graphics pop in light mode */
    opacity: 0.75; /* Significantly increased visibility */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    transition: none;
    line-height: 1.5;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Safe zone side margins as requested (16px-24px range) */
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    letter-spacing: -0.04em;
    font-weight: 700;
}

.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 800px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 48px; /* Offset for announcement bar initially */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s ease;
    background: transparent !important; /* Force transparency */
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 12px 0;
    top: 0;
    background: rgba(var(--bg-rgb, 5, 5, 5), 0.85) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--fg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--fg);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--card-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 24px;
    padding: 8px;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--fg);
    font-size: 1.25rem;
    font-weight: 600;
}

.mobile-nav-links a.btn-primary {
    color: var(--bg) !important;
}

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

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btn-login-nav {
        display: none !important;
    }
    /* Logo adjustments to fit toggle, lang, theme, hamburger */
    .nav-content {
        gap: 8px;
    }
    .nav-actions {
        margin-left: auto;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 12px 0; /* Vertical breathing room */
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 6px 18px; /* High-fidelity ultra-slim padding */
    border-radius: 8px; /* Very clean, minimalist radius */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    min-height: 40px; /* Reduced from 44px for maximum sleekness */
    border: 1px solid transparent;
}

@media (max-width: 768px) {
    .btn {
        padding: 10px 20px; /* Reduced as requested */
        font-size: 0.9rem;
        min-height: 42px;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 8px;
    }
    .nav-actions .btn {
        padding: 8px 14px; /* Scaled down for mobile */
        font-size: 0.8rem;
        min-height: 38px;
    }
}

.btn-primary {
    background: var(--fg);
    color: var(--bg);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.1);
}

.theme-toggle,
.lang-toggle {
    background: none;
    border: none;
    color: var(--fg);
    cursor: pointer;
    font-size: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toggle:hover,
.lang-toggle:hover {
    background: var(--glass);
    transform: scale(1.1);
}

.theme-toggle, .lang-toggle {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 160px; /* Reduced to restore desktop balance */
    padding-bottom: 160px; /* Consistent bottom padding */
    position: relative;
    overflow: hidden; /* Prevent marquee/shadow spill */
    /* Deep Obsidian Dark Mode: Extremely subtle image integration */
    background: radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.04) 0%, transparent 60%),
                linear-gradient(to bottom, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 1) 100%), 
                var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.light-mode .hero {
    /* Light mode: Pure image visibility with bottom fade */
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4)), var(--hero-bg);
}

/* We can remove ::before if we put it on hero, but let's keep it as an extra texture layer with higher opacity */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 40%, rgba(112, 0, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

/* Bottom Fade to handle transition to next sections */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 10;
    max-width: 1200px; /* Better control for desktop */
}

.hero-content {
    max-width: 850px; /* Force better text wrapping on desktop */
}

.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    z-index: 3; /* Glow slightly behind text but above bg */
    opacity: 0.3;
    background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.25rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    position: relative;
    z-index: 11;
}

.hero .subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 40px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero {
        min-height: 100dvh;
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: radial-gradient(circle at center, rgba(41, 151, 255, 0.05) 0%, transparent 60%), 
                    linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 1)),
                    var(--hero-bg);
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
        margin-top: 0;
        border-radius: 0;
    }
    .hero-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px 20px 100px; /* Space for marquee at bottom */
    }
    .hero .hero-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
        line-height: 1.15;
        white-space: normal;
        padding: 0 10px;
    }
    .hero .subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
        padding: 0 16px;
    }
    .hero-btns-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        max-width: 320px;
        gap: 18px !important;
    }
    .hero .hero-marquee {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(var(--bg-rgb), 0.5); /* Semi-transparent inside gradient */
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 16px 0;
        margin: 0;
        z-index: 100;
    }
    .marquee-content span {
        font-size: 1rem !important; /* EXACTLY matches button text size */
        margin-right: 30px;
        color: var(--fg);
        opacity: 0.9;
    }
}

.hero-highlight {
    background: linear-gradient(135deg, #60a5fa, #a855f7); /* Vibrant colors for dark mode */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 25px rgba(96, 165, 250, 0.4));
}

.light-mode .hero-highlight {
    background: linear-gradient(135deg, #007AFF, #0056b3) !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: none !important;
    font-weight: 800;
}

.hero-visual {
    position: absolute;
    left: 50%;
    top: 60%; /* Move glow further down as requested */
    transform: translate(-50%, -50%); /* Mobilde merkeze al */
    width: 120%; /* Even bigger glow */
    height: 120%;
    z-index: 1;
    opacity: 0.4;
    background: radial-gradient(circle at center, var(--accent) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}

/* Hero and Global Marquee Base Styling */
.marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(var(--bg-rgb), 0.5);
    backdrop-filter: blur(8px);
    margin-top: 0;
}

@media (max-width: 768px) {
    .marquee {
        padding: 20px 0;
    }
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-size: 1.15rem; /* Reduced from 1.5rem to match subtitle better */
    font-weight: 500;
    color: var(--muted);
    margin-right: 60px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Features (Bento Grid) */
.section {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 140px 0 80px; /* High vertical padding for better spacing */
    }
}

.section-head {
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .section-head {
        margin-bottom: 40px;
    }
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
}

.bento-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bento-item:hover {
    border-color: var(--accent);
}

.bento-item.large {
    grid-column: span 8;
}

.bento-item.medium {
    grid-column: span 4;
}

.bento-item.small {
    grid-column: span 6;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bento-item {
        grid-column: span 1 !important;
        padding: 30px 20px;
    }
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--accent);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pricing-card {
        padding: 32px 20px;
        border-radius: 24px;
        transform: none !important; /* Avoid scaling on mobile for better stacking */
    }
    .price {
        font-size: 2.8rem;
        margin: 16px 0;
    }
    .pricing-card .btn {
        width: 100%;
    }
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 48px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    background: var(--fg);
    color: var(--bg);
    transform: scale(1.05);
}

.price {
    font-size: 4rem;
    font-weight: 800;
    margin: 24px 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}

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

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

@media (max-width: 768px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Campaign Popup */
#campaign-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.light-mode #campaign-popup {
    background: rgba(255, 255, 255, 0.4);
}

#campaign-popup.active {
    opacity: 1;
}

.popup-content {
    background: var(--card-bg);
    border: 1px solid var(--accent);
    padding: 40px;
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

#campaign-popup.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--glass);
    border: none;
    color: var(--fg);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 1000px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 20px 32px;
    border-radius: 20px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

#cookie-banner.active {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        bottom: 12px;
    }
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 600px;
    text-align: left;
}

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

.cookie-actions {
    display: flex;
    gap: 12px;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--fg);
}

.hero .btn-outline {
    color: var(--fg) !important;
    border-color: var(--border);
}

.light-mode .hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    border-color: var(--fg);
    background: rgba(255, 255, 255, 0.05);
}

.light-mode .btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 24px;
    }
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 24px;
    transition: all 0.4s ease;
    text-align: left;
}

.testimonial-card:hover {
    background: var(--card-bg);
    border-color: var(--accent);
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.6;
    font-style: italic;
    color: var(--fg);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* --- CTA SECTION & ENHANCED BTNS --- */
.hero-btns { margin-top: 10px; }
.btn-lg {
    padding: 16px 36px !important;
    font-size: 1.1rem !important;
    border-radius: 12px;
}
.btn-cta {
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%) !important;
    color: white !important;
    box-shadow: 0 10px 40px rgba(0, 122, 255, 0.3);
    border: none;
}
.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.4);
}
.cta-banner { padding: 80px 0; }
.cta-card {
    background: #09090b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.light-mode .cta-card {
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.cta-tag { color: #007AFF; font-weight: 800; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 24px; }
.cta-title { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 24px; color: #fff; }
.light-mode .cta-title { color: #0f172a; }
.cta-desc { font-size: 1.15rem; color: #94a3b8; margin-bottom: 40px; max-width: 600px; }
.light-mode .cta-desc { color: #64748b; }
.cta-visual { flex: 0 0 280px; height: 280px; background: rgba(255,255,255,0.03); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.light-mode .cta-visual { background: rgba(0,0,0,0.03); }
.cta-icon { width: 100px; height: 100px; color: #007AFF; position: relative; z-index: 2; filter: drop-shadow(0 0 20px rgba(0, 122, 255, 0.4)); }
.cta-glow { position: absolute; width: 200%; height: 200%; background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 60%); z-index: 1; }
.light-mode .cta-glow { background: radial-gradient(circle, rgba(0, 122, 255, 0.08) 0%, transparent 60%); }
@media (max-width: 992px) {
    .cta-card { flex-direction: column; padding: 60px 24px; text-align: center; }
    .cta-desc { margin: 0 auto 40px; }
    .cta-visual { display: flex !important; width: 150px; height: 150px; flex: 0 0 150px; margin: 0 auto; transform: none; }
    .cta-title { font-size: 2.2rem; }
}

/* Nav Fix */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    height: 60px; /* Expanded as requested */
    display: flex;
    align-items: center;
    border: none;
    margin: 0;
}
nav {
    position: fixed;
    top: 60px; /* Aligned exactly */
    transition: all 0.3s ease;
    border-top: none;
    margin: 0;
}
nav.scrolled {
    top: 0;
    margin-top: 0;
}
@media (max-width: 900px) {
    .hero { 
        padding-top: 200px; /* Shifted down to accommodate larger banner */
    }
    .hero-btns-wrapper {
        gap: 20px !important; /* Increased button separation */
    }
}

/* ============================================================
   KAPSAMLI MOBİL RESPONSIVE — BuySellLog Landing Page
   ============================================================ */

/* Hero Button Wrapper */
@media (max-width: 768px) {
    .hero-btns-wrapper {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 18px !important;
        margin-top: 5px;
    }
}

/* CTA Buttons Wrapper */
.cta-btns-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-action-btn {
    padding: 14px 36px !important;
}

/* ===== Nav Toggle Icons - Mobilde Küçültme ===== */
@media (max-width: 768px) {
    .theme-toggle,
    .lang-toggle {
        font-size: 0.95rem;
        width: 36px;
        height: 36px;
    }

    .nav-actions {
        gap: 4px;
    }

    .nav-actions .btn {
        padding: 7px 14px;
        font-size: 0.82rem;
        min-height: 36px;
    }

    /* Announcement Bar + Navbar Çakışması */
    nav {
        top: 40px;
    }

    .announcement-bar {
        height: 40px;
        font-size: 0.78rem;
    }

    /* Hero: Padding ve Yazı Boyutu */
    .hero {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
        line-height: 1.15;
    }

    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    /* Hero Butonları — Yan Yana küçük ekran */
    .hero-btns-wrapper {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 16px !important;
    }

    .hero-btns-wrapper .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }

    /* Marquee - Küçük Font */
    .marquee {
        padding: 16px 0;
        overflow: hidden;
    }

    .marquee-content span {
        font-size: 0.85rem;
        margin-right: 30px;
    }

    /* Section Başlıkları */
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.8rem);
    }

    .subtitle {
        font-size: 0.92rem;
    }

    /* How it Works — 01 02 03 Büyük Sayılar */
    .bento-item [style*="font-size: 3rem"] {
        font-size: 1.8rem !important;
        top: 6px !important;
        right: 12px !important;
    }

    /* Testimonial card metin */
    .testimonial-text {
        font-size: 0.92rem;
    }

    /* CTA Section */
    .cta-card {
        padding: 40px 20px !important;
        border-radius: 24px !important;
    }

    .cta-title {
        font-size: clamp(1.5rem, 6vw, 2.4rem) !important;
        line-height: 1.2 !important;
    }

    .cta-desc {
        font-size: 0.92rem !important;
    }

    .cta-btns-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .cta-action-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 13px 20px !important;
    }

    /* Footer — 2 Kolon */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }

    /* Footer'da İlk (açıklama) blok tam genişlik */
    .footer-grid > div:first-child {
        grid-column: span 2;
    }

    footer {
        padding: 60px 0 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

    /* FAQ */
    .faq-item {
        padding: 16px 0;
    }
}

/* ===== Çok Küçük Ekranlar (<=480px) ===== */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 8.5vw, 2.2rem);
    }

    .hero {
        padding-top: 108px;
    }

    .section-title {
        font-size: clamp(1.4rem, 7.5vw, 2.2rem);
    }

    /* Contact Links İçin 2 Sütun */
    .contact-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-auto-flow: column !important;
        grid-template-rows: repeat(2, auto) !important;
        column-gap: 20px !important;
        row-gap: 12px !important;
    }

    /* Contact kolonunun mobili kapsayacak şekilde genişlemesi */
    .footer-grid .footer-links:nth-child(4) {
        flex: 1 1 100% !important;
        grid-column: span 2 !important;
        margin-top: 10px;
    }

    /* Footer yan yana kolonlar */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .footer-grid > div:first-child {
        grid-column: span 2;
        margin-bottom: 15px;
    }

    .cta-title {
        font-size: clamp(1.3rem, 7vw, 2rem) !important;
    }

    /* Nav icons daha da küçük */
    .theme-toggle,
    .lang-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .nav-actions .btn {
        padding: 6px 12px;
        font-size: 0.78rem;
        min-height: 34px;
    }
}

/* ===== Register Sayfası Mobil ===== */
@media (max-width: 640px) {
    /* Dil simgesi ile form çakışmaması için body'deki absolute top-right butonu */
    body > div[style*="position: absolute"][style*="top: 24px"] {
        top: 12px !important;
        right: 12px !important;
    }

    body > div[style*="position: absolute"] .lang-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .auth-container {
        margin: 3.5rem 0.75rem 1.5rem !important;
        padding: 1.5rem 1rem !important;
        border-radius: 18px !important;
    }
}
/* Preview Section */
.preview-section {
    background: radial-gradient(circle at 50% 100%, rgba(var(--accent-rgb), 0.08), transparent 70%);
}

.preview-tabs-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.preview-tabs {
    display: inline-flex;
    background: var(--glass);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    gap: 8px;
    margin-bottom: 48px;
}

.preview-tab-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-tab-btn.active {
    background: var(--fg);
    color: var(--bg);
}

.preview-display {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    line-height: 0;
    background: var(--card-bg);
}

.preview-img {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(1.02);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    display: none;
}

.preview-img.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .preview-tabs {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px;
        border-radius: 16px;
    }
    .preview-tab-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* Product Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.showcase-item {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-bg);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.showcase-item.full-width {
    grid-column: span 2;
}

.showcase-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border);
}

.showcase-info {
    padding: 30px;
    background: var(--card-bg);
}

.showcase-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.showcase-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-item.full-width {
        grid-column: span 1;
    }
}

/* Showcase Dark Mode Refinements */
#showcase {
    position: relative;
    background: radial-gradient(circle at 50% 100%, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%), var(--bg);
}

.showcase-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
}

.light-mode .showcase-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.showcase-img {
    filter: brightness(0.9) contrast(1.1); /* Subtle darkening to blend light-mode screenshots with dark theme */
    transition: filter 0.5s ease, transform 0.5s ease;
}

.light-mode .showcase-img {
    filter: none;
}

.showcase-item:hover .showcase-img {
    filter: brightness(1) contrast(1);
    transform: scale(1.02);
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.light-mode .showcase-item::before {
    display: none;
}

/* Product Showcase Responsive Refinements */
@media (max-width: 768px) {
    .showcase-grid {
        gap: 24px;
        margin-top: 32px;
    }
    .showcase-info {
        padding: 20px;
    }
    .showcase-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    .showcase-desc {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .showcase-item {
        border-radius: 16px;
    }
    /* Fixed off-screen elements on mobile */
    .bento-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        overflow: hidden;
    }
    .bento-item {
        margin-bottom: 16px;
    }
    img, video {
        max-width: 100%;
        height: auto;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .showcase-grid {
        gap: 16px;
        margin-top: 24px;
    }
    .showcase-info {
        padding: 16px;
    }
    .showcase-title {
        font-size: 1.1rem;
    }
    .showcase-desc {
        font-size: 0.85rem;
    }
    .showcase-item {
        border-radius: 16px;
    }
    #showcase .section-title {
        font-size: 2.2rem;
    }
}
