/* ============================================
   ELGUS - Stylesheet
   Dark Theme | Modern | Responsive
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1a1a25;

    --primary: #00d4aa;
    --primary-dark: #00b894;
    --primary-glow: rgba(0, 212, 170, 0.3);

    --secondary: #6366f1;
    --secondary-glow: rgba(99, 102, 241, 0.3);

    --accent: #f472b6;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border: #27272a;
    --border-light: #3f3f46;

    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-glow: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);

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

    /* Typography */
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.loader-blocks .block {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-blocks .block:nth-child(2) { animation-delay: 0.1s; }
.loader-blocks .block:nth-child(3) { animation-delay: 0.2s; }
.loader-blocks .block:nth-child(4) { animation-delay: 0.3s; }

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.8); opacity: 0.5; }
}

.loader-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-mono);
}

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

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.logo-bracket {
    color: var(--primary);
    font-family: var(--font-mono);
}

.logo-text {
    color: var(--text-primary);
    margin: 0 2px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.nav-link.nav-cta {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-weight: 600;
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

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

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

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

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

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Floating Blocks */
.floating-blocks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.float-block {
    position: absolute;
    border-radius: var(--radius-sm);
    opacity: 0.1;
}

.block-1 {
    width: 80px;
    height: 80px;
    background: var(--primary);
    top: 15%;
    left: 10%;
    animation: float1 8s ease-in-out infinite;
}

.block-2 {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    top: 25%;
    right: 15%;
    animation: float2 10s ease-in-out infinite;
}

.block-3 {
    width: 40px;
    height: 40px;
    background: var(--accent);
    bottom: 30%;
    left: 5%;
    animation: float3 7s ease-in-out infinite;
}

.block-4 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    bottom: 15%;
    right: 10%;
    animation: float1 9s ease-in-out infinite;
}

.block-5 {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    top: 50%;
    left: 15%;
    animation: float2 11s ease-in-out infinite;
}

.block-6 {
    width: 70px;
    height: 70px;
    background: var(--accent);
    top: 10%;
    right: 30%;
    animation: float3 8s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(10deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 20px) rotate(-15deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 25px) rotate(5deg); }
}

/* Hero Container */
.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--primary);
    width: fit-content;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

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

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

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero Visual - Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
}

.code-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.window-title {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.window-content {
    padding: 20px;
    overflow-x: auto;
}

.window-content pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
}

.window-content code {
    font-family: inherit;
}

/* Syntax Highlighting */
.code-keyword { color: #c678dd; }
.code-var { color: #e06c75; }
.code-prop { color: #61afef; }
.code-string { color: #98c379; }
.code-func { color: #61afef; }
.code-param { color: #e5c07b; }

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--primary);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

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

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

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

/* ============================================
   LIGHTSABER SECTION
   ============================================ */
.saber-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #000005;
    overflow: hidden;
    padding: 80px 0;
}

/* Space Background */
.space-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 100px 50px, white, transparent),
        radial-gradient(1px 1px at 200px 150px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 300px 100px, white, transparent),
        radial-gradient(1px 1px at 400px 200px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 500px 80px, white, transparent),
        radial-gradient(1px 1px at 600px 180px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 150px 250px, white, transparent),
        radial-gradient(1px 1px at 350px 300px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 550px 280px, white, transparent),
        radial-gradient(1px 1px at 700px 120px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 50px 180px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 250px 50px, white, transparent),
        radial-gradient(2px 2px at 450px 350px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 650px 50px, white, transparent);
    background-size: 800px 400px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Death Star */
.death-star {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 180px;
    height: 180px;
    opacity: 0.7;
    animation: deathStarFloat 20s ease-in-out infinite;
}

.death-star-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(100, 100, 100, 0.3));
}

.laser-core {
    animation: laserPulse 3s ease-in-out infinite;
}

@keyframes laserPulse {
    0%, 100% {
        fill: #00ff00;
        filter: drop-shadow(0 0 5px #00ff00);
    }
    50% {
        fill: #88ff88;
        filter: drop-shadow(0 0 15px #00ff00);
    }
}

.death-star-laser {
    position: absolute;
    top: 30%;
    left: 35%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg,
        rgba(0, 255, 0, 1) 0%,
        rgba(0, 255, 0, 0.8) 20%,
        rgba(0, 255, 0, 0) 100%
    );
    transform-origin: top center;
    transform: rotate(45deg);
    opacity: 0;
    box-shadow:
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px rgba(0, 255, 0, 0.5);
}

.death-star:hover .death-star-laser {
    animation: fireSuperlaser 2s ease-out;
}

@keyframes fireSuperlaser {
    0% { height: 0; opacity: 1; }
    20% { height: 500px; opacity: 1; }
    100% { height: 500px; opacity: 0; }
}

@keyframes deathStarFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-10px, 5px); }
    50% { transform: translate(0, 10px); }
    75% { transform: translate(10px, 5px); }
}

