/* ============================================
   DJ CUSTOM - Premium Digital Agency
   CSS Styles - 2026 Design
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Mint Green Accent */
    --accent: #00E5A0;
    --accent-light: #33EAAF;
    --accent-dark: #00CC8E;
    --accent-glow: rgba(0, 229, 160, 0.3);
    --accent-subtle: rgba(0, 229, 160, 0.08);

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #00E5A0, #00B4D8);
    --gradient-premium: linear-gradient(135deg, #FFD700, #FFA500);
    --gradient-hero: linear-gradient(135deg, #00E5A0 0%, #00B4D8 50%, #7B61FF 100%);

    /* Typography */
    --font-primary: 'Sora', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Dark Theme (Default) */
[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a28;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6b6b80;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(10, 10, 15, 0.85);
    --input-bg: rgba(255, 255, 255, 0.05);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef0f5;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-card-hover: rgba(0, 0, 0, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a2e;
    --text-secondary: #555570;
    --text-tertiary: #8888a0;
    --border-color: rgba(0, 0, 0, 0.06);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.12);
    --nav-bg: rgba(248, 249, 252, 0.85);
    --input-bg: rgba(0, 0, 0, 0.03);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg-secondary); }
html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition-smooth), color var(--transition-smooth);
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-logo-icon {
    margin-bottom: 20px;
}

.preloader-svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    animation: preloaderFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

@keyframes preloaderFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.preloader-logo {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-accent);
    border-radius: 3px;
    animation: preloaderBar 2s ease-in-out forwards;
}

.preloader-text {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes preloaderBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ---------- CURSOR GLOW ---------- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (hover: hover) {
    .cursor-glow.active { opacity: 0.4; }
}

/* ---------- LOGO ---------- */
.nav-logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transition: transform var(--transition-base);
}

.nav-logo:hover .nav-logo-icon {
    transform: rotate(10deg) scale(1.1);
}

.logo-d {
    font-family: var(--font-primary);
    font-weight: 800;
    color: var(--accent);
}

.logo-c {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--text-primary);
    transition: color var(--transition-base);
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--accent-subtle);
}

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

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lang-btn:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.lang-arrow {
    font-size: 0.65rem;
    transition: transform var(--transition-base);
}

.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-option:hover { background: var(--accent-subtle); color: var(--accent); }
.lang-option.active { color: var(--accent); font-weight: 600; }

/* Login Button */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #0a0a0f;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.nav-login-btn:hover {
    background: var(--accent-dark, #00CC8E);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.nav-login-btn i {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .nav-login-btn span {
        display: none;
    }
    .nav-login-btn {
        padding: 8px 10px;
        border-radius: 50%;
    }
    .nav-login-btn i {
        font-size: 0.85rem;
    }
}

/* Nav User Menu */
.nav-user-menu {
    position: relative;
}

.nav-user-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.nav-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-user-btn:hover .nav-user-avatar {
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: 1000;
    padding: 8px 0;
}

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

.nav-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.nav-user-avatar-lg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-user-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.nav-user-info strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.nav-user-role-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--accent-subtle);
    color: var(--accent);
    font-weight: 600;
    width: fit-content;
}

.nav-user-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.nav-user-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav-user-option:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

.nav-user-option i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

.nav-user-logout:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

/* Settings Modal */
.settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.settings-overlay.active {
    display: flex;
}

.settings-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.settings-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-header h2 i {
    color: var(--accent);
}

.settings-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.settings-close:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.settings-body {
    padding: 24px;
}

.settings-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.settings-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
}

.settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-avatar-upload {
    font-size: 0.8rem;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--accent);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.settings-avatar-upload:hover {
    background: var(--accent-subtle);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.settings-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-field input {
    padding: 10px 14px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
}

.settings-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}

.settings-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.settings-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.settings-save-btn {
    padding: 12px 20px;
    background: var(--accent);
    color: #0a0a0f;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
    margin-top: 8px;
}

.settings-save-btn:hover {
    background: var(--accent-dark, #00CC8E);
    transform: translateY(-1px);
}

.settings-status {
    text-align: center;
    font-size: 0.82rem;
    min-height: 20px;
}

.settings-status.success { color: var(--accent); }
.settings-status.error { color: #ff4757; }

/* Theme Toggle - Orbital */
.theme-orbital {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.orbital-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: orbitalSpin 8s linear infinite;
}

.orbital-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, var(--accent) 25%, transparent 50%);
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    opacity: 0;
    transition: opacity 0.4s;
}

.theme-orbital:hover .orbital-ring::before {
    opacity: 1;
}

