/* ========================================
   DESING WEB SOLUTIONS - Main Styles
   ======================================== */

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

:root,
[data-theme="dark"] {
    --red: #cf000f;
    --red-hover: #e8112d;
    --red-glow: rgba(207, 0, 15, 0.3);
    --bg-primary: #08080c;
    --bg-secondary: #0e0e14;
    --bg-card: #12121a;
    --bg-card-hover: #181822;
    --border: #1e1e2a;
    --border-light: #2a2a3a;
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #5a5a6a;
    --white: #ffffff;
    --navbar-bg: rgba(8, 8, 12, 0.9);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-red: 0 8px 32px rgba(207, 0, 15, 0.2);
}

[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #eaeaef;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f5;
    --border: #d8d8e0;
    --border-light: #c5c5d0;
    --text-primary: #111118;
    --text-secondary: #555566;
    --text-muted: #888899;
    --white: #ffffff;
    --navbar-bg: rgba(245, 245, 247, 0.92);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 8px 32px rgba(207, 0, 15, 0.12);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== UTILITIES ===== */
.text-accent {
    color: var(--red);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(207, 0, 15, 0.08);
    border: 1px solid rgba(207, 0, 15, 0.15);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn--primary:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(207, 0, 15, 0.35);
}

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

.btn--ghost:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.btn--outline {
    background: transparent;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--outline:hover {
    background: var(--red);
    color: var(--white);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--white {
    background: var(--white);
    color: var(--bg-primary);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--white:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

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

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

.navbar__logo img {
    height: 36px;
    width: auto;
}

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

.navbar__link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--text-primary);
}

.navbar__link--cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 24px;
}

.navbar__link--cta:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
}

.navbar__link svg {
    transition: transform var(--transition);
}

.navbar__dropdown {
    position: relative;
}

.navbar__dropdown:hover .navbar__link svg {
    transform: rotate(180deg);
}

.navbar__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
}

.navbar__dropdown:hover .navbar__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__submenu li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.navbar__submenu li a:hover {
    color: var(--text-primary);
    background: rgba(207, 0, 15, 0.08);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(10, 0, 30, 0.8) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(30, 0, 10, 0.6) 0%, transparent 50%);
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Nebula clouds */
.hero__nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: nebulaPulse 12s ease-in-out infinite;
}

.hero__nebula--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(207, 0, 15, 0.2) 0%, rgba(207, 0, 15, 0.05) 50%, transparent 70%);
    top: -5%;
    right: 5%;
}

.hero__nebula--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 0, 150, 0.15) 0%, rgba(60, 0, 100, 0.05) 50%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -4s;
}

.hero__nebula--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 100, 200, 0.1) 0%, transparent 60%);
    top: 40%;
    left: 30%;
    animation-delay: -8s;
}

@keyframes nebulaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Shooting stars */
.hero__shooting-star {
    position: absolute;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), transparent);
    top: 15%;
    right: -150px;
    transform: rotate(-35deg);
    animation: shootingStar 6s ease-in infinite;
    animation-delay: 2s;
    opacity: 0;
}

.hero__shooting-star::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 6px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px rgba(255,255,255,0.6), 0 0 20px 4px rgba(150,200,255,0.3);
}

.hero__shooting-star--2 {
    width: 100px;
    top: 35%;
    animation-delay: 8s;
    animation-duration: 5s;
    transform: rotate(-30deg);
}

.hero__shooting-star--3 {
    width: 200px;
    top: 60%;
    right: -200px;
    animation-delay: 14s;
    animation-duration: 4.5s;
    transform: rotate(-40deg);
}

.hero__shooting-star--4 {
    width: 80px;
    top: 25%;
    animation-delay: 20s;
    animation-duration: 5.5s;
    transform: rotate(-25deg);
}

@keyframes shootingStar {
    0% { right: -150px; opacity: 0; }
    5% { opacity: 1; }
    40% { opacity: 1; }
    60% { right: 120%; opacity: 0; }
    100% { right: 120%; opacity: 0; }
}

/* Planets */
.hero__planet {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero__planet--1 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 35% 35%, #ff6b6b, #cf000f 40%, #8b0000 80%, #3a0005);
    top: 12%;
    left: 8%;
    box-shadow: inset -8px -4px 12px rgba(0,0,0,0.5), 0 0 30px rgba(207, 0, 15, 0.2);
    animation: planetFloat1 20s ease-in-out infinite;
}

.hero__planet--1::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 14px;
    border: 2px solid rgba(207, 0, 15, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-15deg);
}

