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

:root {
    color-scheme: dark;
    --ink: #f8fafc;
    --muted: #94a3b8;
    --line: rgba(255, 255, 255, 0.08);
    --surface: #050b14;
    --surface-card: #0c1524;
    --surface-card-hover: #121f35;
    
    /* Brand Logo Colors */
    --accent: #0055ff;          /* Electric Blue */
    --accent-light: #00b0ff;    /* Light Cyan Blue */
    --accent-glow: rgba(0, 85, 255, 0.15);
    --accent-strong: #0033cc;
    --gold: #e09030;            /* Gold / Orange */
    --gold-glow: rgba(224, 144, 48, 0.2);
    
    --bg-gradient: linear-gradient(135deg, #030712 0%, #070e1c 50%, #0c1626 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    color-scheme: light;
    --ink: #0f172a;
    --muted: #475569;
    --line: rgba(15, 23, 42, 0.08);
    --surface: #f8fafc;
    --surface-card: #ffffff;
    --surface-card-hover: #f1f5f9;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

[data-theme="light"] .brand span {
    background: linear-gradient(120deg, #0f172a 40%, rgba(15, 23, 42, 0.75));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(135deg, #0f172a 30%, #0050d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section-heading h2 {
    background: linear-gradient(135deg, #0f172a 30%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .service-card h3,
[data-theme="light"] .project-body h3,
[data-theme="light"] .faq-question {
    color: var(--ink);
}

[data-theme="light"] #projectSearch {
    color: var(--ink);
}

[data-theme="light"] .filter-tab {
    background: rgba(15, 23, 42, 0.03);
    color: var(--muted);
    border-color: var(--line);
}

[data-theme="light"] .filter-tab:hover {
    background: rgba(15, 23, 42, 0.06);
    color: var(--ink);
    border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .filter-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    border-color: var(--accent-light);
}

[data-theme="light"] .blob {
    mix-blend-mode: multiply;
    opacity: 0.04;
}

[data-theme="light"] .service-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 0 25px rgba(0, 85, 255, 0.03);
}

[data-theme="light"] .project-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .project-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06), 0 0 30px rgba(0, 85, 255, 0.04);
}

[data-theme="light"] .browser-mockup {
    background: #f1f5f9;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .browser-address {
    background: rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    background-image: var(--bg-gradient);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Background Blobs */
.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.08;
    mix-blend-mode: screen;
    animation: float-blob 25s infinite alternate ease-in-out;
}

.blob-1 {
    background: var(--accent);
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: var(--gold);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float-blob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.2); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--gold) 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
    padding: 14px clamp(18px, 5vw, 72px);
    background: rgba(5, 11, 20, 0.75);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    min-height: 70px;
    background: rgba(3, 7, 18, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.brand img,
.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 85, 255, 0.2);
    transition: var(--transition-smooth);
}

.brand:hover img,
.brand:hover .brand-mark {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.4);
}

.brand-mark {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    font-size: 20px;
    font-weight: 900;
}

.brand span {
    background: linear-gradient(120deg, #fff 40%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Menu */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    margin-left: auto;
}

.main-nav a:not(.nav-order) {
    position: relative;
    padding: 6px 0;
    color: var(--muted);
}

.main-nav a:not(.nav-order):hover {
    color: var(--ink);
}

.main-nav a:not(.nav-order)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: var(--transition-smooth);
}

.main-nav a:not(.nav-order):hover::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--ink);
    font-weight: 700;
}

.main-nav a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--gold), var(--accent-light));
}

/* Buttons */
.nav-order,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-order,
.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-order::before,
.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.nav-order:hover::before,
.primary-button:hover::before {
    left: 100%;
}

.nav-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 85, 255, 0.4);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 85, 255, 0.4);
}

