/* Color System & General Variables */
:root {
    --bg-main: #0a0b10;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --primary-color: #7c3aed; /* Purple */
    --primary-glow: rgba(124, 58, 237, 0.4);
    --accent-color: #06b6d4;  /* Cyan */
    --accent-glow: rgba(6, 182, 212, 0.4);
    --gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Nunito', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Background Textures & Glow Variables */
    --dot-color: rgba(255, 255, 255, 0.04);
    --glow-opacity: 0.12;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Premium Dot Matrix Background Grid */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: -1;
}

/* Fine Analog Noise Texture Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Ambient Glowing Blobs */
.ambient-glow {
    position: absolute;
    width: 45vw;
    height: 45vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: var(--glow-opacity);
    pointer-events: none;
    z-index: -2;
    mix-blend-mode: screen;
    animation: float-glow 25s infinite ease-in-out alternate;
}

.bg-glow-1 {
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: 10%;
    left: -5%;
}

.bg-glow-2 {
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    top: 45%;
    right: -5%;
    animation-delay: -5s;
    animation-duration: 32s;
}

.bg-glow-3 {
    background: radial-gradient(circle, #ec4899 0%, transparent 70%); /* Dynamic pink glow */
    top: 75%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 20s;
}

@keyframes float-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(8%, 10%) scale(1.1);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.95);
    }
}

/* Utilities */
.max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-smooth);
}

/* Header & Navbar */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-card);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