.hero__planet--2 {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 35% 35%, #a0a0c0, #606080 60%, #303050);
    bottom: 25%;
    right: 12%;
    box-shadow: inset -4px -2px 6px rgba(0,0,0,0.5), 0 0 15px rgba(160, 160, 200, 0.1);
    animation: planetFloat2 15s ease-in-out infinite;
}

.hero__planet--3 {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 35% 35%, #7ecfff, #0288d1 60%, #01579b);
    top: 55%;
    left: 15%;
    box-shadow: inset -3px -2px 4px rgba(0,0,0,0.4), 0 0 12px rgba(2, 136, 209, 0.15);
    animation: planetFloat3 18s ease-in-out infinite;
}

@keyframes planetFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -10px) rotate(3deg); }
    50% { transform: translate(-5px, 15px) rotate(-2deg); }
    75% { transform: translate(10px, 5px) rotate(1deg); }
}

@keyframes planetFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-12px, -8px); }
    66% { transform: translate(8px, 12px); }
}

@keyframes planetFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -15px); }
}

/* Rocket */
.hero__rocket {
    position: absolute;
    top: 10%;
    right: 12%;
    width: 80px;
    transform: rotate(-35deg);
    animation: rocketFloat 6s ease-in-out infinite;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(207, 0, 15, 0.3));
}

.hero__rocket-svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero__rocket-flames {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__flame {
    position: absolute;
    border-radius: 0 0 50% 50%;
    filter: blur(3px);
    animation: flameFlicker 0.15s ease-in-out infinite alternate;
}

.hero__flame--core {
    width: 10px;
    height: 40px;
    background: linear-gradient(to bottom, #ffffff, #ffeb3b, #ff9800);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40% 40% 50% 50%;
    z-index: 3;
}

.hero__flame--mid {
    width: 18px;
    height: 50px;
    background: linear-gradient(to bottom, #ffeb3b, #ff9800, #cf000f);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40% 40% 50% 50%;
    z-index: 2;
    animation-delay: 0.05s;
    opacity: 0.9;
}

.hero__flame--outer {
    width: 26px;
    height: 60px;
    background: linear-gradient(to bottom, #ff9800, #cf000f, rgba(207, 0, 15, 0));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40% 40% 50% 50%;
    z-index: 1;
    animation-delay: 0.1s;
    opacity: 0.7;
}

@keyframes flameFlicker {
    0% { transform: translateX(-50%) scaleY(1) scaleX(1); }
    100% { transform: translateX(-50%) scaleY(1.15) scaleX(0.9); }
}

@keyframes rocketFloat {
    0%, 100% { transform: rotate(-35deg) translate(0, 0); }
    25% { transform: rotate(-35deg) translate(3px, -8px); }
    50% { transform: rotate(-35deg) translate(-2px, 5px); }
    75% { transform: rotate(-35deg) translate(4px, -3px); }
}

/* Astronaut */
.hero__astronaut {
    position: absolute;
    bottom: 12%;
    right: 18%;
    width: 120px;
    z-index: 2;
    animation: astronautFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(100, 181, 246, 0.2));
    transform-origin: center center;
}

.hero__astronaut-svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero__astronaut-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: astronautGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes astronautFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    15% { transform: translate(5px, -12px) rotate(2deg); }
    30% { transform: translate(-3px, -6px) rotate(-1deg); }
    50% { transform: translate(8px, 8px) rotate(-3deg); }
    65% { transform: translate(-6px, 3px) rotate(1.5deg); }
    80% { transform: translate(2px, -10px) rotate(-2deg); }
}

@keyframes astronautGlow {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.3); }
}

/* Rocket sparks */
.hero__rocket-sparks {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
}

.hero__spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffeb3b;
    border-radius: 50%;
    animation: sparkFly 1s ease-out infinite;
    box-shadow: 0 0 6px 1px rgba(255, 235, 59, 0.5);
}

.hero__spark:nth-child(1) { left: 30%; animation-delay: 0s; }
.hero__spark:nth-child(2) { left: 50%; animation-delay: 0.12s; }
.hero__spark:nth-child(3) { left: 70%; animation-delay: 0.25s; }
.hero__spark:nth-child(4) { left: 20%; animation-delay: 0.37s; }
.hero__spark:nth-child(5) { left: 80%; animation-delay: 0.5s; }
.hero__spark:nth-child(6) { left: 40%; animation-delay: 0.62s; }
.hero__spark:nth-child(7) { left: 60%; animation-delay: 0.75s; }
.hero__spark:nth-child(8) { left: 35%; animation-delay: 0.87s; }

