/* ============================================
   PERFORMANCE DASHBOARDS - PORTFOLIO
   Design System & Global Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0B0B0B;
    --bg-secondary: #1A0F0A;
    --bg-card: rgba(26, 15, 10, 0.45);
    --orange-neon: #FF7A00;
    --orange-light: #FF9A1F;
    --orange-dark: #C85A00;
    --orange-glow: rgba(255, 122, 0, 0.4);
    --orange-glow-soft: rgba(255, 122, 0, 0.15);
    --text-primary: #F2F2F2;
    --text-secondary: #8A8A8A;
    --text-muted: #555;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 122, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-primary: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(255, 122, 0, 0.15);
    --shadow-layered:
        0 1px 2px rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.25),
        0 16px 32px rgba(0,0,0,0.2);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--orange-neon) var(--bg-primary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--orange-neon), var(--orange-dark));
    border-radius: 10px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- Custom Cursor ---------- */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--orange-neon);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 10px var(--orange-neon), 0 0 20px var(--orange-glow);
}

.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 2px solid rgba(255, 122, 0, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-dot.hover {
    width: 14px; height: 14px;
    background: var(--orange-light);
}

.cursor-ring.hover {
    width: 55px; height: 55px;
    border-color: var(--orange-neon);
}

/* ---------- Neon Canvas ---------- */
#neonCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

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

.navbar.scrolled {
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-dark));
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 0 15px var(--orange-glow);
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.nav-logo:hover .logo-icon {
    box-shadow: 0 0 25px var(--orange-glow), 0 0 40px rgba(255, 122, 0, 0.2);
    transform: rotate(-5deg) scale(1.05);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 8px 18px;
    flex: 0 1 260px;
    transition: var(--transition-smooth);
}

.nav-search i {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.nav-search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    width: 100%;
}

.nav-search input::placeholder { color: var(--text-muted); }

.nav-search:focus-within {
    border-color: var(--orange-neon);
    box-shadow: 0 0 15px var(--orange-glow-soft);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--orange-neon);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    left: 18px; right: 18px;
}

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

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

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(0.8);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(11,11,11,0.6) 0%, rgba(11,11,11,0.3) 40%, rgba(11,11,11,0.7) 80%, var(--bg-primary) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(255,122,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(255,154,31,0.05) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 32px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--orange-light);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateY(100%);
    position: relative;
    cursor: default;
    transition: text-shadow 0.3s;
}

.title-word::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--orange-neon), var(--orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 0.4s;
}

.title-word:hover::before {
    opacity: 1;
}

.title-word:hover {
    text-shadow: 0 0 40px var(--orange-glow), 0 0 80px rgba(255,122,0,0.1);
}

.title-line-2 .title-word {
    animation-delay: 0.5s;
}

.title-accent {
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px var(--orange-glow));
}

.title-accent::before { display: none; }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.7s forwards;
    opacity: 0;
    letter-spacing: 0.02em;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s forwards;
    opacity: 0;
    margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-dark));
    color: #fff;
    box-shadow: 0 4px 20px var(--orange-glow), var(--shadow-layered);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(255,122,0,0.5), 0 0 50px rgba(255,122,0,0.2);
    transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-ghost {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--orange-neon);
    background: var(--glass-hover);
    box-shadow: 0 0 20px var(--orange-glow-soft);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px) scale(1.02);
}

.btn-project {
    padding: 12px 24px;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-dark));
    color: #fff;
    box-shadow: 0 4px 15px var(--orange-glow);
    border-radius: var(--radius-md);
}

.btn-project:hover {
    box-shadow: 0 6px 25px rgba(255,122,0,0.5);
    transform: translateY(-2px);
}

