:root {
    --bg-primary: #08080c;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 0, 110, 0.4);
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --pink: #ff006e;
    --purple: #8338ec;
    --blue: #3a86ff;
    --green: #10b981;
    --gradient-brand: linear-gradient(135deg, var(--pink) 0%, var(--purple) 55%, var(--blue) 100%);
    --shadow-glow: 0 20px 60px rgba(255, 0, 110, 0.12);
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.font-display { font-family: 'Syne', sans-serif; }

/* Background */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: -3;
    pointer-events: none;
}

.noise {
    position: fixed;
    inset: 0;
    opacity: 0.025;
    z-index: -2;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
    animation: float 24s infinite ease-in-out;
}

.orb-1 { width: 420px; height: 420px; background: var(--pink); top: -120px; right: -80px; }
.orb-2 { width: 320px; height: 320px; background: var(--purple); bottom: 10%; left: -80px; animation-delay: -8s; }
.orb-3 { width: 280px; height: 280px; background: var(--blue); top: 40%; right: 15%; animation-delay: -14s; opacity: 0.2; }

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

/* Typography */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-pink { color: var(--pink) !important; }
.text-purple { color: #a855f7 !important; }

.lead-muted {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.125rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--pink);
    border-radius: 2px;
}

/* Navigation */
.navbar-cubo {
    background: rgba(8, 8, 12, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    min-height: var(--nav-height);
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar-cubo.scrolled {
    background: rgba(8, 8, 12, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: white;
    flex-shrink: 0;
}

.brand-logo.sm { width: 32px; height: 32px; font-size: 0.95rem; border-radius: 8px; }

.nav-link-cubo {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    margin: 0 0.85rem;
    text-decoration: none;
    transition: color 0.25s;
}

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

.nav-link-cubo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: width 0.3s;
}

.nav-link-cubo:hover::after,
.nav-link-cubo.active::after { width: 100%; }

/* Buttons */
.btn-cubo-primary {
    background: var(--gradient-brand);
    border: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-cubo-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 0, 110, 0.35);
    color: white;
}

.btn-cubo-outline {
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    background: transparent;
    font-weight: 600;
    transition: all 0.25s;
}

.btn-cubo-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-cubo-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.25s;
}

.btn-cubo-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

/* Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    border: 1px solid;
    transition: transform 0.3s;
}

.service-card:hover .service-icon { transform: scale(1.08); }

.icon-seo { color: var(--pink); background: rgba(255, 0, 110, 0.12); border-color: rgba(255, 0, 110, 0.25); }
.icon-content { color: #a855f7; background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.25); }
.icon-link { color: var(--blue); background: rgba(58, 134, 255, 0.12); border-color: rgba(58, 134, 255, 0.25); }
.icon-ads { color: var(--pink); background: rgba(255, 0, 110, 0.12); border-color: rgba(255, 0, 110, 0.25); }
.icon-local { color: #a855f7; background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.25); }
.icon-web { color: var(--blue); background: rgba(58, 134, 255, 0.12); border-color: rgba(58, 134, 255, 0.25); }

.service-card ul {
    padding-left: 1.1rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-card li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.service-link {
    color: var(--pink);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: gap 0.25s;
}

.service-link:hover { gap: 0.75rem; color: #ff4d9e; }

/* Badge */
.badge-cubo {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.25);
    color: #ff6b9d;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.badge-trust {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Marquee */
.marquee-container { overflow: hidden; white-space: nowrap; }

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 30s linear infinite;
}

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

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-glitch {
    position: relative;
    display: inline-block;
}

/* === Hero v2 — interactive stage === */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-aurora {
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 35% at 20% 25%, rgba(255, 0, 110, 0.14), transparent 70%),
        radial-gradient(ellipse 45% 35% at 80% 70%, rgba(131, 56, 236, 0.14), transparent 70%),
        radial-gradient(ellipse 40% 30% at 60% 20%, rgba(58, 134, 255, 0.1), transparent 70%);
    animation: aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(3%, -2%) rotate(2deg) scale(1.05); }
    100% { transform: translate(-3%, 2%) rotate(-2deg) scale(1.02); }
}

.hero-headline { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }

/* Staggered entrance (delays set by JS) */
.hero-reveal {
    opacity: 0;
    transform: translateY(34px);
    animation: hero-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-reveal {
    to { opacity: 1; transform: translateY(0); }
}

/* Shine sweep over gradient text */
.hero-shine,
#media-text {
    background: linear-gradient(110deg, var(--pink) 20%, var(--purple) 40%, var(--blue) 55%, #fff 65%, var(--pink) 75%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine-sweep 5s linear infinite;
}

@keyframes shine-sweep {
    to { background-position: -250% center; }
}

.hero-rotator-line { min-height: 1.05em; }

/* Magnetic buttons */
.magnetic {
    will-change: transform;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stage layout */
.hero-stage {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Cube floats behind dashboard */
.floating-cube {
    position: absolute;
    top: -10px;
    right: -20px;
    z-index: 0;
    opacity: 0.55;
    filter: blur(0.4px) drop-shadow(0 0 40px rgba(255, 0, 110, 0.25));
    animation: cube-bob 7s ease-in-out infinite;
}

.floating-cube .cube-container,
.floating-cube .cube,
.floating-cube .cube-face { width: 140px; height: 140px; }

.floating-cube .cube {
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 26s infinite linear;
}

.floating-cube .cube-face { font-size: 1.15rem; }
.floating-cube .cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(70px); }
.floating-cube .cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(70px); }
.floating-cube .cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(70px); }
.floating-cube .cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(70px); }
.floating-cube .cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(70px); }
.floating-cube .cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(70px); }

@keyframes cube-bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -22px; }
}

/* Dashboard card with 3D tilt */
.dashboard-card {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(255, 0, 110, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    opacity: 0;
    animation: dash-enter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes dash-enter {
    from { opacity: 0; transform: translateY(50px) rotateX(12deg) scale(0.94); }
    to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
}

.tilt-inner {
    padding: 1.5rem;
    transform-style: preserve-3d;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dash-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    min-height: 38px;
    overflow: hidden;
    white-space: nowrap;
}

.dash-search i { color: var(--pink); flex-shrink: 0; }

.dash-caret {
    width: 2px;
    height: 14px;
    background: var(--pink);
    animation: caret-blink 0.9s steps(1) infinite;
    flex-shrink: 0;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.dash-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--green);
    flex-shrink: 0;
}

.dash-rank {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.dash-rank-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.dash-rank-value {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    color: var(--text-primary);
}

.dash-hash { color: var(--pink); }

.dash-rank-delta {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--green);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    padding: 0.3rem 0.75rem 0.3rem 0.4rem;
}

/* Animated bar chart */
.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 110px;
    padding: 0.5rem 0;
}

.dash-chart span {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(to top, rgba(255, 0, 110, 0.35), var(--pink) 75%, #ff5fa2);
    transform-origin: bottom;
    transform: scaleY(0);
    animation: bar-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.25);
}

.dash-chart span:nth-child(even) {
    background: linear-gradient(to top, rgba(131, 56, 236, 0.35), var(--purple) 75%, #a06cff);
    box-shadow: 0 0 12px rgba(131, 56, 236, 0.25);
}

.dash-chart span:nth-child(1) { animation-delay: 1.0s; }
.dash-chart span:nth-child(2) { animation-delay: 1.08s; }
.dash-chart span:nth-child(3) { animation-delay: 1.16s; }
.dash-chart span:nth-child(4) { animation-delay: 1.24s; }
.dash-chart span:nth-child(5) { animation-delay: 1.32s; }
.dash-chart span:nth-child(6) { animation-delay: 1.4s; }
.dash-chart span:nth-child(7) { animation-delay: 1.48s; }
.dash-chart span:nth-child(8) { animation-delay: 1.56s; }
.dash-chart span:nth-child(9) { animation-delay: 1.64s; }
.dash-chart span:nth-child(10) { animation-delay: 1.72s; }
.dash-chart span:nth-child(11) { animation-delay: 1.8s; }
.dash-chart span:nth-child(12) { animation-delay: 1.88s; }

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

.dash-chart-foot {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

/* Keyword rows */
.dash-keywords { display: flex; flex-direction: column; gap: 0.5rem; }

.dash-kw {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
    opacity: 0;
    transform: translateX(-14px);
    animation: kw-in 0.5s ease-out forwards;
}

.dash-kw:nth-child(1) { animation-delay: 2.0s; }
.dash-kw:nth-child(2) { animation-delay: 2.15s; }
.dash-kw:nth-child(3) { animation-delay: 2.3s; }

@keyframes kw-in { to { opacity: 1; transform: translateX(0); } }

.dash-kw-name { color: var(--text-secondary); }

.dash-kw-pos {
    font-weight: 700;
    font-size: 0.75rem;
}

.dash-kw-pos.up { color: var(--green); }

/* Floating badges around dashboard */
.dash-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(17, 17, 24, 0.92);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    opacity: 0;
    animation: badge-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, badge-float 5s ease-in-out infinite;
}

.dash-badge-1 {
    top: 8%;
    left: -6%;
    animation-delay: 2.4s, 2.4s;
}

.dash-badge-2 {
    bottom: 10%;
    right: -4%;
    animation-delay: 2.6s, 3.2s;
}

@keyframes badge-pop {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes badge-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@media (max-width: 1199.98px) {
    .dash-badge-1 { left: 0; }
    .dash-badge-2 { right: 0; }
}

.cube-container {
    perspective: 1000px;
    width: 200px;
    height: 200px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 22s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 0, 110, 0.06);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Syne', sans-serif;
}

.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); color: var(--pink); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(100px); color: var(--purple); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(100px); color: var(--blue); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(100px); color: #ff4d9e; }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(100px); color: #a855f7; }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(100px); color: #60a5fa; }