@keyframes sparkFly {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(40px) translateX(var(--spark-x, 5px)) scale(0); opacity: 0; }
}

.hero__spark:nth-child(odd) { --spark-x: -8px; }
.hero__spark:nth-child(even) { --spark-x: 8px; }
.hero__spark:nth-child(3n) { --spark-x: -15px; }
.hero__spark:nth-child(4n) { --spark-x: 12px; }

/* Space dust floating particles */
.hero__space-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__dust {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: dustFloat 25s linear infinite;
}

.hero__dust:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 22s; }
.hero__dust:nth-child(2) { left: 30%; top: 70%; animation-delay: -5s; animation-duration: 28s; }
.hero__dust:nth-child(3) { left: 50%; top: 40%; animation-delay: -10s; animation-duration: 20s; width: 3px; height: 3px; }
.hero__dust:nth-child(4) { left: 70%; top: 60%; animation-delay: -15s; animation-duration: 26s; }
.hero__dust:nth-child(5) { left: 85%; top: 30%; animation-delay: -8s; animation-duration: 24s; width: 1px; height: 1px; }
.hero__dust:nth-child(6) { left: 20%; top: 80%; animation-delay: -18s; animation-duration: 30s; }

@keyframes dustFloat {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    50% { opacity: 0.3; }
    90% { opacity: 0.6; }
    100% { transform: translate(100px, -200px) rotate(360deg); opacity: 0; }
}

.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 20px;
    background: rgba(207, 0, 15, 0.06);
    border: 1px solid rgba(207, 0, 15, 0.12);
    border-radius: 100px;
    margin-bottom: 32px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(207, 0, 15, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(207, 0, 15, 0); }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero__title--accent {
    background: linear-gradient(135deg, var(--red), #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.hero__stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
}

.hero__stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

.hero__stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--red), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== TRUST BAR / CAROUSEL ===== */
.trust {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.trust__label {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.trust__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: trustScroll 40s linear infinite;
    will-change: transform;
}

.trust__track:hover {
    animation-play-state: paused;
}

@keyframes trustScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust__logo {
    flex-shrink: 0;
    height: 44px;
    display: flex;
    align-items: center;
    opacity: 0.4;
    transition: all var(--transition);
    filter: grayscale(100%) brightness(2);
}

.trust__logo:hover {
    opacity: 0.9;
    filter: grayscale(0%) brightness(1);
}

.trust__logo img {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

[data-theme="light"] .trust__logo {
    filter: grayscale(100%) brightness(0.5);
}

[data-theme="light"] .trust__logo:hover {
    filter: grayscale(0%) brightness(1);
}

/* ===== PRODUCTOS ===== */
.productos {
    padding: 120px 0;
}

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

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.product-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 0, 15, 0.08);
    border: 1px solid rgba(207, 0, 15, 0.12);
    border-radius: var(--radius-md);
    color: var(--red);
    margin-bottom: 20px;
}

.product-card__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #22c55e;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
}

.product-card__badge--soon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.product-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.product-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-card__features {
    margin-bottom: 24px;
}

.product-card__features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.product-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

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

.product-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-card__price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ===== DESARROLLO A MEDIDA ===== */
.medida {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.medida__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.medida__line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--red), var(--border), var(--red));
}

.medida__step {
    position: relative;
    padding-left: 80px;
    padding-bottom: 48px;
}

.medida__step:last-of-type {
    padding-bottom: 0;
}

.medida__step-marker {
    position: absolute;
    left: 8px;
    top: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--red);
    border-radius: 50%;
    color: var(--red);
    z-index: 1;
    transition: all var(--transition);
}

.medida__step:hover .medida__step-marker {
    background: var(--red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.medida__step-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.medida__step:hover .medida__step-content {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.medida__step-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--red);
    letter-spacing: 2px;
}

.medida__step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0 8px;
}

.medida__step-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.medida__step-content ul {
    margin-bottom: 16px;
}

.medida__step-content li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.medida__step-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.medida__step-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 14px;
    background: rgba(207, 0, 15, 0.06);
    border-radius: 100px;
}

.medida__step-time svg {
    color: var(--red);
}

.medida__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 64px;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(207, 0, 15, 0.08), rgba(207, 0, 15, 0.02));
    border: 1px solid rgba(207, 0, 15, 0.15);
    border-radius: var(--radius-xl);
}

