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

:root {
    --bg:           #0F1724;        
    --surface:      #0B1220;        
    --surface-2:    #0F1B2A;        
    --text:         #F8FAFC;        
    --text-muted:   #94A3B8;        
    --text-dim:     #6B7280;        
    --accent:       #FF5DA2;        
    --accent-2:     #6ea6e7;        
    --accent-hover: #FF3D85;        
    --success:      #22C55E;        
    --danger:       #EF4444;        
    --border:       rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.03);
    --white:        #FFFFFF;
    --container:    1200px;
    --gap:          24px;
}

body.light-theme{
    --bg: #F5F7FB;
    --surface: #FFFFFF;
    --surface-2: #EEF2F7;
    --text: #111827;
    --text-muted: #4B5563;
    --text-dim: #6B7280;
    --border: rgba(0,0,0,.08);
    --border-light: rgba(0,0,0,.04);
    --accent: #ff5da2;
    --accent-2: #5b9cff;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

.theme-toggle{
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:var(--surface-2);
    color:var(--text);
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    transition:.25s;
}

.theme-toggle:hover{
    background:var(--accent);
    color:white;
    transform:rotate(180deg);
}

.desktop-theme {
    margin-left: 24px;
}

.mobile-theme {
    margin-left: 12px;
    display: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

/* LOADER */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9998;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 9998;
}

.counter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 10000;
    color: #bcbcc4;
    padding: 0.2em 0.4em;
    font-size: 20vw;
    font-family: "Carpenter", sans-serif;
    margin: 0;
    background: var(--bg);
}


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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.btn-acid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.15s ease;
    user-select: none;
}

.btn-acid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255,93,162,0.12);
    background: var(--accent-hover);
}

.btn-acid:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: #ffffff;
    color: #0B1220;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition:
        transform .2s cubic-bezier(.22,1,.36,1),
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.btn-ghost:hover,
.btn-dark-ghost:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255,93,162,.12);
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-dark-ghost:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    background:color-mix(in srgb,var(--surface) 75%,transparent);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
}

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

.nav-inner{
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: clamp(16px, 4vw, 60px);
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    white-space: nowrap;
}

.nav-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active span::after  { transform: rotate(-45deg); top: 0; }

.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
    overflow: visible;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    position: relative;
    min-height: 600px;
}

.hero-content {
    flex: 0 0 50%;
    min-width: 0;
    text-align: left;
    z-index: 2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-content h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.045em;
    color: var(--text);
    margin-bottom: 24px;
    word-break: break-word;
    hyphens: auto;
}

.hero-content h1 .accent-word {
    color: var(--bg);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 8px;
    display: inline-block;
    word-break: break-word;
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
    word-wrap: break-word;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: sticky !important;
    top: 100px;
    right: 60px;
    z-index: 1;
    width: 40%;
    max-width: 800px;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 20px;
    align-self: flex-start;
    height: fit-content;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    animation: shake 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(255,93,162,0.15));
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(15px);
    }
    50% {
        transform: translateX(-15px);
    }
    75% {
        transform: translateX(10px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(110,231,183,0.0); }
    50% { opacity: 0.4; box-shadow: 0 0 16px 6px rgba(110,231,183,0.06); }
}

/* GALLERY SECTION */
.gallery {
    padding: clamp(48px, 8vw, 96px) 0;
    position: relative;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 64px);
}

body.light-theme .gallery-header {
    color: #9CA3AF;
}

.gallery-header h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 12px;
}

body.light-theme .gallery-header h2 {
    color: var(--text-muted);
}

.gallery-header p {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--text-muted);
    line-height: 1.6;
}

.gallery-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255,93,162,0.15);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
}

.gallery-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
    border: 1px solid var(--border);
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 93, 162, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-nav:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 28px rgba(255,93,162,0.4);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
    flex-wrap: wrap;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.gallery-dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 5px;
}

.cta-banner {
    padding: clamp(48px, 8vw, 96px) 0;
}

.cta-banner-inner {
    background-image: 
        linear-gradient(180deg, 
            rgba(15, 23, 36, 1) 0%,
            rgba(15, 23, 36, 0.6) 80%,
            rgba(15, 23, 36, 0.5) 100%
        ),
        url('sekai2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 72px);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
    pointer-events: none;
}

.cta-banner-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: var(--accent-2);
    border-radius: 50%;
    opacity: 0.06;
    filter: blur(60px);
    pointer-events: none;
}