/* Hyperspace Effect */
.hyperspace {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.star-line {
    position: absolute;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, transparent, #fff, transparent);
    opacity: 0;
    animation: hyperspace 4s ease-in-out infinite;
}

.star-line:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.star-line:nth-child(2) { left: 25%; top: 40%; animation-delay: 0.3s; }
.star-line:nth-child(3) { left: 40%; top: 15%; animation-delay: 0.6s; }
.star-line:nth-child(4) { left: 55%; top: 60%; animation-delay: 0.9s; }
.star-line:nth-child(5) { left: 70%; top: 30%; animation-delay: 1.2s; }
.star-line:nth-child(6) { left: 85%; top: 50%; animation-delay: 1.5s; }
.star-line:nth-child(7) { left: 15%; top: 70%; animation-delay: 1.8s; }
.star-line:nth-child(8) { left: 30%; top: 80%; animation-delay: 2.1s; }
.star-line:nth-child(9) { left: 60%; top: 10%; animation-delay: 2.4s; }
.star-line:nth-child(10) { left: 75%; top: 75%; animation-delay: 2.7s; }
.star-line:nth-child(11) { left: 90%; top: 25%; animation-delay: 3s; }
.star-line:nth-child(12) { left: 5%; top: 55%; animation-delay: 3.3s; }

@keyframes hyperspace {
    0% {
        height: 0;
        opacity: 0;
        transform: translateY(0);
    }
    10% {
        opacity: 1;
    }
    100% {
        height: 150px;
        opacity: 0;
        transform: translateY(200px);
    }
}

/* TIE Fighter */
.tie-fighter {
    position: absolute;
    top: 15%;
    left: 8%;
    width: 60px;
    height: 40px;
    opacity: 0.6;
    animation: tieFly 25s linear infinite;
}

.tie-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

@keyframes tieFly {
    0% {
        transform: translate(0, 0) rotate(-5deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(5deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(-5deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(-5deg);
    }
}

/* X-Wing */
.xwing {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 40px;
    height: 30px;
    opacity: 0.5;
    animation: xwingFly 30s linear infinite;
}

.xwing-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 3px rgba(255, 100, 0, 0.5));
}

@keyframes xwingFly {
    0% {
        transform: translate(0, 0) rotate(10deg) scale(0.8);
    }
    33% {
        transform: translate(150px, -80px) rotate(-5deg) scale(1);
    }
    66% {
        transform: translate(80px, 40px) rotate(15deg) scale(0.9);
    }
    100% {
        transform: translate(0, 0) rotate(10deg) scale(0.8);
    }
}

/* Darth Vader Silhouette */
.vader-silhouette {
    position: absolute;
    bottom: 0;
    left: 3%;
    width: 120px;
    height: 180px;
    opacity: 0.15;
    pointer-events: none;
}

.vader-svg {
    width: 100%;
    height: 100%;
}

/* Star Wars Rotating Quotes */
.sw-quotes {
    position: relative;
    min-height: 60px;
    margin-bottom: 10px;
}

.sw-quote {
    position: absolute;
    font-style: italic;
    font-size: 18px;
    color: rgba(0, 200, 255, 0.9);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
}

.sw-quote.active {
    opacity: 1;
    transform: translateY(0);
}

.sw-quote span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    font-style: normal;
}

/* Star Wars Stats */
.sw-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 12px;
}

.sw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.sw-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4fc3f7;
}

.sw-stat-icon.rebel {
    color: #ff6b35;
}

.sw-stat-icon.jedi {
    color: #00ff00;
}

.sw-stat-icon svg {
    width: 28px;
    height: 28px;
}

.sw-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.sw-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Saber Container */
.saber-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Lightsaber Visual */
.saber-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.lightsaber {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(20deg);
}

.lightsaber-svg {
    width: 80px;
    height: 500px;
    filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.2));
}