.btn-contact {
    flex: 1;
    justify-content: center;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

/* ---------- Hero Stats ---------- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 1s ease-out 1.1s forwards;
    opacity: 0;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--orange-neon);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

/* ---------- Scroll Indicator ---------- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    animation: fadeInUp 1s ease-out 1.5s forwards, float 3s ease-in-out infinite 2s;
    opacity: 0;
}

.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px; height: 8px;
    background: var(--orange-neon);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--orange-neon);
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* ---------- Section Styles ---------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 32px;
    position: relative;
    z-index: 2;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--orange-glow-soft);
    color: var(--orange-neon);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    border: 1px solid rgba(255, 122, 0, 0.2);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.text-accent {
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* ---------- About / Cards ---------- */
.about {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,122,0,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(26,15,10,0.6) 0%, transparent 50%);
}

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

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: all var(--transition-smooth);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-layered);
}

.glass-card:hover {
    border-color: rgba(255, 122, 0, 0.3);
    box-shadow:
        var(--shadow-layered),
        0 0 30px var(--orange-glow-soft),
        inset 0 0 30px rgba(255, 122, 0, 0.03);
    transform: translateY(-5px);
}

.card-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 0;
    filter: blur(30px);
}

.glass-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,122,0,0.15), rgba(255,122,0,0.05));
    border: 1px solid rgba(255, 122, 0, 0.2);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    color: var(--orange-neon);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    /* Neumorphism subtle */
    box-shadow:
        4px 4px 10px rgba(0,0,0,0.4),
        -2px -2px 8px rgba(255,255,255,0.03);
}

.glass-card:hover .card-icon {
    box-shadow:
        0 0 20px var(--orange-glow),
        4px 4px 10px rgba(0,0,0,0.4);
    transform: scale(1.08);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.card-tag {
    padding: 4px 12px;
    background: rgba(255, 122, 0, 0.08);
    border: 1px solid rgba(255, 122, 0, 0.15);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--orange-light);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ---------- Projects Section ---------- */
.projects {
    position: relative;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(255,122,0,0.03) 0%, transparent 50%);
}

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

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-layered);
    transform-style: preserve-3d;
}

.project-card:hover {
    border-color: rgba(255, 122, 0, 0.3);
    box-shadow:
        var(--shadow-layered),
        0 0 40px var(--orange-glow-soft);
    transform: translateY(-8px);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s;
}

.project-card:hover .project-image {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,11,11,0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-category {
    padding: 6px 14px;
    background: rgba(255,122,0,0.2);
    border: 1px solid rgba(255,122,0,0.3);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
}

.project-info {
    padding: 28px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-techs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-techs span {
    padding: 4px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---------- Contact Section ---------- */
.contact {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 80%, rgba(255,122,0,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26,15,10,0.5) 0%, transparent 50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: stretch;
}

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.contact-method:hover {
    border-color: rgba(255, 122, 0, 0.25);
    background: rgba(255, 122, 0, 0.04);
}

.contact-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,122,0,0.15), rgba(255,122,0,0.05));
    border: 1px solid rgba(255, 122, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    color: var(--orange-neon);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-value:hover { color: var(--orange-neon); }

.contact-actions {
    display: flex;
    gap: 14px;
    position: relative;
    z-index: 1;
}

/* Contact Visual */
.contact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.contact-visual-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.orbit-container {
    position: relative;
    width: 200px; height: 200px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255,122,0,0.12);
    border-radius: 50%;
}

.orbit-1 {
    inset: 20px;
    animation: orbitRotate 8s linear infinite;
}

.orbit-2 {
    inset: 10px;
    animation: orbitRotate 12s linear infinite reverse;
}

.orbit-3 {
    inset: 0;
    animation: orbitRotate 16s linear infinite;
}

.orbit-dot {
    position: absolute;
    top: -4px; left: 50%;
    width: 8px; height: 8px;
    background: var(--orange-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--orange-neon), 0 0 20px var(--orange-glow);
    transform: translateX(-50%);
}

.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-dark));
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 30px var(--orange-glow), 0 0 60px rgba(255,122,0,0.15);
}

.contact-visual-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 32px 0;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-logo i {
    color: var(--orange-neon);
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

.footer-socials a {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    border-color: var(--orange-neon);
    color: var(--orange-neon);
    box-shadow: 0 0 15px var(--orange-glow-soft);
    transform: translateY(-3px);
}

/* ---------- Scroll-Triggered Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ---------- Keyframes ---------- */
@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--orange-neon); }
    50% { opacity: 0.5; box-shadow: 0 0 20px var(--orange-neon), 0 0 30px var(--orange-glow); }
}

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