.secondary-button {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
    backdrop-filter: blur(8px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    padding: clamp(72px, 11vw, 132px) clamp(20px, 6vw, 92px);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(3, 7, 18, 0.95) 20%, rgba(3, 7, 18, 0.6) 60%, rgba(3, 7, 18, 0.3) 100%),
        var(--hero-image) center / cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(820px, 100%);
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    background: rgba(224, 144, 48, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(224, 144, 48, 0.2);
    box-shadow: 0 0 10px var(--gold-glow);
}

.hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, #a5c2f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p:not(.eyebrow) {
    width: min(680px, 100%);
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

/* Sections */
.section {
    padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 92px);
    position: relative;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(160px, 0.35fr) minmax(260px, 0.65fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 54px;
}

.section-heading .eyebrow {
    justify-self: start;
}

.section-heading h2,
.split-section h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 60%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px 30px;
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: var(--transition-smooth);
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 85, 255, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--surface-card-hover);
    border-color: rgba(0, 85, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 85, 255, 0.1);
}

.service-card span {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-light);
    font-weight: 800;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 85, 255, 0.15);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover span {
    background: var(--accent);
    color: #fff;
    transform: scale(1.05);
}

.service-card h3 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Split Section (Visi Misi) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 84px);
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.split-section > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.large-copy {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
}

/* Projects Section */
.projects-section {
    position: relative;
}

.projects-list {
    display: grid;
    gap: 36px;
}

/* Centered Coverflow Project Card Layout */
.project-card-v2 {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px 32px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-card-v2:hover {
    border-color: rgba(0, 85, 255, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 0 30px rgba(0, 85, 255, 0.05);
}

.project-header {
    max-width: 700px;
    margin-bottom: 32px;
    width: 100%;
}

.project-category-badge {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(224, 144, 48, 0.1);
    border: 1px solid rgba(224, 144, 48, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.project-header h3 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.project-header p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Light Theme Header Override */
[data-theme="light"] .project-header h3 {
    color: var(--ink);
}

/* Carousel Layout */
.project-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 24px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 45px 0;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.carousel-track {
    display: flex;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 380px;
    height: 230px;
    margin: 0 30px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.33, 1);
    opacity: 0.25;
    transform: scale(0.65);
    cursor: pointer;
    background: #090f19;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Active Slide (Center Focus) */
.carousel-slide.active {
    opacity: 1;
    transform: scale(1.3);
    z-index: 2;
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(0, 80, 208, 0.4);
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: calc(50% - 12px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(5, 11, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.carousel-nav:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-light);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 85, 255, 0.4);
}

.carousel-nav.prev {
    left: -20px;
}

.carousel-nav.next {
    right: -20px;
}

/* Dots Navigation */
.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-light);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.5);
}

/* Light Theme Carousel Support */
[data-theme="light"] .carousel-slide {
    background: #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .carousel-slide.active {
    box-shadow: 0 15px 35px rgba(0, 80, 208, 0.15);
}
[data-theme="light"] .carousel-nav {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--line);
    color: var(--ink);
}
[data-theme="light"] .carousel-nav:hover {
    color: #fff;
}
[data-theme="light"] .carousel-dot {
    background: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .carousel-dot.active {
    background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 860px) {
    .project-card-v2 {
        padding: 32px 20px;
    }
    .carousel-slide {
        flex: 0 0 220px;
        height: 140px;
        margin: 0 10px;
        transform: scale(0.65);
        opacity: 0.25;
    }
    .carousel-slide.active {
        transform: scale(1.2);
        opacity: 1;
    }
    .carousel-nav.prev {
        left: 0;
    }
    .carousel-nav.next {
        right: 0;
    }
}

/* FAQ Accordion */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(0, 85, 255, 0.2);
    background: var(--surface-card-hover);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    gap: 20px;
}

.faq-icon {
    font-size: 20px;
    color: var(--accent-light);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--gold);
}

.faq-item.active {
    border-color: rgba(0, 85, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 85, 255, 0.05);
}

/* Contact Inputs & Form */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--accent-light) !important;
    box-shadow: 0 0 15px rgba(0, 176, 255, 0.15);
}

.contact-toast {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.1);
}

/* Floating WhatsApp Widget */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: wa-pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.floating-wa svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer Styling */
.site-footer {
    background-color: var(--surface-card);
    border-top: 1px solid var(--line);
    padding: 80px 24px 32px;
    margin-top: 80px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: var(--muted);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-col ul a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0 20px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 16px;
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    color: #fff;
}