.medida__cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.medida__cta-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== SERVICIOS ===== */
.servicios {
    padding: 120px 0;
}

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

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card__number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(207, 0, 15, 0.06);
    line-height: 1;
}

.service-card__icon {
    color: var(--red);
    margin-bottom: 24px;
}

.service-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card__list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

/* ===== PORTAFOLIO ===== */
.portafolio {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-card__image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, var(--bg-card), #1a0005);
    display: flex;
    align-items: flex-end;
}

.portfolio-card--featured .portfolio-card__image {
    min-height: 100%;
    background: linear-gradient(135deg, #0a001a, #1a0005);
}

.portfolio-card__image--park {
    background: linear-gradient(135deg, #001a0a, #0a1a00);
}

.portfolio-card__image--chamaco {
    background: linear-gradient(135deg, #1a0a00, #1a1000);
}

.portfolio-card__image--security {
    background: linear-gradient(135deg, #000a1a, #001a1a);
}

.portfolio-card__image--pos {
    background: linear-gradient(135deg, #0a0a1a, #1a001a);
}

.portfolio-card__image--talleres {
    background: linear-gradient(135deg, #1a1a00, #1a0a00);
}

.portfolio-card__overlay {
    padding: 32px;
    background: linear-gradient(to top, rgba(8,8,12,0.95), rgba(8,8,12,0.2));
    width: 100%;
    transition: all var(--transition);
}

.portfolio-card:hover .portfolio-card__overlay {
    background: linear-gradient(to top, rgba(8,8,12,0.98), rgba(8,8,12,0.5));
}

.portfolio-card__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.portfolio-card__overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.portfolio-card--featured .portfolio-card__overlay h3 {
    font-size: 1.8rem;
}

.portfolio-card__overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.portfolio-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f59e0b;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 100px;
}

/* ===== NOSOTROS ===== */
.nosotros {
    padding: 120px 0;
}

.nosotros__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nosotros__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.nosotros__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.nosotros__experience {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(207, 0, 15, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    color: var(--white);
}

.nosotros__experience-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.nosotros__experience-text {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}

.nosotros__content .section-tag {
    display: inline-block;
}

.nosotros__content .section-title {
    text-align: left;
}

.nosotros__content p {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.nosotros__content p strong {
    color: var(--text-primary);
}

.nosotros__values {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nosotros__value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.nosotros__value svg {
    flex-shrink: 0;
    color: var(--red);
    margin-top: 2px;
}

.nosotros__value strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.nosotros__value span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ===== TESTIMONIOS ===== */
.testimonios {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 0, 15, 0.1);
    border: 1px solid rgba(207, 0, 15, 0.2);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red);
}

.testimonial-card__author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-card__author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CONTACTO ===== */
.contacto {
    padding: 120px 0;
}

.contacto__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.contacto__info .section-title {
    text-align: left;
}

.contacto__info > p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.contacto__methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contacto__method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contacto__method:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.contacto__method svg {
    flex-shrink: 0;
    color: var(--red);
}

.contacto__method strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.contacto__method span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contacto__social {
    display: flex;
    gap: 12px;
}

.contacto__social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.contacto__social a:hover {
    color: var(--red);
    border-color: var(--red);
    background: rgba(207, 0, 15, 0.08);
}

.contacto__form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contacto__form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(207, 0, 15, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a5a6a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contacto__form .btn {
    margin-top: 8px;
}

.contacto__form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

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

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

.footer__brand img {
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.footer__col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer__col li {
    margin-bottom: 8px;
}

.footer__col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__col a:hover {
    color: var(--red);
}

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

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

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__social a:hover {
    color: var(--red);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: var(--white);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .productos__grid,
    .servicios__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portafolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-card--featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .nosotros__inner,
    .contacto__inner,
    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nosotros__image img {
        height: 400px;
    }

    .medida__cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        background: var(--bg-card);
        border-left: 1px solid var(--border);
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .navbar__link--cta {
        text-align: center;
        justify-content: center;
        margin-top: 16px;
    }

    .navbar__dropdown .navbar__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__stats {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .hero__stat-divider {
        width: 48px;
        height: 1px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__scroll {
        display: none;
    }

    .hero__rocket {
        width: 55px;
        top: 5%;
        right: 5%;
    }

    .hero__astronaut {
        width: 70px;
        bottom: 8%;
        right: 8%;
    }

    .hero__planet--1 {
        width: 40px;
        height: 40px;
    }

    .hero__planet--1::after {
        width: 60px;
        height: 10px;
    }

    .hero__shooting-star,
    .hero__shooting-star--2,
    .hero__shooting-star--3,
    .hero__shooting-star--4 {
        display: none;
    }

    .productos__grid,
    .servicios__grid,
    .testimonios__grid {
        grid-template-columns: 1fr;
    }

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

    .portfolio-card--featured {
        grid-column: span 1;
    }

    .nosotros__image img {
        height: 300px;
    }

    .medida__step {
        padding-left: 60px;
    }

    .medida__line {
        left: 18px;
    }

    .medida__step-marker {
        left: 0;
        width: 38px;
        height: 38px;
    }

    .medida__step-marker svg {
        width: 20px;
        height: 20px;
    }

    .medida__cta {
        padding: 28px;
    }

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .trust__track {
        gap: 40px;
        animation-duration: 30s;
    }

    .trust__logo img {
        height: 36px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .product-card,
    .service-card,
    .testimonial-card,
    .contacto__form {
        padding: 24px;
    }

    .medida__step-content {
        padding: 24px;
    }

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

/* ===== NAVBAR CONTROLS (Theme + Lang) ===== */
.navbar__controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.navbar__theme-toggle,
.navbar__lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0;
}

.navbar__theme-toggle:hover,
.navbar__lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.navbar__theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.navbar__theme-toggle:hover svg {
    transform: rotate(30deg);
}

/* Sun icon hidden in dark, visible in light */
.navbar__theme-toggle .icon-sun { display: none; }
.navbar__theme-toggle .icon-moon { display: block; }
[data-theme="light"] .navbar__theme-toggle .icon-sun { display: block; }
[data-theme="light"] .navbar__theme-toggle .icon-moon { display: none; }

/* Lang button active state */
.navbar__lang-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* Light theme specific tweaks */
[data-theme="light"] .hero__bg {
    background: radial-gradient(ellipse at 30% 50%, rgba(200, 210, 240, 0.5) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(255, 220, 220, 0.4) 0%, transparent 50%);
}

[data-theme="light"] .hero__nebula--1 {
    background: radial-gradient(circle, rgba(207, 0, 15, 0.08) 0%, transparent 60%);
}

[data-theme="light"] .hero__nebula--2 {
    background: radial-gradient(circle, rgba(100, 0, 150, 0.06) 0%, transparent 60%);
}

[data-theme="light"] .hero__nebula--3 {
    background: radial-gradient(circle, rgba(0, 100, 200, 0.05) 0%, transparent 60%);
}

[data-theme="light"] .hero__planet--1 {
    box-shadow: inset -8px -4px 12px rgba(0,0,0,0.3), 0 0 20px rgba(207, 0, 15, 0.1);
}

[data-theme="light"] .hero__shooting-star {
    background: linear-gradient(90deg, rgba(0,0,0,0.3), transparent);
}

[data-theme="light"] .hero__shooting-star::before {
    background: rgba(100, 100, 150, 0.8);
    box-shadow: 0 0 8px 2px rgba(100,100,150,0.3);
}

[data-theme="light"] .hero__dust {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .hero__rocket {
    filter: drop-shadow(0 0 15px rgba(207, 0, 15, 0.15));
}

[data-theme="light"] .hero__astronaut {
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.1));
}

[data-theme="light"] .hero__astronaut-glow {
    background: radial-gradient(circle, rgba(79, 195, 247, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .service-card__number {
    color: rgba(207, 0, 15, 0.08);
}

[data-theme="light"] .hero__title--accent {
    background: linear-gradient(135deg, #a8000c, var(--red));
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .portfolio-card__overlay {
    background: linear-gradient(to top, rgba(245,245,247,0.95), rgba(245,245,247,0.3));
}

[data-theme="light"] .portfolio-card:hover .portfolio-card__overlay {
    background: linear-gradient(to top, rgba(245,245,247,0.98), rgba(245,245,247,0.6));
}

[data-theme="light"] .navbar__menu {
    background: var(--bg-card);
}

[data-theme="light"] .whatsapp-float {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* Theme transition for smooth switch */
body.theme-transitioning,
body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Mobile adjustments for controls */
@media (max-width: 768px) {
    .navbar__controls {
        position: absolute;
        top: 16px;
        right: 60px;
    }

    .navbar__theme-toggle,
    .navbar__lang-btn {
        width: 34px;
        height: 34px;
        font-size: 0.72rem;
    }
}