@keyframes liquid-blob {
    0%, 100% { border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; }
    25% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 40% 60% 50%; }
    75% { border-radius: 50% 40% 50% 60% / 35% 55% 45% 65%; }
}

/* ---------- Liquid Blob ---------- */
.liquid-blob {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,122,0,0.08) 0%, transparent 70%);
    animation: liquid-blob 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

/* ---------- Why Buy Section ---------- */
.why-buy {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,122,0,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(26,15,10,0.6) 0%, transparent 50%);
}

.why-buy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.why-buy-card {
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.why-buy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 122, 0, 0.35);
    box-shadow:
        var(--shadow-layered),
        0 0 40px var(--orange-glow-soft),
        inset 0 0 40px rgba(255, 122, 0, 0.03);
}

.why-buy-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-buy-icon {
    width: 72px; height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,122,0,0.2), rgba(255,122,0,0.05));
    border: 1px solid rgba(255, 122, 0, 0.25);
    border-radius: 50%;
    font-size: 1.6rem;
    color: var(--orange-neon);
    position: relative;
    z-index: 1;
    transition: all var(--transition-smooth);
    box-shadow:
        0 0 20px rgba(255,122,0,0.1),
        inset 0 0 15px rgba(255,122,0,0.05);
}

.why-buy-card:hover .why-buy-icon {
    box-shadow:
        0 0 30px var(--orange-glow),
        inset 0 0 20px rgba(255,122,0,0.1);
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255,122,0,0.3), rgba(255,122,0,0.1));
}

.why-buy-icon-ring {
    position: absolute;
    width: 96px; height: 96px;
    border: 1px dashed rgba(255, 122, 0, 0.15);
    border-radius: 50%;
    animation: orbitRotate 12s linear infinite;
}

.why-buy-card:hover .why-buy-icon-ring {
    border-color: rgba(255, 122, 0, 0.35);
    animation-duration: 6s;
}

.why-buy-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.why-buy-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.why-buy-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange-neon), var(--orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-buy-stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.why-buy-cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

/* ============================================
   RESPONSIVE DESIGN SYSTEM
   Breakpoints:
   - xs: max-width 360px  (celulares pequenos)
   - sm: max-width 480px  (celulares)
   - md: max-width 768px  (tablets portrait)
   - lg: max-width 1024px (tablets landscape / laptops pequenos)
   - xl: max-width 1200px (laptops)
   - xxl: acima de 1200px (desktops)
   ============================================ */

/* ---------- Touch Device Detection ---------- */
@media (hover: none) and (pointer: coarse) {
    /* Desabilita cursor custom em dispositivos touch */
    .cursor-dot, .cursor-ring { display: none !important; }
    body { cursor: auto !important; }

    /* Remove efeitos hover que não funcionam bem em touch */
    .glass-card:hover {
        transform: none;
    }

    .project-card:hover {
        transform: none;
    }

    .project-card:hover .project-image {
        transform: none;
        filter: none;
    }

    .why-buy-card:hover {
        transform: none;
    }

    .btn-primary:hover,
    .btn-ghost:hover,
    .btn-whatsapp:hover,
    .btn-project:hover {
        transform: none;
    }

    .footer-socials a:hover {
        transform: none;
    }

    /* Reduz partículas e efeitos pesados para performance */
    #neonCanvas {
        opacity: 0.15;
    }

    .liquid-blob {
        display: none;
    }
}

/* ---------- Laptop / Desktop Pequeno (max: 1200px) ---------- */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 24px;
    }

    .section-container {
        padding: 100px 28px;
    }

    .footer-container {
        padding: 0 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-visual {
        min-height: 250px;
    }
}

/* ---------- Tablet Landscape / Laptop Pequeno (max: 1024px) ---------- */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .projects-grid {
        gap: 24px;
    }

    .why-buy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .hero-content {
        max-width: 750px;
    }

    .nav-search {
        flex: 0 1 200px;
    }

    .section-container {
        padding: 90px 24px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .orbit-container {
        width: 170px;
        height: 170px;
    }
}