/* SVG Blade Animation */
.blade-group rect {
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blade-glow-svg,
.blade-main,
.blade-core-svg {
    height: 0;
}

.lightsaber.active .blade-glow-svg {
    height: 210px;
    animation: bladeFlicker 0.1s ease-in-out infinite alternate;
}

.lightsaber.active .blade-main {
    height: 210px;
}

.lightsaber.active .blade-core-svg {
    height: 210px;
}

@keyframes bladeFlicker {
    0% { opacity: 0.7; }
    100% { opacity: 0.9; }
}

/* Activation button glow */
.activation-btn {
    animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% {
        fill: #ff3333;
        filter: drop-shadow(0 0 3px #ff0000);
    }
    50% {
        fill: #ff6666;
        filter: drop-shadow(0 0 8px #ff0000);
    }
}

/* Saber Reflection/Ambient Glow */
.saber-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 450px;
    background: radial-gradient(ellipse at center top,
        rgba(79, 195, 247, 0.25) 0%,
        rgba(79, 195, 247, 0.1) 30%,
        transparent 60%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.saber-visual.active::before {
    opacity: 1;
}

/* Floor reflection */
.saber-visual::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: radial-gradient(ellipse at center top,
        rgba(79, 195, 247, 0.2) 0%,
        transparent 70%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.saber-visual.active::after {
    opacity: 1;
}

/* Particles */
.saber-particles {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 400px;
    pointer-events: none;
    z-index: 3;
}

.saber-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #80dfff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px #00d4ff;
}

.saber-particles.active span {
    animation: particleRise 2.5s ease-out infinite;
}

.saber-particles span:nth-child(1) { left: 35%; animation-delay: 0s; }
.saber-particles span:nth-child(2) { left: 50%; animation-delay: 0.4s; }
.saber-particles span:nth-child(3) { left: 65%; animation-delay: 0.8s; }
.saber-particles span:nth-child(4) { left: 40%; animation-delay: 1.2s; }
.saber-particles span:nth-child(5) { left: 60%; animation-delay: 1.6s; }
.saber-particles span:nth-child(6) { left: 48%; animation-delay: 2s; }

@keyframes particleRise {
    0% {
        transform: translateY(300px) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(260px) scale(1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
}

/* Saber Text */
.saber-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.saber-quote {
    font-style: italic;
    font-size: 18px;
    color: rgba(0, 200, 255, 0.8);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid rgba(0, 200, 255, 0.5);
}

.saber-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.saber-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 500px;
}

/* Saber Features */
.saber-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.saber-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.saber-feature:hover {
    background: rgba(0, 150, 255, 0.05);
    border-color: rgba(0, 150, 255, 0.2);
    transform: translateX(8px);
}

.feature-icon-saber {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.feature-icon-saber.blue {
    background: rgba(0, 100, 255, 0.15);
    color: #0088ff;
}

.feature-icon-saber.cyan {
    background: rgba(0, 200, 255, 0.15);
    color: #00d4ff;
}

.feature-icon-saber.purple {
    background: rgba(150, 0, 255, 0.15);
    color: #a855f7;
}

.saber-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.saber-feature p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   SOBRE SECTION
   ============================================ */
.sobre {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.sobre-story {
    margin-bottom: 40px;
}

.name-equation {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: var(--font-mono);
}

.name-equation .name {
    color: var(--primary);
}

.name-equation .result {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sobre-story p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.sobre-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.value-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-text p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Founders */
.sobre-founders {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-normal);
}

.founder-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.founder-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-placeholder {
    color: var(--text-muted);
}

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

.founder-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   SERVIÇOS SECTION
   ============================================ */
.servicos {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

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

.servico-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.servico-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.servico-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.servico-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 20px;
}

.servico-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.servico-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.servico-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.servico-features li {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.portfolio-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform var(--transition-slow);
}

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

.portfolio-image.placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

.placeholder-icon {
    color: var(--text-muted);
}

.portfolio-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.portfolio-tag {
    background: var(--bg-primary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--border);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.portfolio-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

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

.portfolio-tech span {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

/* ============================================
   PORTFOLIO FEATURED (Sempre Perto)
   ============================================ */
.portfolio-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #16161f 0%, #1a1a2e 50%, #16161f 100%);
    border: 1px solid rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}

.portfolio-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4aa, #6366f1, #00d4aa, transparent);
    z-index: 2;
}

.portfolio-featured::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.portfolio-featured:hover {
    border-color: #00d4aa;
    transform: translateY(-4px);
    box-shadow: 0 20px 80px rgba(0, 212, 170, 0.15), 0 0 40px rgba(0, 212, 170, 0.05);
}

.featured-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: #0a0a0f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.featured-ribbon svg {
    fill: #0a0a0f;
}

.portfolio-featured-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    position: relative;
    z-index: 1;
}

.portfolio-featured-image {
    height: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-featured-image img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    padding: 0;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 170, 0.2));
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-featured:hover .portfolio-featured-image img {
    transform: scale(1.1) rotate(-2deg);
}

.portfolio-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.featured-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    color: #00d4aa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00d4aa;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.portfolio-featured-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-featured-subtitle {
    font-size: 15px;
    color: #a1a1aa;
    margin-bottom: 16px;
    font-style: italic;
    font-weight: 400;
}

.portfolio-tag-featured {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: #0a0a0f;
    font-weight: 700;
    border: none;
}

/* Play Store Button */
.playstore-section {
    margin-top: 24px;
}

.playstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #1a1a2e, #16161f);
    border: 2px solid rgba(0, 212, 170, 0.4);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.playstore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.08), transparent);
    transition: left 0.6s ease;
}