.cta-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248,250,252,0.6);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-banner-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 2px;
}

.cta-banner h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--white);
    max-width: 580px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    word-break: break-word;
}

.cta-banner p {
    font-size: clamp(14px, 1.2vw, 16px);
    color: rgba(248,250,252,0.6);
    max-width: 420px;
    margin: 0 auto 40px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-banner .btn-acid {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-dark-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    background: #ffffff;
    color: rgba(0,0,0,.85);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    cursor: pointer;
    transition:
        transform .2s cubic-bezier(.22,1,.36,1),
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.btn-dark-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255,93,162,0.12);
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ==========================
   LIGHT THEME BUTTON
========================== */

body.light-theme .btn-ghost,
body.light-theme .btn-dark-ghost{
    background:#ECEFF3;
    color:#111827;
    border-color:#D5D9E0;
}

body.light-theme .btn-ghost:hover,
body.light-theme .btn-dark-ghost:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255,93,162,0.12);
}

.btn-dark-ghost:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.01));
}

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

.footer-brand-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-top: 16px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-copy a {
    color: var(--text-muted);
}

.footer-copy a:hover {
    color: var(--text);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.hero-badge-dot { background: var(--accent-2); }
.dash-stat-change { color: var(--success); }
.dash-stat-change.down { color: var(--danger); }
.mini-bar.highlight { background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.mini-code .string { color: var(--accent-2); }
.pricing-card.featured { border-color: var(--accent); }
.pricing-billed.yearly-active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: var(--bg); }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Extra Small Devices (Mobile) - 320px to 479px */
@media (max-width: 479px) {
    :root {
        --gap: 16px;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .nav-right{
        display:flex;
        align-items:center;
        gap:8px;
    }

    .desktop-theme {
        display: none;
        margin-left: 0;
    }

    .mobile-theme {
        display: flex;
        margin-left: 0;
    }

    .nav-logo {
        font-size: 14px;
        gap: 6px;
    }

    .nav-logo-mark {
        width: 24px;
        height: 24px;
    }

    .counter {
        font-size: 16vw;
        padding: 0.1em 0.2em;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-wrapper {
        gap: 30px;
        min-height: auto;
        flex-direction: column;
    }

    .hero-content {
        flex: 1;
        text-align: center;
        min-width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero-content h1 .accent-word {
        padding: 6px 10px;
        display: block;
        margin-top: 8px;
        margin-left: 12vh;
        margin-right: 12vh;
    }

    .hero-sub {
        font-size: 14px;
        margin-bottom: 24px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        gap: 12px;
    }

    .btn-ghost,
    .btn-acid {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        position: static;
        top: auto;
        right: auto;
        padding-right: 0;
        justify-content: center;
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 200px;
        animation: shake 3s ease-in-out infinite;
    }

    .gallery {
        padding: 32px 0;
    }

    .gallery-header {
        margin-bottom: 24px;
    }

    .gallery-header h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .gallery-header p {
        font-size: 13px;
    }

    .gallery-slider {
        border-radius: 16px;
    }

    .gallery-slide {
        aspect-ratio: 16 / 10;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-dots {
        gap: 6px;
        padding-top: 12px;
    }

    .gallery-dot {
        width: 6px;
        height: 6px;
    }

    .gallery-dot.active {
        width: 16px;
        border-radius: 3px;
    }

    .cta-banner {
        padding: 32px 0;
    }

    .cta-banner-inner {
        border-radius: 16px;
        padding: 32px 16px;
    }

    .cta-banner-tag {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .cta-banner h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .cta-banner p {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .cta-banner-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-dark-ghost {
        width: 100%;
        max-width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-col-title {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }

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

    .footer-copy {
        font-size: 12px;
    }

    .footer-bottom-links {
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Small Devices (Mobile) - 480px to 639px */
@media (min-width: 480px) and (max-width: 639px) {
    :root {
        --gap: 16px;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    .counter {
        font-size: 18vw;
    }

    .desktop-theme {
        display: none;
    }

    .mobile-theme {
        display: flex;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .hero-wrapper {
        gap: 40px;
        flex-direction: column;
    }

    .hero-content {
        flex: 1;
        text-align: center;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-content h1 .accent-word {
        display: block;
        margin-top: 8px;
        margin-left: 18vh;
        margin-right: 18vh;
    }

    .hero-sub {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-ghost,
    .btn-acid {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        position: static;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .gallery {
        padding: 40px 0;
    }

    .gallery-dots {
        gap: 7px;
        padding-top: 14px;
    }

    .gallery-dot {
        width: 7px;
        height: 7px;
    }

    .gallery-dot.active {
        width: 18px;
        border-radius: 4px;
    }

    .gallery-header {
        margin-bottom: 32px;
    }

    .gallery-header h2 {
        font-size: 28px;
    }

    .gallery-header p {
        font-size: 14px;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
    }

    .cta-banner-inner {
        padding: 40px 20px;
    }

    .cta-banner h2 {
        font-size: 28px;
    }

    .cta-banner p {
        font-size: 14px;
    }

    .cta-banner-actions {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Medium Devices (Tablet) - 640px to 767px */
@media (min-width: 640px) and (max-width: 767px) {
    :root {
        --gap: 20px;
    }

    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    .counter {
        font-size: 18vw;
    }

    .desktop-theme {
        display: none;
    }

    .mobile-theme {
        display: flex;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-wrapper {
        gap: 40px;
        flex-direction: column;
        min-height: auto;
    }

    .hero-content {
        flex: 1;
        text-align: center;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-content h1 .accent-word {
        display: block;
        margin-top: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-actions {
        justify-content: center;
    }

    .btn-ghost,
    .btn-acid {
        padding: 13px 28px;
        font-size: 14px;
    }

    .hero-image {
        width: 100%;
        position: static;
        max-width: 100%;
        padding-right: 0;
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 350px;
        margin: 0 auto;
    }

    .gallery {
        padding: 48px 0;
    }

    .gallery-dots {
        gap: 8px;
        padding-top: 16px;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
    }

    .gallery-dot.active {
        width: 22px;
        border-radius: 5px;
    }

    .gallery-header {
        margin-bottom: 40px;
    }

    .gallery-header h2 {
        font-size: 36px;
    }

    .gallery-nav {
        width: 46px;
        height: 46px;
    }

    .cta-banner {
        padding: 48px 0;
    }

    .cta-banner-inner {
        padding: 48px 32px;
    }

    .cta-banner h2 {
        font-size: 36px;
    }

    .cta-banner p {
        font-size: 15px;
    }

    .cta-banner-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-dark-ghost {
        padding: 14px 32px;
        width: 100%;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Large Devices (Tablet/Laptop) - 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --gap: 20px;
    }

    .container {
        padding: 0 20px;
        max-width: 900px;
    }

    .counter {
        font-size: 18vw;
    }

    .desktop-theme {
        display: flex;
    }

    .mobile-theme {
        display: none;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-wrapper {
        justify-content: center;
        gap: 40px;
        min-height: auto;
    }

    .hero-content {
        flex: 1;
        text-align: center;
        max-width: 500px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
        position: static;
        top: auto;
        right: auto;
        padding-right: 0;
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 350px;
    }

    .gallery {
        padding: 64px 0;
    }

    .gallery-header {
        margin-bottom: 48px;
    }

    .gallery-header h2 {
        font-size: 40px;
    }

    .gallery-slider {
        max-width: 800px;
    }

    .gallery-nav {
        width: 48px;
        height: 48px;
    }

    .gallery-dots {
        gap: 10px;
        padding-top: 24px;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
    }

    .gallery-dot.active {
        width: 28px;
        border-radius: 5px;
    }

    .cta-banner {
        padding: 64px 0;
    }

    .cta-banner-inner {
        padding: 64px 48px;
    }

    .cta-banner h2 {
        font-size: 40px;
    }

    .cta-banner-actions {
        flex-direction: row;
        gap: 20px;
    }

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

/* Extra Large Devices (Laptop) - 1024px to 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
    :root {
        --gap: 24px;
    }

    .container {
        max-width: 1000px;
        padding: 0 24px;
    }

    .desktop-theme {
        display: flex;
    }

    .mobile-theme {
        display: none;
    }

    .hero-wrapper {
        justify-content: space-between;
        gap: 40px;
        min-height: 500px;
    }

    .hero-content {
        flex: 0 0 45%;
    }

    .hero-image {
        width: 50%;
        max-width: 450px;
        top: 100px;
        right: 40px;
        position: sticky;
    }

    .hero-image img {
        max-width: 400px;
    }

    .gallery {
        padding: 80px 0;
    }

    .gallery-slider {
        max-width: 850px;
    }

    .gallery-dots {
        gap: 12px;
    }

    .cta-banner-actions {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
    }
}

/* XXL Devices (Desktop) - 1440px and above */
@media (min-width: 1440px) {
    :root {
        --gap: 32px;
    }

    .container {
        max-width: 1200px;
        padding: 0 32px;
    }

    .desktop-theme {
        display: flex;
    }

    .mobile-theme {
        display: none;
    }

    .hero {
        padding-top: 180px;
        padding-bottom: 100px;
    }

    .hero-wrapper {
        justify-content: space-between;
        gap: 80px;
        min-height: 700px;
    }

    .hero-content {
        flex: 0 0 48%;
    }

    .hero-content h1 {
        font-size: 72px;
    }

    .hero-image {
        width: 52%;
        max-width: 600px;
        top: 120px;
        right: 60px;
    }

    .hero-image img {
        max-width: 500px;
    }

    .gallery {
        padding: 96px 0;
    }

    .gallery-header {
        margin-bottom: 64px;
    }

    .gallery-slider {
        max-width: 900px;
    }

    .gallery-dots {
        gap: 12px;
        padding-top: 32px;
    }

    .cta-banner {
        padding: 96px 0;
    }

    .cta-banner-inner {
        padding: 96px 80px;
    }

    .cta-banner h2 {
        font-size: 52px;
    }

    .cta-banner p {
        font-size: 16px;
    }

    .footer {
        padding: 100px 0 50px;
    }

    .footer-grid {
        gap: 64px;
    }
}

/* ============================================
   ULTRA-WIDE DISPLAYS (4K Monitors)
   ============================================ */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 80px;
    }

    .hero-image img {
        max-width: 600px;
    }

    .gallery {
        padding: 120px 0;
    }

    .gallery-slider {
        max-width: 1000px;
    }

    .gallery-nav {
        width: 56px;
        height: 56px;
    }

    .cta-banner h2 {
        font-size: 60px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Touch devices optimization */
@media (hover: none) and (pointer: coarse) {
    .btn-ghost:hover,
    .btn-acid:hover,
    .btn-dark-ghost:hover,
    .card:hover,
    .gallery-nav:hover,
    .gallery-slide:hover img {
        transform: none;
    }

    button, a {
        min-height: 44px;
        min-width: 44px;
    }

    .gallery-nav {
        width: 52px;
        height: 52px;
    }
}

/* Landscape orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-wrapper {
        min-height: auto;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero-sub {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .hero-image {
        position: static;
        width: 30%;
        max-width: 300px;
    }

    .hero-image img {
        max-width: 250px;
    }

    .gallery {
        padding: 24px 0;
    }

    .gallery-header {
        margin-bottom: 20px;
    }

    .gallery-header h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .gallery-header p {
        font-size: 12px;
    }

    .gallery-slide {
        aspect-ratio: 16 / 8;
    }

    .gallery-dots {
        padding-top: 12px;
    }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ==========================
   MOBILE MENU STYLES
========================== */

@media (max-width:767px){

    .nav-toggle{
        display:flex;
    }

    .nav-links{
        position:absolute;
        top:70px;
        right:16px;
        width:220px;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:12px;
        background:var(--surface);
        border:1px solid var(--border);
        border-radius:16px;
        opacity:0;
        visibility:hidden;
        transform:translateY(-10px);
        transition:.25s;
        z-index:999;
    }

    .nav-links.open{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

    .nav-links li{
        width:100%;
        list-style:none;
    }

    .nav-links a {
        width:100%;
        padding:14px 16px;
        border:none;
        background:none;
        color:var(--text);
        display:flex;
        justify-content:flex-start;
        border-radius:10px;
        cursor:pointer;
    }

    .nav-links a:hover {
        background:var(--surface-2);
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}