.theme-orbital:hover .orbital-ring {
    border-color: transparent;
    transform: scale(1.1);
}

@keyframes orbitalSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbital-dot {
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow), 0 0 16px var(--accent-glow);
    transition: all 0.4s;
}

[data-theme="light"] .orbital-dot {
    background: #ffb800;
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.4), 0 0 16px rgba(255, 184, 0, 0.2);
}

.orbital-core {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.orbital-icon-dark,
.orbital-icon-light {
    position: absolute;
    font-size: 0.85rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.orbital-icon-dark {
    color: #a0a0ff;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.orbital-icon-light {
    color: #ffb800;
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
}

[data-theme="light"] .orbital-icon-dark {
    opacity: 0;
    transform: scale(0.3) rotate(180deg);
}

[data-theme="light"] .orbital-icon-light {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

[data-theme="light"] .orbital-ring {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .orbital-ring::before {
    background: conic-gradient(from 0deg, transparent 0%, #ffb800 25%, transparent 50%);
}

.theme-orbital:active .orbital-core {
    transform: scale(0.85);
    transition: transform 0.15s;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- GRADIENT TEXT ---------- */
.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover::before { transform: translateX(100%); }

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

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
    transform: translateY(-2px);
}

.btn-plan {
    width: 100%;
    justify-content: center;
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-plan:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
    transform: translateY(-2px);
}

.btn-premium {
    width: 100%;
    justify-content: center;
    background: var(--gradient-premium);
    color: #1a1a2e;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-primary.btn-submit { width: 100%; justify-content: center; }
.btn-submit .btn-loading, .btn-submit .btn-success { display: none; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: inline-flex; }
.btn-submit.success .btn-text { display: none; }
.btn-submit.success .btn-loading { display: none; }
.btn-submit.success .btn-success { display: inline-flex; align-items: center; gap: 8px; }
.btn-submit.success { background: linear-gradient(135deg, #00E5A0, #00CC8E); }

/* ---------- SECTION STYLES ---------- */
.section-divider {
    margin-top: -1px;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: var(--accent-subtle);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 229, 160, 0.15);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- GLASS CARD ---------- */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 229, 160, 0.15);
    box-shadow: var(--shadow-card);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.7) 0%,
        rgba(10, 10, 15, 0.55) 40%,
        rgba(10, 10, 15, 0.75) 100%
    );
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    opacity: 0.4;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 229, 160, 0.12);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 180, 216, 0.1);
    bottom: -10%;
    left: -5%;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(123, 97, 255, 0.08);
    top: 40%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--accent-subtle);
    border: 1px solid rgba(0, 229, 160, 0.15);
    margin-bottom: 32px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
}

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

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-plus {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    color: var(--accent);
    font-size: 1.2rem;
}

.about-card h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Visual */
.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.about-graphic {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.08;
    animation: aboutPulse 4s ease-in-out infinite;
}

.about-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.15;
    animation: aboutSpin 20s linear infinite;
}

.about-ring-2 {
    width: 380px;
    height: 380px;
    animation-direction: reverse;
    animation-duration: 30s;
    border-style: dashed;
}

.about-center-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--accent);
    animation: aboutPulse 3s ease-in-out infinite;
}

@keyframes aboutPulse {
    0%, 100% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

@keyframes aboutSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-floating-card {
    position: absolute;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    z-index: 2;
    animation: floatCard 6s ease-in-out infinite;
}

.about-floating-card i {
    color: var(--accent);
}

.fc-1 { top: 10%; left: 0; animation-delay: 0s; }
.fc-2 { top: 50%; right: 0; animation-delay: -2s; }
.fc-3 { bottom: 10%; left: 10%; animation-delay: -4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-item {
    padding: 32px 24px;
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    color: var(--accent);
    font-size: 1.3rem;
    transition: all var(--transition-base);
}

.value-item:hover .value-icon {
    background: var(--accent);
    color: #0a0a0f;
    transform: scale(1.1);
}

.value-item h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
    position: relative;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.service-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.service-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0f;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.service-tab i { font-size: 0.9rem; }

/* Pricing Container */
.pricing-container {
    position: relative;
}

.pricing-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    animation: fadeInUp 0.5s ease;
}

.pricing-grid.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-grid.active { display: grid; }

.plan-price-note {
    font-size: 0.78rem !important;
    color: var(--accent) !important;
    font-style: italic;
    opacity: 0.85;
}

.plan-features li .fas.fa-arrow-right {
    color: var(--accent);
    font-size: 0.7rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pricing Card */
.pricing-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.04);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--gradient-accent);
    color: #0a0a0f;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.premium-card {
    border-color: rgba(255, 215, 0, 0.2);
}