.nav-btn {
    background: var(--gradient-accent);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section Redesign */
.hero-section {
    position: relative;
    background: linear-gradient(140deg, #001d3d 0%, #003566 25%, #0077b6 60%, #00b4d8 100%);
    padding-top: 180px;
    padding-bottom: 0px; /* Let the mockup sit flush on bottom on some screen sizes if needed, or pad it */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.25;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: #00b4d8;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #2563eb;
    top: 30%;
    right: -100px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #0ea5e9;
    bottom: -50px;
    left: 30%;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-badge-wrapper {
    margin-bottom: 24px;
}

.hero-section .badge {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: none; /* keep original capitalization */
}

.hero-section .badge-dot {
    width: 6px;
    height: 6px;
    background: #00e5ff !important;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e5ff !important;
    animation: badge-pulse 1.5s infinite ease-in-out;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-section h1 {
    font-family: var(--font-outfit);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 900px;
    margin-bottom: 24px;
    color: white;
}

.hero-section .gradient-text {
    background: linear-gradient(90deg, #7ee8fa, #80ff72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section .hero-lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-section .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-section .btn-primary {
    background: white !important;
    color: #003566 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.hero-section .btn-primary:hover {
    background: #e8f7ff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
}

.hero-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(4px);
}

.hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

/* Floating Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 70px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px;
    transition: var(--transition-smooth);
}

.hero-stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stat-card .stat-value {
    font-family: var(--font-outfit);
    font-size: 28px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-card .stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

/* Dashboard Mockup Container */
.hero-dashboard-mockup {
    width: 100%;
    max-width: 850px;
    border-radius: 20px 20px 0 0;
    background: #101827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Header Bar */
.mockup-header-bar {
    height: 48px;
    background: rgba(15, 28, 46, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.mockup-url-bar {
    flex: 1;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-header-action {
    width: 32px;
    display: flex;
    justify-content: flex-end;
}

.mockup-header-action .action-dot {
    width: 8px;
    height: 8px;
    background: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 0 6px #00e5ff;
}

/* Dashboard Mockup Body */
.mockup-body {
    padding: 24px;
    text-align: left;
}

/* Welcome Row */
.mockup-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.mockup-welcome .welcome-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-welcome .welcome-name {
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-top: 2px;
}

.mockup-actions {
    display: flex;
    gap: 8px;
}

.mockup-pill-btn {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mockup-pill-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mockup-pill-btn.primary {
    background: #0ea5e9;
    color: white;
}

.mockup-pill-btn.primary:hover {
    background: #0284c7;
}

/* Stats Row */
.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stats-row .mockup-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 14px;
}

.mockup-stats-row .card-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.mockup-stats-row .card-val {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 4px 0 2px;
}

.mockup-stats-row .card-delta {
    font-size: 10px;
    font-weight: 600;
}

.color-cyan { color: #00e5ff; }
.color-green { color: #10b981; }
.color-yellow { color: #eab308; }
.color-indigo { color: #6366f1; }

/* Chart Section */
.mockup-chart-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
}

.mockup-chart-container .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mockup-chart-container .chart-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.mockup-chart-container .chart-days {
    display: flex;
    gap: 4px;
}

.mockup-chart-container .chart-days span {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    width: 28px;
    text-align: center;
    text-transform: uppercase;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    padding-left: 200px; /* Offset to push bars to align with day labels */
}

.chart-bar-col {
    flex: 1;
    max-width: 28px;
    background: linear-gradient(to top, #0ea5e9, #00e5ff);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    animation: bar-grow 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes bar-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .hero-section h1 {
        font-size: 40px;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    
    .mockup-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-bars {
        padding-left: 0;
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .mockup-stats-row {
        grid-template-columns: 1fr;
    }
    
    .mockup-top-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mockup-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Sections Base Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-header h2 {
    font-family: var(--font-outfit);
    font-size: 40px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.services-section, .portfolio-section, .calculator-section {
    padding: 100px 24px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-family: var(--font-outfit);
    font-size: 20px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.service-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.portfolio-item {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
}

.portfolio-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portfolio-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
}

.portfolio-info h3 {
    font-family: var(--font-outfit);
    font-size: 20px;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Calculator Container */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.box-title {
    font-family: var(--font-outfit);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
}

.calc-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.calc-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-inter);
    outline: none;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-select:focus {
    border-color: var(--accent-color);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
}

.feature-checkbox {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-card);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.feature-checkbox:checked + .custom-checkbox {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-glow);
}

.feature-checkbox:checked + .custom-checkbox::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.feature-name {
    transition: var(--transition-smooth);
}

.feature-checkbox:checked ~ .feature-name {
    color: var(--text-primary);
}

.price-summary {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-card);
    margin-top: 32px;
}

.summary-label {
    font-size: 15px;
    font-weight: 500;
}

.summary-price {
    font-family: var(--font-outfit);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-color);
}

/* Forms */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 14px;
    color: var(--text-primary);
    font-family: var(--font-inter);
    outline: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.07);
}

.alert {
    padding: 14px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
}

.alert.success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.hidden {
    display: none !important;
}

/* Footer */
.footer-container {
    background: rgba(10, 11, 16, 0.85);
    border-top: 1px solid var(--border-card);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 600;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 14px;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-contact p i {
    width: 16px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-card);
    padding-top: 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

/* Mobile & Tablet Responsive */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 140px;
        text-align: center;
    }
    
    .badge {
        align-self: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        display: none; /* simple responsive handling */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item {
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    width: 320px;
    animation: toast-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: var(--transition-smooth);
}

.toast-item.fade-out {
    animation: toast-slide-out 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.toast-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 4px;
}

.toast-close:hover {
    color: var(--text-primary);
}

@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toast-slide-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
}

@media (max-width: 480px) {
    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    
    .toast-item {
        width: 100%;
    }
}

/* Admin Dashboard Styles */
.admin-badge {
    font-size: 11px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-main {
    padding-top: 130px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.admin-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-header h1 {
    font-family: var(--font-outfit);
    font-size: 36px;
    font-weight: 800;
}

.admin-header p {
    color: var(--text-secondary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.purple {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.stat-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.stat-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 800;
}

/* Controls */
.admin-controls {
    padding: 20px 24px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 18px;
    pointer-events: none;
}

#admin-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 12px 12px 12px 42px;
    color: var(--text-primary);
    font-family: var(--font-inter);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

#admin-search-input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

/* Orders Table */
.orders-table-container {
    padding: 0;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.orders-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px 24px;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-card);
}

.orders-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-card);
    vertical-align: middle;
}

.orders-table tbody tr {
    transition: var(--transition-smooth);
}

.orders-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.order-id {
    color: var(--accent-color);
    font-family: monospace;
    font-size: 13px;
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.client-contacts {
    font-size: 12px;
    color: var(--text-secondary);
}

.price-val {
    color: var(--text-primary);
    font-weight: 700;
}

.features-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 300px;
}

.table-feature-tag {
    font-size: 10px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 4px;
}

.actions-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
}

.wa-btn {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.wa-btn:hover {
    background: #22c55e;
    color: white;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.delete-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.delete-btn:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.loading-row, .empty-row, .error-row {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0;
}

.error-row {
    color: #f87171;
}

.text-muted {
    color: var(--text-secondary);
    font-style: italic;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.testi-rating {
    display: flex;
    gap: 4px;
}

.star-filled {
    color: #eab308;
    fill: #eab308;
    width: 18px;
    height: 18px;
}

.testi-text {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-card);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info strong {
    font-size: 15px;
    color: var(--text-primary);
}

.author-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    padding: 100px 24px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    outline: none;
}

.faq-icon {
    transition: var(--transition-smooth);
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    padding-bottom: 24px;
}

/* Open FAQ State */
.faq-item.active {
    border-color: rgba(124, 58, 237, 0.3);
}

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

.faq-item.active .faq-answer {
    max-height: 200px; /* Bounded height for CSS slide animation */
}

/* Theme Toggle Button & Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}

/* Light Theme Variable Overrides (Mimics theme.css) */
body.light-theme {
    --bg-main: #f8faff; /* Light blue/white background matching theme.css */
    --bg-card: #ffffff; /* Solid white cards */
    --border-card: rgba(0, 100, 180, 0.12); /* Clean blue-tinted border matching theme.css */
    --text-primary: #0f1c2e; /* Dark navy blue text matching theme.css */
    --text-secondary: #5a7190; /* Soft slate-blue secondary text matching theme.css */
    
    --primary-color: #0099cc; /* Sky Blue matching theme.css primary */
    --primary-glow: rgba(0, 153, 204, 0.15);
    --accent-color: #00c2e0;  /* Cyan matching theme.css accent */
    --accent-glow: rgba(0, 194, 224, 0.15);
    
    /* 3-Color Gradient Accent */
    --gradient-accent: linear-gradient(135deg, #00c2e0 0%, #0099cc 50%, #2563eb 100%);
    
    --dot-color: rgba(0, 153, 204, 0.02);
    --glow-opacity: 0.03;
}

body.light-theme .ambient-glow {
    mix-blend-mode: multiply; /* Light multiply blending for tech blobs */
    opacity: 0.03; /* Extremely subtle */
}

body.light-theme .glass-card {
    background: var(--bg-card);
    border-color: var(--border-card);
    box-shadow: 0 10px 30px rgba(0, 153, 204, 0.04), 0 1px 3px rgba(0, 0, 0, 0.01);
}

body.light-theme .navbar-container.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-card);
    box-shadow: 0 4px 20px rgba(0, 100, 180, 0.02);
}

/* Button overrides to mimic solid/gradient blue buttons from theme.css */
body.light-theme .btn-primary {
    background: var(--gradient-accent) !important;
    color: white !important;
    box-shadow: 0 4px 14px var(--primary-glow) !important;
}

body.light-theme .btn-primary:hover {
    background: linear-gradient(135deg, #00b4d8 0%, #0099cc 50%, #1e4ed8 100%) !important;
    box-shadow: 0 6px 20px var(--primary-glow) !important;
}

body.light-theme .nav-btn {
    background: var(--gradient-accent) !important;
    color: white !important;
}

body.light-theme .nav-btn:hover {
    background: linear-gradient(135deg, #00b4d8 0%, #0099cc 50%, #1e4ed8 100%) !important;
    box-shadow: 0 4px 12px var(--primary-glow) !important;
}

/* Badge overrides using sky blue accent color */
body.light-theme .badge {
    background: #e8f4fd !important;
    color: var(--primary-color) !important;
    border-color: rgba(0, 153, 204, 0.15) !important;
}

body.light-theme .badge-dot {
    background: var(--primary-color) !important;
    box-shadow: 0 0 8px var(--primary-color) !important;
}

body.light-theme .preview-body {
    background: rgba(255, 255, 255, 0.5);
}

body.light-theme .box-sim {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .calc-select, 
body.light-theme .form-group input, 
body.light-theme .form-group textarea,
body.light-theme #admin-search-input {
    background: #f0f6ff;
    color: #0f1c2e;
    border: 1px solid rgba(0, 100, 180, 0.1);
}

body.light-theme .calc-select:focus, 
body.light-theme .form-group input:focus, 
body.light-theme .form-group textarea:focus,
body.light-theme #admin-search-input:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.12);
}

body.light-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .orders-table th {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .orders-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.01);
}

body.light-theme .table-feature-tag {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}

body.light-theme .toast-item {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.light-theme .logo-accent {
    color: var(--primary-color);
}

body.light-theme .btn-secondary {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
}

body.light-theme .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Modal Overlay & Animations */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    background: rgba(15, 17, 26, 0.95);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    animation: modal-zoom-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-overlay.hidden .modal-content {
    animation: modal-zoom-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.modal-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-info-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-info-container h3 {
    font-family: var(--font-outfit);
    font-size: 28px;
    font-weight: 800;
}

.modal-info-container p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.modal-tech-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.modal-tech-stack h4 {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.tech-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Light theme overrides for Modal */
body.light-theme .modal-content {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.light-theme .modal-close-btn {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}

body.light-theme .modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
}

@keyframes modal-zoom-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modal-zoom-out {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-content {
        padding: 32px 24px 24px;
    }
}

/* Workflow Timeline Section */
.workflow-section {
    padding: 100px 24px;
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    position: relative;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 90px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    opacity: 0.2;
    z-index: 0;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    cursor: default;
}

.workflow-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-outfit);
    font-size: 32px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    transition: var(--transition-smooth);
}

.workflow-step:hover .step-number {
    color: var(--accent-color);
    opacity: 0.3;
    transform: scale(1.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-card);
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.05);
}

.workflow-step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    border-color: var(--primary-color);
}

.workflow-step h3 {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 700;
}

.workflow-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Light Theme tweaks for Workflow */
body.light-theme .step-number {
    color: rgba(0, 0, 0, 0.04);
}

body.light-theme .workflow-step:hover .step-number {
    color: var(--primary-color);
}

body.light-theme .step-icon {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .timeline-line {
    opacity: 0.15;
}

@media (max-width: 992px) {
    .timeline-line {
        display: none; /* hide horizontal line on smaller screens */
    }
}

/* Login Page Styles */
.login-body-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background-color: var(--bg-main);
}

.login-wrapper {
    width: 100%;
    max-width: 440px;
}

.login-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
}

.login-brand {
    margin-bottom: 8px;
}

.text-center {
    text-align: center;
}

.login-card h2 {
    font-family: var(--font-outfit);
    font-size: 28px;
    font-weight: 800;
}

.login-card p {
    font-size: 14px;
}

.password-input-wrapper {
    width: 100%;
}

/* Premium Login Input Styling */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon input {
    width: 100%;
    padding-left: 46px !important;
    padding-right: 46px !important;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-with-icon input:focus ~ .input-icon {
    color: var(--accent-color);
}

.toggle-password-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.toggle-password-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.toggle-password-btn i {
    width: 18px;
    height: 18px;
}

/* Light Theme Login Overrides */
body.light-theme.login-body-container {
    background-color: var(--bg-main);
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: wa-pulse 2s infinite;
}

.floating-wa-btn i {
    width: 26px;
    height: 26px;
    transition: var(--transition-smooth);
}

.floating-wa-btn:hover {
    background-color: #20ba56;
    transform: scale(1.1);
}

.floating-wa-btn:hover i {
    transform: scale(1.1);
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #1f2937;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-card);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1f2937;
}

.floating-wa-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

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

/* Light Mode adaptations for Floating WA tooltip */
body.light-theme .wa-tooltip {
    background: white;
    color: #111827;
}

body.light-theme .wa-tooltip::after {
    border-color: transparent transparent transparent white;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 168px; /* stack above the chatbot widget */
    right: 30px;  /* slightly offset to center with WA button (width 56px, this has 44px) */
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--border-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--primary-glow);
    z-index: 998;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn i {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.scroll-top-btn:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px var(--accent-glow);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Light Mode adaptations for Scroll to Top */
body.light-theme .scroll-top-btn {
    background-color: white;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.light-theme .scroll-top-btn:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Promo Pop-up Modal Styles */
.promo-card {
    max-width: 500px;
    padding: 48px 32px;
}

.promo-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.promo-badge {
    align-self: center;
    display: inline-flex;
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.1);
}

.promo-body h3 {
    font-family: var(--font-outfit);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.promo-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.promo-code-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed var(--border-card);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    transition: var(--transition-smooth);
}

.promo-code-box:hover {
    border-color: var(--accent-color);
}

.code-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-code {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.promo-actions {
    width: 100%;
    margin-top: 10px;
}

/* Light Mode tweaks for Promo Card */
body.light-theme .promo-code-box {
    background: rgba(0, 0, 0, 0.01);
}

/* ============================================================================
   NEW FEATURES STYLING
   ============================================================================ */

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    padding: 10px 20px;
    border-radius: 9999px;
    color: var(--text-secondary);
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--primary-glow);
}

body.light-theme .filter-btn {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-secondary);
    border-color: var(--border-card);
}

body.light-theme .filter-btn:hover,
body.light-theme .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.filtered-out {
    opacity: 0;
    transform: scale(0.85);
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

/* Project Tracker Section */
.tracker-section {
    padding: 100px 24px;
}

.tracker-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.tracker-search {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.tracker-search input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-inter);
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.tracker-search input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.tracker-result-box {
    border-top: 1px solid var(--border-card);
    padding-top: 30px;
    animation: fadeIn 0.4s ease forwards;
}

.tracker-info-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-card);
    font-size: 14px;
}

.tracker-info-summary strong {
    color: var(--accent-color);
}

.tracker-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 20px;
}

.tracker-stepper::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.step-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-dot {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(15, 17, 26, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.step-dot i {
    width: 22px;
    height: 22px;
}

.step-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    font-family: var(--font-outfit);
    transition: var(--transition-smooth);
}

/* States for tracker steps */
.step-track.completed .step-dot {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.step-track.completed .step-label {
    color: var(--accent-color);
}

.step-track.active .step-dot {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    animation: pulse-active-step 2s infinite;
}

.step-track.active .step-label {
    color: var(--primary-color);
}

@keyframes pulse-active-step {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
    }
}

body.light-theme .tracker-stepper::before {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .step-dot {
    background: white;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

body.light-theme .tracker-info-summary {
    background: rgba(0, 0, 0, 0.01);
}

@media (max-width: 600px) {
    .tracker-stepper {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        padding-left: 20px;
    }
    .tracker-stepper::before {
        top: 0;
        left: 46px;
        width: 4px;
        height: 85%;
    }
    .step-track {
        flex-direction: row;
        gap: 20px;
        width: 100%;
        align-items: center;
    }
    .step-dot {
        width: 44px;
        height: 44px;
    }
    .step-label {
        text-align: left;
    }
}

/* Booking Consultation Section */
.booking-section {
    padding: 100px 24px;
}

.booking-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
}

.booking-sub-title {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.booking-month-year {
    font-family: var(--font-outfit);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.cal-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.booking-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.booking-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}

.cal-day-cell:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-card);
}

.cal-day-cell.empty-day {
    background: transparent;
    cursor: default;
    pointer-events: none;
}

.cal-day-cell.disabled-day {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.cal-day-cell.selected-day {
    background: var(--accent-color) !important;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.cal-day-cell.today-day {
    border-color: var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
}

.booking-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.time-slot {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-card);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.time-slot:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.time-slot.selected-slot {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.booking-summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-summary-box h4 {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.booking-summary-box strong {
    color: var(--accent-color);
}

body.light-theme .cal-day-cell {
    background: rgba(0, 0, 0, 0.01);
}
body.light-theme .cal-day-cell:hover {
    background: rgba(0, 0, 0, 0.04);
}
body.light-theme .time-slot {
    background: rgba(0, 0, 0, 0.01);
}
body.light-theme .time-slot:hover {
    background: rgba(0, 0, 0, 0.03);
}
body.light-theme .booking-summary-box {
    background: rgba(0, 0, 0, 0.01);
}

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

/* Coupon Promo Styles */
.coupon-group {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coupon-input-wrapper {
    display: flex;
    gap: 8px;
}

.coupon-input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: var(--font-inter);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.coupon-input-wrapper input:focus {
    border-color: var(--accent-color);
}

.coupon-input-wrapper button {
    padding: 0 16px;
    height: 38px;
    font-size: 13px;
}

.coupon-msg {
    font-size: 12px;
    font-weight: 500;
}

.coupon-msg.success {
    color: #4ade80;
}

.coupon-msg.error {
    color: #f87171;
}

.price-visual-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.old-price-strike {
    font-size: 18px;
    text-decoration: line-through;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Floating Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 96px;
    right: 24px;
    z-index: 1999;
}

.chatbot-toggle-btn {
    width: 56px;
    height: 56px;
    background-color: #1d72dd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(29, 114, 221, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: chatbot-pulse 2s infinite;
    outline: none;
}

.chatbot-toggle-btn:hover {
    background-color: #1761c5;
    transform: scale(1.1);
}

@keyframes chatbot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 114, 221, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(29, 114, 221, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(29, 114, 221, 0);
    }
}

.chatbot-toggle-btn i {
    width: 26px;
    height: 26px;
    transition: var(--transition-smooth);
}

.chat-open-icon, .chat-close-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.chatbot-container {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 350px;
    height: 480px;
    background: rgba(15, 17, 26, 0.95);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-container.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chatbot-avatar i {
    width: 20px;
    height: 20px;
}

.chatbot-title-info h4 {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.chatbot-status {
    font-size: 11px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4ade80;
    display: inline-block;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    animation: chat-bubble-in 0.3s ease forwards;
}

@keyframes chat-bubble-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #25d366;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.chat-msg-wa-link:hover {
    background-color: #20ba56;
}

.chatbot-quick-replies {
    padding: 12px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border-card);
    background: rgba(255, 255, 255, 0.01);
}

.reply-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    padding: 6px 12px;
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.reply-pill:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 4px 6px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    opacity: 0.4;
    animation: chat-typing 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes chat-typing {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

body.light-theme .chatbot-container {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
body.light-theme .chat-msg.bot {
    background: rgba(0, 0, 0, 0.03);
}
body.light-theme .chatbot-quick-replies {
    background: rgba(0, 0, 0, 0.01);
}
body.light-theme .reply-pill {
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .reply-pill:hover {
    background: var(--accent-color);
    color: white;
}

/* Admin Dashboard Tabs */
.admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 12px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    outline: none;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 4px 12px var(--primary-glow);
}

body.light-theme .tab-btn.active {
    color: white;
}
body.light-theme .tab-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}

.admin-panel-content {
    display: none;
}

.admin-panel-content.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

/* Order Status Badges / Select */
.status-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    padding: 6px 10px;
    border-radius: 6px;
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.status-select:focus {
    border-color: var(--accent-color);
}

body.light-theme .status-select {
    background: white;
    color: #111827;
}

.status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-badge.status-antrean {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}
.status-badge.status-desain {
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
}
.status-badge.status-koding {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
}
.status-badge.status-qa {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}
.status-badge.status-selesai {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

/* ============================================================================
   ADVANCED FEATURES ADDITIONS STYLING
   ============================================================================ */

/* Device Mockup Switcher */
.device-switcher-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 16px;
}

.device-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    outline: none;
}

.device-btn i {
    width: 16px;
    height: 16px;
}

.device-btn:hover, .device-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px var(--accent-glow);
}

/* Device Screen Frames */
.device-frame {
    width: 100%;
    background: #111827;
    border-radius: 12px;
    border: 8px solid #1f2937;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 auto;
}

.desktop-frame {
    max-width: 100%;
}

.tablet-frame {
    max-width: 75%;
    aspect-ratio: 3/4;
    border-width: 12px;
}

.mobile-frame {
    max-width: 48%;
    aspect-ratio: 9/16;
    border-width: 14px;
    border-radius: 24px;
}

.device-header {
    background: #1f2937;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.device-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.device-url-bar {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255,255,255,0.4);
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.device-screen {
    width: 100%;
    height: 320px;
    overflow-y: auto;
    background: #1e1e24;
}

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

.tablet-frame .device-screen {
    height: 380px;
}

.mobile-frame .device-screen {
    height: 400px;
}

.tablet-frame .device-header, .mobile-frame .device-header {
    display: none; /* Hide browser bar on mobile/tablet frames */
}

body.light-theme .device-frame {
    border-color: #e5e7eb;
    background: #f3f4f6;
}
body.light-theme .device-header {
    background: #e5e7eb;
}
body.light-theme .device-btn {
    background: rgba(0, 0, 0, 0.02);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-right: 4px;
}

.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
    outline: none;
}

.lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 17, 26, 0.98);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    width: 110px;
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    z-index: 100;
    animation: fadeIn 0.2s ease forwards;
}

.lang-option-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    text-align: left;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    outline: none;
}

.lang-option-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

body.light-theme .lang-dropdown {
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
body.light-theme .lang-option-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .lang-toggle-btn {
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .lang-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Client Portal & Dashboard */
.client-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 15px;
}

.sub-title {
    font-family: var(--font-outfit);
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 6px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.pay-method-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-inter);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    outline: none;
}

.pay-method-btn i {
    width: 16px;
    height: 16px;
}

.pay-method-btn:hover, .pay-method-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px var(--primary-glow);
}

.payment-qris-sim {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-uploaded-assets-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
}

.asset-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12.5px;
}

.asset-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 70%;
}

.asset-link-btn {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.asset-link-btn:hover {
    text-decoration: underline;
}

.status-badge.status-lunas {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.status-badge.status-belumlunas {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

body.light-theme .pay-method-btn {
    background: rgba(0, 0, 0, 0.01);
}
body.light-theme .asset-list-item {
    background: rgba(0, 0, 0, 0.01);
}

@media (max-width: 600px) {
    .client-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Star Ratings Input */
.rating-input-stars {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.rating-star {
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star i {
    width: 28px;
    height: 28px;
}

.rating-star:hover, .rating-star.selected {
    color: #eab308;
    transform: scale(1.15);
}

.rating-star.selected i {
    fill: #eab308;
}

/* Blog Section */
.blog-section {
    padding: 100px 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-card);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.blog-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-card);
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: var(--text-secondary);
}

.blog-category-tag {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-info h3 {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-info p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.blog-read-more:hover {
    gap: 10px;
    color: var(--text-primary);
}

/* CMS styling */
.blog-cms-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

body.light-theme .blog-category-tag {
    background: rgba(124, 58, 237, 0.05);
}

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

/* Client Assets Dropdown inside Table */
.client-assets-toggle {
    position: relative;
    display: inline-block;
}

.assets-count-badge {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition-smooth);
}

.assets-count-badge:hover {
    background: rgba(6, 182, 212, 0.3);
}

.assets-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: rgba(15, 17, 26, 0.98);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    min-width: 180px;
    z-index: 100;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
}

.client-assets-toggle:hover .assets-dropdown-content {
    display: flex;
}

.asset-dropdown-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.asset-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Testimonial card in admin panel */
.admin-testi-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
}

.admin-testi-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.admin-testi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.admin-testi-client {
    display: flex;
    flex-direction: column;
}

.admin-testi-client strong {
    font-size: 14px;
}

.admin-testi-client span {
    font-size: 12px;
    color: var(--text-secondary);
}

.admin-testi-stars {
    color: #eab308;
    display: flex;
    gap: 2px;
}

.admin-testi-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

.admin-testi-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 6px;
}

/* Blog article row in CMS */
.admin-article-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 12px;
    transition: var(--transition-smooth);
}

.admin-article-row:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.admin-article-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border-card);
}

.admin-article-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.admin-article-details h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-article-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

/* Light Theme Overrides */
body.light-theme .assets-dropdown-content {
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
body.light-theme .asset-dropdown-link:hover {
    background: rgba(0, 0, 0, 0.03);
}
body.light-theme .admin-testi-card {
    background: rgba(0, 0, 0, 0.01);
}
body.light-theme .admin-testi-card:hover {
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .admin-article-row {
    background: rgba(0, 0, 0, 0.01);
}
body.light-theme .admin-article-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Quill WYSIWYG Editor Dark Mode Styling overrides */
.ql-toolbar.ql-snow {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-card) !important;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: var(--text-primary) !important;
}

.ql-container.ql-snow {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid var(--border-card) !important;
    border-top: none !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-family: var(--font-inter) !important;
    font-size: 14px !important;
    color: var(--text-primary) !important;
}

.ql-snow .ql-stroke {
    stroke: var(--text-secondary) !important;
}

.ql-snow .ql-fill {
    fill: var(--text-secondary) !important;
}

.ql-snow .ql-picker {
    color: var(--text-secondary) !important;
}

.ql-snow .ql-picker-options {
    background-color: #11131e !important;
    border: 1px solid var(--border-card) !important;
    border-radius: 6px;
    color: var(--text-primary) !important;
}

.ql-snow .ql-picker-item:hover {
    color: var(--accent-color) !important;
}

.ql-editor.ql-blank::before {
    color: var(--text-secondary) !important;
    font-style: italic;
    opacity: 0.6;
}

/* Focused state glow */
.ql-container.ql-snow.ql-focus, .ql-toolbar.ql-snow:focus-within {
    border-color: var(--primary-color) !important;
}

/* Light theme overrides for Quill */
body.light-theme .ql-toolbar.ql-snow {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #111827 !important;
}

body.light-theme .ql-container.ql-snow {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    color: #111827 !important;
}

body.light-theme .ql-snow .ql-stroke {
    stroke: #4b5563 !important;
}

body.light-theme .ql-snow .ql-fill {
    fill: #4b5563 !important;
}

body.light-theme .ql-snow .ql-picker-options {
    background-color: white !important;
    border: 1px solid #e5e7eb !important;
}

/* ============================================================================
   AUDIT TOOL STYLING
   ============================================================================ */
@keyframes scale-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@keyframes spin-clockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.audit-radar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-radar-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.15;
    animation: scale-pulse 1.5s infinite ease-in-out;
}

.audit-radar-line {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin-clockwise 1s infinite linear;
}

.audit-radar-icon {
    z-index: 2;
}

/* SVG Progress Rings */
.progress-ring__fill {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Audit Responsive layout */
@media (max-width: 768px) {
    .audit-scores-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .audit-details-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}
@media (max-width: 480px) {
    .audit-scores-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================================
   TOGGLE SWITCH STYLING
   ============================================================================ */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.4s;
  border-radius: 34px;
  border: 1px solid var(--border-card);
}
.slider-toggle:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3.5px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.switch-toggle input:checked + .slider-toggle {
  background-color: #ef4444;
  border-color: #ef4444;
}
.switch-toggle input:checked + .slider-toggle:before {
  transform: translateX(24px);
}

/* ============================================================================
   DYNAMIC NAVBAR TRANSPARENT-TO-WHITE ON SCROLL (Landing Page)
   ============================================================================ */

/* 1. Top/Unscrolled State (For index.html only, which lacks .admin-body or .login-body-container) */
body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .logo {
    color: #ffffff !important;
}

body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .logo-accent {
    color: #00c2e0 !important; /* Cyan accent matching theme */
}

body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .nav-link:hover {
    color: #ffffff !important;
}

body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .theme-toggle-btn,
body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .lang-toggle-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .theme-toggle-btn:hover,
body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

body:not(.admin-body):not(.login-body-container) .navbar-container:not(.scrolled) .mobile-menu-toggle {
    color: #ffffff !important;
}

/* 2. Scrolled State overrides for Light Theme (Landing Page) */
body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border-card) !important;
    box-shadow: 0 4px 20px rgba(0, 100, 180, 0.04) !important;
}

body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .logo {
    color: var(--text-primary) !important; /* Dark Navy #0f1c2e */
}

body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .logo-accent {
    color: var(--primary-color) !important; /* Sky Blue #0099cc */
}

body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .nav-link {
    color: var(--text-secondary) !important; /* Slate Blue #5a7190 */
}

body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .nav-link:hover {
    color: var(--text-primary) !important;
}

body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .theme-toggle-btn,
body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .lang-toggle-btn {
    color: var(--text-primary) !important;
    background: rgba(0, 100, 180, 0.05) !important;
    border-color: var(--border-card) !important;
}

body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .theme-toggle-btn:hover,
body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .lang-toggle-btn:hover {
    background: rgba(0, 100, 180, 0.1) !important;
}

body.light-theme:not(.admin-body):not(.login-body-container) .navbar-container.scrolled .mobile-menu-toggle {
    color: var(--text-primary) !important;
}

/* 3. Scrolled State overrides for Dark Theme (Landing Page) */
body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled {
    background: rgba(10, 11, 16, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border-card) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .logo {
    color: var(--text-primary) !important; /* Light Gray #f3f4f6 */
}

body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .logo-accent {
    color: var(--accent-color) !important; /* Cyan #06b6d4 */
}

body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .nav-link {
    color: var(--text-secondary) !important; /* Slate #9ca3af */
}

body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .nav-link:hover {
    color: var(--text-primary) !important;
}

body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .theme-toggle-btn,
body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .lang-toggle-btn {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--border-card) !important;
}

body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .theme-toggle-btn:hover,
body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

body:not(.light-theme):not(.admin-body):not(.login-body-container) .navbar-container.scrolled .mobile-menu-toggle {
    color: var(--text-primary) !important;
}

/* 4. Keep Solid/Default Navbar for Admin/Dashboard pages */
body.admin-body .navbar-container,
body.login-body-container .navbar-container {
    background: rgba(10, 11, 16, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-card) !important;
}

body.admin-body.light-theme .navbar-container,
body.login-body-container.light-theme .navbar-container {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-card) !important;
}