.contact-col p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-col a {
    color: var(--muted);
}

.contact-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

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

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

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

/* Light theme support */
[data-theme="light"] .site-footer {
    background-color: var(--surface-card);
}
[data-theme="light"] .footer-socials a {
    background: rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .footer-socials a:hover {
    background: var(--accent);
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 860px) {
    .site-footer {
        padding: 60px 24px 32px !important;
        margin-top: 60px;
        text-align: left !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
        margin-bottom: 40px !important;
    }

    .footer-col h3 {
        margin-bottom: 16px;
    }

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

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

.empty-state {
    color: var(--muted);
    text-align: center;
    padding: 48px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--line);
    border-radius: 12px;
}

/* Scroll Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger reveals */
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }
[data-reveal-delay="400"] { transition-delay: 400ms; }

/* Desktop Header Right layout default */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.menu-toggle {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 860px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: 0;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--ink);
        border-radius: 4px;
        transition: var(--transition-smooth);
        transform-origin: left center;
    }

    .menu-toggle.active .bar-1 {
        transform: rotate(45deg);
    }
    .menu-toggle.active .bar-2 {
        opacity: 0;
    }
    .menu-toggle.active .bar-3 {
        transform: rotate(-45deg);
    }

    .site-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 12px 24px !important;
        align-items: center !important;
        min-height: 70px !important;
        gap: 0 !important;
    }

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

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--surface);
        background-image: var(--bg-gradient);
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 32px !important;
        padding: 40px;
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        border-top: 1px solid var(--line);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        font-size: 20px !important;
        font-weight: 700;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
        text-align: center;
    }
    
    .section-heading .eyebrow {
        justify-self: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .split-section div:last-child {
        border-left: none !important;
        border-top: 1px solid var(--line);
        padding-left: 0 !important;
        padding-top: 32px;
        margin-top: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-media {
        min-height: 280px;
    }
    
    .browser-content {
        height: 220px;
    }
    
    .project-card:hover .browser-content .project-media img.active {
        transform: translateY(calc(-100% + 220px));
    }

    .project-body {
        padding: 30px 20px;
    }

    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-wa svg {
        width: 24px;
        height: 24px;
    }
}

/* Filter & Search Panel */
.filter-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
    width: 100%;
}

.search-wrapper {
    position: relative;
    width: min(500px, 100%);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--muted);
    pointer-events: none;
}

#projectSearch {
    width: 100%;
    height: 48px;
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 0 20px 0 46px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

#projectSearch:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 20px rgba(0, 176, 255, 0.15);
    background: var(--surface-card-hover);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--muted);
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff;
    border-color: var(--accent-light);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.project-category-badge {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(224, 144, 48, 0.1);
    border: 1px solid rgba(224, 144, 48, 0.2);
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.project-card-v2.filtered-out {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    display: none !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--ink);
    padding: 0;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: scale(1.05);
}

.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }

[data-theme="light"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: none; }

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Price Calculator Page Styles */
.calc-type-card, .calc-module-card {
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    border-color: var(--line) !important;
}

.calc-type-card:hover, .calc-module-card:hover {
    border-color: rgba(0, 80, 208, 0.3) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.calc-type-card input[type="radio"],
.calc-module-card input[type="checkbox"] {
    accent-color: var(--accent-light);
}

/* Light theme overrides for calculator */
[data-theme="light"] .calculator-left-card,
[data-theme="light"] .calculator-right-card {
    background: var(--surface-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .calc-type-card,
[data-theme="light"] .calc-module-card {
    background: rgba(0, 0, 0, 0.01);
}

[data-theme="light"] .calc-type-card:hover,
[data-theme="light"] .calc-module-card:hover {
    border-color: rgba(0, 80, 208, 0.2) !important;
    background: rgba(0, 80, 208, 0.01) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .calculator-right-card {
        position: static !important;
    }
    .calc-type-grid {
        grid-template-columns: 1fr !important;
    }
}