.playstore-btn:hover::before {
    left: 100%;
}

.playstore-btn:hover {
    border-color: #00d4aa;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 170, 0.25), 0 0 20px rgba(0, 212, 170, 0.1);
}

.playstore-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.playstore-btn:hover .playstore-icon {
    transform: scale(1.15);
}

.playstore-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.playstore-btn-small {
    font-size: 11px;
    color: #a1a1aa;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.playstore-btn-large {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.playstore-arrow {
    flex-shrink: 0;
    color: #00d4aa;
    transition: transform 0.3s ease;
}

.playstore-btn:hover .playstore-arrow {
    transform: translateX(4px);
}

/* Featured card responsive */
@media (max-width: 768px) {
    .portfolio-featured-inner {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-image {
        min-height: 200px;
    }

    .portfolio-featured-image img {
        width: 140px;
        height: 140px;
    }

    .portfolio-featured-content {
        padding: 24px;
    }

    .portfolio-featured-title {
        font-size: 22px;
    }

    .featured-ribbon {
        top: 12px;
        right: 12px;
        font-size: 10px;
        padding: 6px 12px;
    }

    .playstore-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-featured-content {
        padding: 20px;
    }

    .portfolio-featured-subtitle {
        font-size: 13px;
    }

    .playstore-btn-large {
        font-size: 17px;
    }
}

/* Demo Box */
.demo-box {
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 16px 0;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.demo-header svg {
    color: var(--primary);
}

.demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.demo-cred-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.demo-label {
    color: var(--text-muted);
    min-width: 60px;
}

.demo-value {
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #0a0a0f;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-normal);
    width: 100%;
}

.demo-btn:hover {
    background: #00ffc8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
}

.demo-btn svg {
    width: 14px;
    height: 14px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

/* ============================================
   CONTATO SECTION
   ============================================ */
.contato {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contato-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.contato-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.contato-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contato-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contato-text a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.contato-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contato-card-content {
    padding: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contato-card-icon {
    color: var(--primary);
}

.contato-card h3 {
    font-size: 24px;
    font-weight: 700;
}

.contato-card p {
    color: var(--text-secondary);
    max-width: 300px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-normal);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
}

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

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

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

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

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

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

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

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

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

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

.footer-policy-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-policy-link:hover {
    color: var(--primary);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        max-width: 100%;
    }

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

    .hero-visual {
        order: -1;
    }

    .code-window {
        max-width: 100%;
    }

    .saber-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .saber-text {
        order: -1;
        text-align: center;
        align-items: center;
    }

    .saber-quote {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .saber-description {
        max-width: 100%;
    }

    .saber-features {
        width: 100%;
        max-width: 400px;
    }

    .saber-visual {
        min-height: 400px;
    }

    .lightsaber {
        transform: rotate(15deg) scale(0.9);
    }

    .lightsaber-svg {
        width: 70px;
        height: 450px;
    }

    .death-star {
        width: 120px;
        height: 120px;
        top: 3%;
        right: 3%;
        opacity: 0.5;
    }

    /* Hide some Star Wars elements on tablet */
    .tie-fighter {
        width: 40px;
        opacity: 0.4;
    }

    .xwing {
        display: none;
    }

    .vader-silhouette {
        width: 80px;
        height: 120px;
        opacity: 0.1;
    }

    .sw-stats {
        gap: 15px;
        padding: 15px;
    }

    .sw-stat-number {
        font-size: 24px;
    }

    .sw-stat-label {
        font-size: 10px;
    }

    .sw-quotes {
        min-height: 50px;
    }

    .sw-quote {
        font-size: 16px;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .sobre-founders {
        flex-direction: row;
        justify-content: center;
    }

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

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

    .contato-content {
        grid-template-columns: 1fr;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Navigation Mobile */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 24px 40px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 16px;
        text-align: center;
    }

    /* Hero */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .scroll-indicator {
        display: none;
    }

    /* Star Wars Section Mobile */
    .tie-fighter,
    .xwing,
    .vader-silhouette {
        display: none;
    }

    .hyperspace {
        opacity: 0.5;
    }

    .death-star {
        width: 80px;
        height: 80px;
        opacity: 0.3;
    }

    .sw-stats {
        flex-direction: column;
        gap: 20px;
    }

    .sw-stat {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }

    .sw-stat-number {
        font-size: 28px;
    }

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

    .sw-quote {
        position: relative;
        font-size: 15px;
    }

    /* Sobre */
    .name-equation {
        font-size: 18px;
    }

    .sobre-founders {
        flex-direction: column;
    }

    .founder-card {
        padding: 24px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .window-content pre {
        font-size: 11px;
    }

    .lego-piece {
        width: 40px;
        height: 20px;
    }

    .lego-piece::before {
        width: 12px;
        height: 6px;
        top: -6px;
    }
}