/* ---------- Tablet Portrait (max: 768px) ---------- */
@media (max-width: 768px) {
    /* --- Navegação Mobile --- */
    .nav-search { display: none; }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        height: 100dvh; /* altura dinâmica do viewport */
        background: rgba(11,11,11,0.97);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.open { right: 0; }

    .nav-link {
        width: 100%;
        padding: 14px 18px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .nav-link::after { display: none; }

    .nav-toggle { display: flex; }

    .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);
    }

    /* --- Overlay do Menu Mobile --- */
    .nav-links.open::before {
        content: '';
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 4rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
        margin-bottom: 24px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-cta {
        margin-bottom: 36px;
    }

    .hero-cta .btn {
        padding: 12px 26px;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-suffix {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        width: 1px; height: 32px;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    /* --- Sections --- */
    .section-container {
        padding: 80px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.5rem);
    }

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

    /* --- Grids --- */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-buy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* --- Cards --- */
    .glass-card {
        padding: 30px 24px;
    }

    .card-icon {
        width: 50px; height: 50px;
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-description {
        font-size: 0.88rem;
    }

    /* --- Why Buy --- */
    .why-buy-card {
        padding: 32px 24px;
    }

    .why-buy-icon {
        width: 64px; height: 64px;
        font-size: 1.4rem;
    }

    .why-buy-icon-ring {
        width: 84px; height: 84px;
    }

    .why-buy-stats {
        gap: 24px;
    }

    .why-buy-cta {
        margin-top: 40px;
    }

    /* --- Projects --- */
    .project-info {
        padding: 22px;
    }

    .project-title {
        font-size: 1.15rem;
    }

    .project-description {
        font-size: 0.85rem;
    }

    /* --- Contact --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .btn-contact {
        flex: auto;
    }

    .contact-method {
        padding: 14px;
    }

    .contact-icon {
        width: 42px; height: 42px;
        font-size: 1rem;
    }

    .contact-visual {
        min-height: 250px;
    }

    /* --- Footer --- */
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 20px;
    }

    .footer-logo {
        justify-content: center;
    }

    /* --- Cursor --- */
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
}

/* ---------- Mobile (max: 480px) ---------- */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-logo {
        font-size: 1.1rem;
        gap: 8px;
    }

    .logo-icon {
        width: 32px; height: 32px;
    }

    .nav-links {
        width: 100%;
        right: -100%;
        padding: 90px 24px 24px;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: clamp(1.8rem, 12vw, 3rem);
    }

    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 28px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 14px;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 13px 24px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 14px;
    }

    .stat-divider {
        width: 40px; height: 1px;
    }

    /* --- Sections --- */
    .section-container {
        padding: 64px 16px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-tag {
        font-size: 0.68rem;
        padding: 5px 12px;
    }

    .section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    /* --- Cards --- */
    .glass-card {
        padding: 24px 18px;
        border-radius: var(--radius-md);
    }

    .card-icon {
        width: 46px; height: 46px;
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .card-title {
        font-size: 1.08rem;
        margin-bottom: 10px;
    }

    .card-description {
        font-size: 0.84rem;
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .card-tag {
        font-size: 0.68rem;
        padding: 3px 10px;
    }

    /* --- Why Buy --- */
    .why-buy-card {
        padding: 28px 20px;
    }

    .why-buy-icon {
        width: 58px; height: 58px;
        font-size: 1.3rem;
    }

    .why-buy-icon-ring {
        width: 76px; height: 76px;
    }

    .why-buy-stat-number {
        font-size: 1.3rem;
    }

    .why-buy-stat-label {
        font-size: 0.68rem;
    }

    .why-buy-stats {
        gap: 20px;
        margin-top: 20px;
        padding-top: 16px;
    }

    .why-buy-cta {
        margin-top: 32px;
    }

    .why-buy-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* --- Projects --- */
    .project-card {
        border-radius: var(--radius-md);
    }

    .project-image-wrapper {
        aspect-ratio: 16/10;
    }

    .project-info {
        padding: 20px 18px;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 0.82rem;
        margin-bottom: 14px;
    }

    .project-techs span {
        font-size: 0.68rem;
        padding: 3px 10px;
    }

    .btn-project {
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
        font-size: 0.82rem;
    }

    .project-image-overlay {
        padding: 14px;
    }

    .project-category {
        font-size: 0.68rem;
        padding: 5px 12px;
    }

    /* --- Contact --- */
    .contact-info-card {
        gap: 28px;
    }

    .contact-method {
        padding: 12px;
        gap: 14px;
    }

    .contact-icon {
        width: 38px; height: 38px;
        font-size: 0.9rem;
    }

    .contact-label {
        font-size: 0.7rem;
    }

    .contact-value {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .btn-contact {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .contact-visual {
        min-height: 220px;
    }

    .orbit-container {
        width: 150px; height: 150px;
    }

    .orbit-center {
        width: 50px; height: 50px;
        font-size: 1.2rem;
    }

    .contact-visual-text {
        font-size: 0.88rem;
    }

    /* --- Footer --- */
    .footer {
        padding: 24px 0;
    }

    .footer-container {
        padding: 0 16px;
        gap: 12px;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer-logo-img {
        width: 24px; height: 24px;
    }

    .footer-text {
        font-size: 0.72rem;
    }

    .footer-socials {
        gap: 12px;
    }

    .footer-socials a {
        width: 34px; height: 34px;
        font-size: 0.8rem;
    }

    /* --- Scroll Indicator --- */
    .scroll-indicator {
        bottom: 16px;
    }

    .scroll-mouse {
        width: 20px; height: 32px;
    }

    .scroll-indicator span {
        font-size: 0.6rem;
    }

    /* --- Animations --- */
    .reveal {
        transform: translateY(25px);
    }
}

/* ---------- Celular Pequeno (max: 360px) ---------- */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 12px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 28px; height: 28px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 14vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.82rem;
    }

    .hero-content {
        padding: 0 12px;
    }

    .section-container {
        padding: 56px 14px;
    }

    .glass-card {
        padding: 22px 16px;
    }

    .card-icon {
        width: 42px; height: 42px;
        font-size: 0.95rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .section-title {
        font-size: clamp(1.35rem, 8vw, 1.8rem);
    }

    .project-info {
        padding: 16px 14px;
    }

    .why-buy-card {
        padding: 22px 16px;
    }

    .contact-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-contact {
        font-size: 0.82rem;
        padding: 12px 16px;
    }

    .orbit-container {
        width: 120px; height: 120px;
    }

    .orbit-center {
        width: 42px; height: 42px;
        font-size: 1rem;
    }
}

/* ---------- Landscape Mode Mobile ---------- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .hero-subtitle {
        margin-bottom: 20px;
        font-size: 0.85rem;
    }

    .hero-cta {
        margin-bottom: 20px;
    }

    .hero-badge {
        margin-bottom: 16px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
    }

    .stat-divider {
        width: 1px; height: 30px;
    }

    .scroll-indicator {
        display: none;
    }

    .section-container {
        padding: 60px 24px;
    }
}

/* ---------- Telas Muito Grandes (min: 1440px) ---------- */
@media (min-width: 1440px) {
    .nav-container {
        max-width: 1400px;
    }

    .section-container {
        max-width: 1320px;
        padding: 140px 40px;
    }

    .footer-container {
        max-width: 1320px;
    }

    .cards-grid {
        gap: 32px;
    }

    .projects-grid {
        gap: 36px;
    }

    .hero-content {
        max-width: 1000px;
    }
}

/* ---------- Print Styles ---------- */
@media print {
    .navbar, .cursor-dot, .cursor-ring, #neonCanvas,
    .hero-particles, .scroll-indicator, .liquid-blob,
    .card-glow, .orbit-container, .nav-toggle {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        cursor: auto;
    }

    .glass-card, .project-card, .why-buy-card, .contact-info-card, .contact-visual {
        background: #f5f5f5;
        border-color: #ddd;
        box-shadow: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-video-wrapper {
        display: none;
    }

    .section-container {
        padding: 40px 20px;
    }
}