.premium-card:hover {
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.1);
}

.premium-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-premium);
}

.plan-tier {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-tier.basic { color: var(--text-tertiary); }
.plan-tier.standard { color: var(--accent); }
.plan-tier.premium { color: #FFD700; }

.plan-price {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 2px;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-grid-4 .plan-price .amount {
    font-size: 2.5rem;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    align-self: flex-end;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child { border-bottom: none; }
.plan-features li i { font-size: 0.8rem; color: var(--accent); }
.plan-features li.disabled { opacity: 0.4; }
.plan-features li.disabled i { color: var(--text-tertiary); }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-info-card h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0f;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Contact Form */
.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 16px 16px 16px 44px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    outline: none;
}

.input-wrapper select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b80' d='M6 8.825L0.575 3.4l.85-.85L6 7.125l4.575-4.575.85.85z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.input-wrapper select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px;
}

/* Form row for 2-column layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

.input-wrapper textarea { resize: vertical; min-height: 120px; }

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent);
    background: var(--accent-subtle);
    box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}

.input-wrapper label {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 0.9rem;
    pointer-events: none;
    transition: all var(--transition-base);
}

.input-wrapper textarea ~ label {
    top: 18px;
    transform: none;
}

.input-wrapper input:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label,
.input-wrapper input:valid ~ label,
.input-wrapper select:focus ~ label,
.input-wrapper select:valid ~ label,
.input-wrapper textarea:focus ~ label,
.input-wrapper textarea:not(:placeholder-shown) ~ label,
.input-wrapper textarea:valid ~ label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--bg-secondary);
    padding: 0 6px;
}

/* Fix for select since it has no placeholder-shown */
.select-wrapper label {
    top: 50%;
    transform: translateY(-50%);
}

.select-wrapper select:focus ~ label,
.select-wrapper select.has-value ~ label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--bg-secondary);
    padding: 0 6px;
    transform: none;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.input-wrapper textarea ~ .input-icon {
    top: 18px;
    transform: none;
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper select:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
    color: var(--accent);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}

.input-wrapper input:focus ~ .input-line,
.input-wrapper select:focus ~ .input-line,
.input-wrapper textarea:focus ~ .input-line {
    width: 100%;
}

.form-error {
    display: none;
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: 6px;
    padding-left: 4px;
}

.form-group.error .form-error { display: block; }
.form-group.error .input-wrapper input,
.form-group.error .input-wrapper select,
.form-group.error .input-wrapper textarea {
    border-color: #ff4757;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
    position: relative;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0f;
    font-weight: 600;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-image-content i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.08);
}

.portfolio-overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.portfolio-card:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: #0a0a0f;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.portfolio-overlay-content h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.portfolio-overlay-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 14px;
}

.portfolio-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.portfolio-tags span {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.btn-portfolio {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0f;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(-10px) rotate(-45deg);
}

.portfolio-card:hover .btn-portfolio {
    opacity: 1;
    transform: translateY(0) rotate(-45deg);
}

.btn-portfolio:hover {
    background: #fff;
    transform: rotate(0deg) scale(1.1) !important;
}

/* Portfolio card with uploaded image */
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   PROMOTIONS CAROUSEL
   ============================================ */
.promos-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.promos-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.promos-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 0 8px;
}

.promo-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 71, 87, 0.12);
    border: 1px solid rgba(255, 71, 87, 0.25);
    border-radius: 100px;
    color: #ff6b7a;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.promo-badge-new {
    background: rgba(0, 229, 160, 0.1);
    border-color: rgba(0, 229, 160, 0.25);
    color: var(--accent);
}

.promo-badge-vip {
    background: rgba(123, 97, 255, 0.1);
    border-color: rgba(123, 97, 255, 0.25);
    color: #a78bfa;
}

.promo-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.promo-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.promo-pricing {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promo-old-price {
    font-size: 1.2rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-weight: 500;
}

.promo-new-price {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-countdown {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-timer-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-timer-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: promoPulse 1.5s ease-in-out infinite;
}

@keyframes promoPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.promo-cta {
    width: fit-content;
    margin-top: 8px;
}

/* Promo Visual */
.promo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-image-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--bg-glass-border);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-elevated);
    transition: transform var(--transition-base);
}

.promo-image-frame:hover {
    transform: translateY(-8px) scale(1.02);
}

.promo-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(0, 229, 160, 0.08), rgba(0, 180, 216, 0.08));
}