@keyframes rotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.scroll-indicator { animation: bounce 2s infinite; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Stats */
.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

/* Trust bar */
.trust-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.client-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.client-logo:hover { opacity: 0.8; }

/* Testimonials */
.testimonial-card {
    padding: 2rem;
    height: 100%;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.stars { color: #fbbf24; font-size: 0.85rem; }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08) 0%, rgba(131, 56, 236, 0.08) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 0, 110, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

/* Process steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Syne', sans-serif;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

/* Page header (inner pages) */
.page-hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(255, 0, 110, 0.04) 0%, transparent 100%);
}

.breadcrumb-cubo {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb-cubo a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-cubo a:hover { color: var(--pink); }

/* Forms */
.form-control-cubo,
.form-select-cubo {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.form-control-cubo:focus,
.form-select-cubo:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 0, 110, 0.5);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
    outline: none;
}

.form-control-cubo::placeholder { color: var(--text-muted); }

.form-label-cubo {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

/* Contact info */
.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: border-color 0.25s;
}

.contact-info-item:hover { border-color: var(--border-hover); }

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    flex-shrink: 0;
}

/* Case study */
.case-card { overflow: hidden; }

.case-image {
    height: 200px;
    background: var(--gradient-brand);
    opacity: 0.85;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    position: relative;
}

.case-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 12, 0.9) 0%, transparent 60%);
}

.case-tag {
    position: relative;
    z-index: 1;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
}

.case-metric {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pink);
}

/* Team */
.team-card { text-align: center; padding: 2rem 1.5rem; }

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    border: 2px solid var(--border-subtle);
}

/* Legal pages */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.legal-content li { margin-bottom: 0.4rem; }

.legal-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
}

/* Footer */
.footer-cubo {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
}

.footer-heading {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
}

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

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s;
}

.footer-social:hover {
    border-color: var(--pink);
    color: var(--pink);
    background: rgba(255, 0, 110, 0.08);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    margin-top: 3rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(17, 17, 24, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show { transform: translateY(0); }

/* Service detail */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.feature-list li i {
    color: var(--green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pricing-card {
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.pricing-card.featured {
    border-color: rgba(255, 0, 110, 0.4);
    background: rgba(255, 0, 110, 0.05);
    position: relative;
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    white-space: nowrap;
}

.price-amount {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Map placeholder */
.map-placeholder {
    height: 280px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(rgba(255, 0, 110, 0.05), rgba(131, 56, 236, 0.05)),
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.03) 19px, rgba(255,255,255,0.03) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.03) 19px, rgba(255,255,255,0.03) 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Pulse dot */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* Responsive */
@media (max-width: 991.98px) {
    .cube-container { width: 150px; height: 150px; }
    .cube-face {
        width: 150px;
        height: 150px;
        font-size: 1.25rem;
    }
    .cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(75px); }
    .cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(75px); }
    .cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(75px); }
    .cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(75px); }
    .cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(75px); }
    .cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(75px); }
}

@media (max-width: 767.98px) {
    .display-hero { font-size: 3rem !important; }
    .orb-1, .orb-2 { width: 200px; height: 200px; }
    .stat-number { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