.promo-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.6;
}

.promo-placeholder span {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
}

.promo-placeholder-social {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(255, 87, 34, 0.08));
}

.promo-placeholder-social i { color: #E91E63; }

.promo-placeholder-brand {
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.08), rgba(255, 107, 157, 0.08));
}

.promo-placeholder-brand i { color: #7B61FF; }

.promo-discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #0a0a0f;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* Carousel Controls */
.promos-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.promo-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.promo-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
    transform: scale(1.08);
}

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

.promo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.promo-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .promo-slide {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .promo-visual { order: -1; }
    .promo-title { font-size: 1.5rem; }
    .promo-new-price { font-size: 1.8rem; }
    .promo-image-frame { max-width: 320px; }
}

@media (max-width: 480px) {
    .promo-title { font-size: 1.3rem; }
    .promo-desc { font-size: 0.9rem; }
    .promo-new-price { font-size: 1.5rem; }
    .promo-arrow { width: 40px; height: 40px; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    text-align: center;
    max-width: 600px;
}

.lightbox-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.lightbox-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-primary);
    padding: 64px 0 24px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand .nav-logo {
    display: inline-flex;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color var(--transition-base);
}

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

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

.footer-contact i { color: var(--accent); }

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

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.whatsapp-float.visible:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: none;
}

.whatsapp-float.visible .whatsapp-pulse {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* CSS-only fallback: if JS never adds .revealed, force visible after 3s */
@keyframes revealFallback {
    to { opacity: 1; transform: translate(0, 0); }
}
.reveal-up,
.reveal-left,
.reveal-right {
    animation: revealFallback 0.8s ease 3s forwards;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop */
@media (max-width: 1280px) {
    .container { max-width: 1080px; }
    .portfolio-grid { gap: 20px; }
}

/* Tablet */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { order: -1; }
    .about-image-wrapper { max-width: 320px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .pricing-grid.pricing-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .pricing-card.featured { transform: scale(1.02); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 3rem; }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .container { padding: 0 20px; }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 1000;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .menu-toggle { display: flex; }

    .hero-section { padding: 100px 0 60px; min-height: auto; }
    .hero-title { font-size: 2.4rem; line-height: 1.15; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }
    .stat-number { font-size: 2rem; }

    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.95rem; }

    .about-cards { grid-template-columns: 1fr; }

    .pricing-grid,
    .pricing-grid.pricing-grid-4 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured { transform: none; }

    .service-tabs { gap: 6px; }
    .service-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .service-tab span { display: none; }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .portfolio-filters { gap: 8px; }
    .filter-btn { padding: 8px 18px; font-size: 0.8rem; }

    /* Always show overlay on touch devices */
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.8) 100%);
    }
    .portfolio-overlay-content { transform: translateY(0); }
    .btn-portfolio { opacity: 1; transform: translateY(0) rotate(-45deg); }
    .portfolio-overlay-content p { display: none; }
    .portfolio-tags { display: none; }

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

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

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .whatsapp-tooltip { display: none; }

    .contact-form { padding: 28px 20px; }
    .contact-info { gap: 16px; }

    .hero-scroll-indicator { display: none; }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --section-padding: 64px 0;
    }

    .container { padding: 0 16px; }

    .hero-title { font-size: 1.85rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-badge { font-size: 0.8rem; }

    .section-title { font-size: 1.5rem; }
    .section-tag { font-size: 0.75rem; }
    .section-subtitle { font-size: 0.85rem; }

    .values-grid { grid-template-columns: 1fr; }
    .about-card { padding: 20px 16px; }

    .service-tab { padding: 10px 14px; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card { aspect-ratio: 16 / 10; }
    .filter-btn { padding: 7px 14px; font-size: 0.75rem; }

    .pricing-card { padding: 28px 20px; }

    .contact-form { padding: 24px 16px; }
    .contact-info-card { padding: 20px 16px; }

    .footer-brand .nav-logo { font-size: 1.3rem; }
    .footer-socials { gap: 8px; }

    .lang-btn { padding: 6px 10px; font-size: 0.8rem; }
    .nav-container { padding: 0 16px; }
}

/* Extra Small */
@media (max-width: 360px) {
    .hero-title { font-size: 1.6rem; }
    .portfolio-filters { gap: 6px; }
    .filter-btn { padding: 6px 10px; font-size: 0.7rem; }
}

/* ============================================
   UTILITY & PARTICLE EFFECTS
   ============================================ */
.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

/* Theme transition overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--accent);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.theme-transitioning::after {
    opacity: 0.05;
}
