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

:root {
    --primary: #00D4AA;
    --primary-dark: #00B894;
    --primary-light: #33E8C0;
    --accent: #67E8F9;
    --dark: #0D0D1A;
    --dark-surface: #16162A;
    --dark-card: #1E1E38;
    --text: #E8E8F0;
    --text-muted: #B0B0D0;
    --border: rgba(0, 212, 170, 0.15);
}

html { scroll-behavior: smooth; }

/* Lucide Icons */
.lucide-inline {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    stroke: currentColor;
}

.web-card-icon svg,
.b2b-icon svg {
    width: 42px;
    height: 42px;
    stroke: var(--primary-light);
    stroke-width: 1.5;
}

.pillar-block h3 svg {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
    stroke: var(--accent);
    stroke-width: 2;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark);
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    border-bottom: none;
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
    background-size: 200% 100%;
    animation: led-strip 10s linear infinite;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5), 0 0 60px rgba(103, 232, 249, 0.2);
    opacity: 0.75;
    pointer-events: none;
}

@keyframes led-strip {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -40px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark) 40%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: inline-flex;
    align-items: baseline;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    -webkit-text-fill-color: transparent;
}

.logo-h, .logo-u, .logo-r, .logo-y {
    font-family: 'Orbitron', sans-serif;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-mobile-logo { display: none; }

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: calc(0.9rem + 1px);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-sep {
    font-size: 0.75rem;
    font-weight: 300;
    list-style: none;
}

.nav-sep .sep-1 { color: var(--primary); }
.nav-sep .sep-2 { color: #fff; }

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: #0D0D1A !important;
    padding: 0.5rem 1.4rem;
    border-radius: 8px;
    margin-left: 1.5rem;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.5), rgba(103, 232, 249, 0.5)) !important;
}

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

.lang-btn {
    background: var(--dark-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: border-color 0.3s;
}

.lang-btn:hover { border-color: var(--primary-light); }

.lang-btn::after {
    content: '\25BE';
    font-size: 0.7rem;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    min-width: 140px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.open { display: block; }

.lang-option {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--text);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.menu-toggle svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::before { display: none; }

.hero-content { max-width: 800px; position: relative; width: 100%; overflow: hidden; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

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

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

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 3.5rem;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-link {
    text-decoration: none;
    font-size: calc(1.22rem + 2px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    opacity: 0.3;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.hero-link::after {
    content: '→';
    font-size: 0.9em;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-link:hover::before {
    opacity: 1;
    height: 2px;
}

.hero-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

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

.hero-link-primary::before {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero-link-primary::after {
    -webkit-text-fill-color: var(--primary);
}

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

.hero-link-secondary {
    color: #fff;
}

.hero-link-secondary::before {
    background: #fff;
}

.hero-link-secondary::after {
    -webkit-text-fill-color: #fff;
}

.hero-link-secondary:hover {
    color: #fff;
}

.hero-link-sep {
    font-size: 1rem;
    font-weight: 300;
    margin-right: 0.7rem;
}

.sep-1 {
    color: #fff;
}

.sep-2 {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #0D0D1A;
    box-shadow: 0 4px 24px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(0, 212, 170, 0.4);
}

/* Hero tags */
.hero-tags {
    margin-top: 3.5rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    padding: 0.5rem 0;
}

.hero-tags-track {
    display: flex;
    gap: 0;
    animation: tags-scroll 25s linear infinite;
    width: max-content;
}

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

.tag {
    background: transparent;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    will-change: transform, color;
    transform: scale(1);
    white-space: nowrap;
    flex-shrink: 0;
}

.tag::after {
    display: none;
}

.tag.tag-glow {
    color: #fff;
    background: transparent;
    box-shadow: none;
    transform: scale(1.05);
}

.tag.tag-glow::after {
    width: 100%;
    left: 0;
    opacity: 1;
    box-shadow: 0 0 8px rgba(103, 232, 249, 0.3);
}

/* Sections */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: calc(2.5rem + 4px); font-weight: 800; margin-bottom: 0.5rem; }
.section-header h3 { font-size: calc(1.8rem + 2px); font-weight: 800; margin-bottom: 0.5rem; background: linear-gradient(135deg, var(--text), var(--primary-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { color: var(--text-muted); font-size: calc(1rem + 2px); max-width: 560px; margin: 0 auto; }

/* Pillars */
.pillar { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }

.pillar-label {
    display: inline-block;
    background: rgba(0, 212, 170, 0.12);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.pillar-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pillar-block {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.pillar-block:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.pillar-block h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.2rem; }

.pillar-block ul { list-style: none; }

.pillar-block li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.pillar-block li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: 700;
    margin-top: 0.1rem;
}

/* B2B Tags scroll */
.b2b-tags {
    margin-top: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 50%, #000 50%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, #000 50%, transparent);
    padding: 0.5rem 0;
}

.b2b-tags-track {
    display: flex;
    gap: 0;
    animation: tags-scroll 20s linear infinite;
    width: max-content;
}

.b2b-tags .tag {
    font-size: 17px;
    padding: 0.5rem 4.5rem;
}

/* Web Showcase */
.web-showcase {
    background: none;
    border: none;
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.web-showcase::before {
    display: none;
    pointer-events: none;
}

.web-badge {
    display: inline-flex;
    color: var(--accent);
    margin-bottom: 1rem;
    animation: badge-glow 3s ease-in-out infinite;
}

.web-badge svg {
    width: 39px;
    height: 39px;
}

@keyframes badge-glow {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(103, 232, 249, 0)); }
    50% { filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.4)); }
}

.hero-badge-wrap {
    display: inline-block !important;
    margin-bottom: 1rem;
    animation: hero-h-drop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes hero-h-drop {
    0% {
        opacity: 0;
        transform: translateY(-80px) rotate(0deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(30deg) scale(1);
    }
}

.hero-badge-h {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: badge-glow 3s ease-in-out infinite;
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.web-card {
    background: rgba(13, 13, 26, 0.6);
    border: 1px solid rgba(0, 212, 170, 0.1);
    border-radius: 14px;
    padding: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
}

.web-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(103, 232, 249, 0.1);
}

.web-card-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(103, 232, 249, 0.08));
    border-color: rgba(0, 212, 170, 0.25);
}

.web-group-header {
    grid-column: unset;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.web-card-expanded {
    padding: 1.5rem;
}

.web-card-expanded .web-card-header-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
    width: 100%;
    text-align: center;
}

.web-card-expanded .web-card-header-row .web-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.web-card-expanded .web-card-header-row h4 {
    font-size: 20px;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    text-align: center;
}

.web-card-expanded .web-card-header-row p {
    font-size: 1rem;
    margin-bottom: 0;
}

.web-accordion-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.web-accordion-toggle {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--accent);
    transition: transform 0.4s ease;
}

.web-accordion-toggle svg {
    width: 20px;
    height: 20px;
}

.web-accordion.open .web-accordion-toggle {
    transform: rotate(180deg);
}

.web-accordion .web-subgrid {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease, padding-top 0.4s ease;
    margin-top: 0;
    padding-top: 0;
}

.web-accordion.open .web-subgrid {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1.2rem;
    padding-top: 1rem;
}

.web-subgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
}

.web-subcard {
    background: rgba(13, 13, 26, 0.5);
    border: 1px solid rgba(0, 212, 170, 0.08);
    border-radius: 10px;
    padding: 0.8rem;
    transition: border-color 0.3s ease;
}

.web-subcard:hover {
    border-color: rgba(0, 212, 170, 0.25);
}

.web-subcard i {
    width: 18px;
    height: 18px;
    color: var(--primary);
    margin-bottom: 0.4rem;
    display: block;
}

.web-subcard h5 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.web-subcard p {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.web-card-icon {
    margin-bottom: 0.6rem;
    line-height: 1;
    text-align: center;
}

.web-card h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text);
    text-transform: uppercase;
    text-align: center;
}

.web-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: center;
}

.web-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.web-tag {
    background: rgba(0, 212, 170, 0.12);
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.web-stats-wrap {
    overflow: hidden;
    margin-top: 2.5rem;
    padding-top: 2rem;
    height: 6.5rem;
    mask-image: linear-gradient(90deg, transparent 30%, #000 45%, #000 55%, transparent 70%);
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 45%, #000 55%, transparent 70%);
}

.web-stats-track {
    display: flex;
    gap: 10rem;
    width: max-content;
    animation: tags-scroll 45s linear infinite;
}

.web-stat {
    text-align: center;
    flex-shrink: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.web-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.web-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* PDV Block in B2B */
.pdv-block {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--dark-card), rgba(0, 212, 170, 0.06));
    border-color: rgba(0, 212, 170, 0.2);
}

.pdv-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pdv-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.pdv-block ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.2rem 2rem;
}

/* B2B Grid */
.b2b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.b2b-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.b2b-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
}

.b2b-icon {
    margin-bottom: 0.8rem;
    line-height: 1;
}

.b2b-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.b2b-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }

/* How it works */
.how-it-works { padding: 6rem 2rem 10rem; max-width: 900px; margin: 0 auto; }
.how-it-works .section-header { margin-bottom: 7rem; }
/* Circuit Board */
.circuit-board {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.circuit-paths {
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 0;
    pointer-events: none;
}

.circuit-trace {
    fill: none;
    stroke: rgba(0, 212, 170, 0.15);
    stroke-width: 2;
    stroke-dasharray: 225;
    stroke-dashoffset: 225;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.circuit-board.active .circuit-trace-1 {
    stroke-dashoffset: 0;
    stroke: rgba(0, 212, 170, 0.4);
    transition-delay: 0.6s;
}

.circuit-board.active .circuit-trace-2 {
    stroke-dashoffset: 0;
    stroke: rgba(103, 232, 249, 0.35);
    transition-delay: 1.2s;
}

.circuit-board.active .circuit-trace-3 {
    stroke-dashoffset: 0;
    stroke: rgba(0, 212, 170, 0.4);
    transition-delay: 1.8s;
}

.circuit-dot {
    fill: rgba(0, 212, 170, 0.2);
    transition: fill 0.4s ease;
}

.circuit-board.active .circuit-dot {
    fill: var(--primary);
    filter: drop-shadow(0 0 6px rgba(0, 212, 170, 0.6));
}

.circuit-particle {
    fill: var(--accent);
    opacity: 0;
    filter: drop-shadow(0 0 4px rgba(103, 232, 249, 0.8));
}

.circuit-board.active .circuit-particle-1 {
    opacity: 1;
    animation: particle-move-1 2s ease-in-out 1s infinite;
}

.circuit-board.active .circuit-particle-2 {
    opacity: 1;
    animation: particle-move-2 2s ease-in-out 1.6s infinite;
}

.circuit-board.active .circuit-particle-3 {
    opacity: 1;
    animation: particle-move-3 2s ease-in-out 2.2s infinite;
}

@keyframes particle-move-1 {
    0% { cx: 112; opacity: 1; }
    100% { cx: 337; opacity: 0; }
}

@keyframes particle-move-2 {
    0% { cx: 337; opacity: 1; }
    100% { cx: 562; opacity: 0; }
}

@keyframes particle-move-3 {
    0% { cx: 562; opacity: 1; }
    100% { cx: 787; opacity: 0; }
}

.circuit-nodes {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.circuit-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.circuit-board.active .circuit-node[data-step="1"] { opacity: 1; transform: scale(1) translateY(0); transition-delay: 0.2s; }
.circuit-board.active .circuit-node[data-step="2"] { opacity: 1; transform: scale(1) translateY(0); transition-delay: 0.8s; }
.circuit-board.active .circuit-node[data-step="3"] { opacity: 1; transform: scale(1) translateY(0); transition-delay: 1.4s; }
.circuit-board.active .circuit-node[data-step="4"] { opacity: 1; transform: scale(1) translateY(0); transition-delay: 2s; }

.circuit-node-ring {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.06) 0%, transparent 70%);
    border: 2px solid rgba(103, 232, 249, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    animation: none;
}

.circuit-board.active .circuit-node-ring {
    animation: ring-pulse 3s ease-in-out infinite;
}

.circuit-board.active .circuit-node[data-step="1"] .circuit-node-ring { animation-delay: 0s; }
.circuit-board.active .circuit-node[data-step="2"] .circuit-node-ring { animation-delay: 0.75s; }
.circuit-board.active .circuit-node[data-step="3"] .circuit-node-ring { animation-delay: 1.5s; }
.circuit-board.active .circuit-node[data-step="4"] .circuit-node-ring { animation-delay: 2.25s; }

@keyframes ring-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0), 0 0 20px rgba(103, 232, 249, 0); border-color: rgba(103, 232, 249, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(103, 232, 249, 0), 0 0 30px rgba(103, 232, 249, 0.15); border-color: rgba(103, 232, 249, 0.5); }
}

.circuit-node-core {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-card), rgba(30, 30, 56, 0.9));
    border: 1px solid rgba(103, 232, 249, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.circuit-node-core svg {
    width: 26px;
    height: 26px;
    color: var(--primary-light);
    transition: color 0.4s ease, filter 0.4s ease;
}

.circuit-node:hover .circuit-node-ring {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(103, 232, 249, 0.2), 0 0 80px rgba(0, 212, 170, 0.1);
}

.circuit-node:hover .circuit-node-core {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(103, 232, 249, 0.05));
}

.circuit-node:hover .circuit-node-core svg {
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(103, 232, 249, 0.5));
}

.circuit-node-info {
    position: relative;
    padding: 1.5rem 0.7rem 1.2rem;
    border-radius: 16px;
    background: rgba(30, 30, 56, 0.4);
    border: 1px solid rgba(103, 232, 249, 0.06);
    backdrop-filter: blur(8px);
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.circuit-node:hover .circuit-node-info {
    border-color: rgba(103, 232, 249, 0.2);
    background: rgba(30, 30, 56, 0.7);
    transform: translateY(-4px);
}

.circuit-node-num {
    position: static;
    display: inline-block;
    margin-top: 20px;
    align-self: center;
    min-width: 24px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--dark-card);
    background: var(--primary);
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
}

.circuit-node-info h3 {
    margin-top: -10px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--accent);
}

.circuit-node-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

/* CTA */
.cta {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(103, 232, 249, 0.08));
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 14px;
    padding: 2rem 2.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
}

.cta-box p { color: var(--text-muted); font-size: 1.1rem; margin: 0; }

.cta-demo-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(103, 232, 249, 0.25);
    border-radius: 20px;
    padding: 0.35rem 1rem;
    margin-bottom: 2rem;
}

.cta-chat-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    padding: 0.9rem 2rem;
    white-space: nowrap;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.3), 0 0 60px rgba(0, 212, 170, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cta-chat-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.5), 0 0 80px rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

.cta-box .cta-hint {
    margin: 0;
    font-size: calc(0.8rem + 4px);
    color: var(--text);
    font-style: normal;
    text-align: left;
    text-align: left;
}

/* Footer */
footer {
    position: relative;
    padding: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 13, 26, 0.95) 40%);
}

.footer-glow {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
    opacity: 0.5;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    gap: 0;
    align-items: center;
}

.footer-main > .footer-socials {
    justify-self: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

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

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 480px;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-social:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-nav {
    align-items: flex-end;
}

.footer-contact {
    align-items: flex-end;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
}

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

.footer-contact a,
.footer-contact span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

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

.footer-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    stroke: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid;
    border-image: linear-gradient(90deg, transparent, rgba(0,212,170,0.25), rgba(103,232,249,0.25), rgba(0,212,170,0.25), transparent) 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-light);
    opacity: 1;
}

.footer-legal-sep {
    color: var(--text-muted);
    opacity: 0.3;
}

/* Mobile */
@media (max-width: 768px) {
    /* Nav */
    nav { padding: 1rem 1.2rem; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(13, 13, 26, 0.97);
        background-image:
            linear-gradient(rgba(0, 212, 170, 0.06) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 212, 170, 0.06) 1px, transparent 1px);
        background-size: 40px 40px;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        z-index: 999;
        padding: 2rem;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-links a {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 1rem 0;
        display: block;
    }

    .nav-links .nav-sep {
        display: none;
    }

    .nav-mobile-logo {
        display: list-item !important;
        list-style: none;
        margin-bottom: 2.5rem;
    }

    .nav-mobile-logo .logo {
        font-size: 2.5rem;
    }

    .nav-links .nav-cta {
        margin-top: 2rem;
        margin-left: 0;
        padding: 0.8rem 2.5rem !important;
        font-size: 1.2rem !important;
        border-radius: 50px;
        background: transparent !important;
        border: 2px solid transparent;
        background-image: linear-gradient(rgba(13,13,26,0.97), rgba(13,13,26,0.97)), linear-gradient(135deg, var(--primary), var(--accent)) !important;
        background-origin: border-box !important;
        background-clip: padding-box, border-box !important;
        color: #fff !important;
    }

    .nav-links.active { display: flex; }
    .menu-toggle { display: block; z-index: 1000; }

    /* Hero */
    .hero {
        padding: 6rem 1.2rem 3rem;
        min-height: auto;
        overflow: hidden;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-badge-wrap {
        margin-bottom: 0.3rem;
    }

    .hero-badge-h {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-link {
        font-size: 0.85rem;
        letter-spacing: 1px;
        padding: 0.8rem 1.5rem;
        border-radius: 10px;
        text-align: center;
        display: block;
    }

    .hero-link-primary {
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: var(--dark);
        color: var(--dark);
        font-weight: 800;
        padding-top: 0.68rem;
        padding-bottom: 0.68rem;
    }

    .hero-link-secondary {
        border: 1px solid rgba(255, 255, 255, 0.6);
        background: transparent;
        box-shadow: 0 0 15px rgba(0, 212, 170, 0.3), 0 0 30px rgba(103, 232, 249, 0.15);
    }

    .hero-link::after { display: none; }
    .hero-link::before { display: none; }

    .hero-link-sep { display: none; }

    .hero-tags {
        margin-top: 1.75rem;
    }

    .tag {
        font-size: calc(0.55rem + 2px);
    }

    .tag + .tag {
        border-left: none;
    }

    /* Sections */
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header h3 { font-size: 1.2rem; }
    .section-header p { font-size: 0.95rem; padding: 0 0.5rem; }

    /* Pillars */
    .pillar { padding: 3.5rem 1.2rem; }

    /* Web showcase */
    .web-showcase { padding: 1.2rem; border-radius: 16px; margin-bottom: 1.5rem; }
    .web-card-featured { grid-column: span 1; }
    .web-grid { grid-template-columns: 1fr; }
    .web-subgrid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .web-subcard { padding: 0.6rem; }
    .web-subcard h5 { font-size: 0.72rem; }
    .web-subcard p { font-size: 0.65rem; }
    .web-card-expanded { padding: 1.2rem; }
    .web-card h4 { font-size: 23px; }
    .web-card-expanded .web-card-header-row h4 { font-size: 1rem; }
    .web-card-expanded .web-card-header-row p { font-size: 0.85rem; }
    .web-card-tags { gap: 0.3rem; }
    .web-tag { font-size: 0.6rem; padding: 0.15rem 0.5rem; }
    .web-stats-wrap { margin-top: 1.5rem; padding-top: 1.5rem; }
    .web-stats-track { gap: 1rem; }
    .web-stat-number { font-size: 1.5rem; }
    .web-stat-label { font-size: 0.65rem; }

    /* B2B Tags */
    .b2b-tags { margin-top: 2rem; }

    /* Circuit board */
    .circuit-paths { display: none; }
    .how-it-works { padding: 3.5rem 1.2rem; }

    .circuit-nodes {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .circuit-node {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        align-items: flex-start;
    }

    .circuit-node-ring {
        width: 60px;
        height: 60px;
        min-width: 60px;
        margin-bottom: 0;
        margin-top: 0.3rem;
    }

    .circuit-node-core {
        width: 42px;
        height: 42px;
    }

    .circuit-node-core svg {
        width: 20px;
        height: 20px;
    }

    .circuit-node-info {
        max-width: 100%;
        padding: 1.2rem 0.8rem 1rem;
    }

    .circuit-node-num {
        top: -8px;
        font-size: 0.6rem;
        padding: 2px 7px;
    }

    .circuit-node-info h3 {
        margin-top: 0.8rem;
        font-size: 1rem;
    }

    .circuit-node-info p {
        font-size: 0.82rem;
    }

    /* CTA */
    .cta { padding: 3.5rem 1.2rem; }
    .cta-box { padding: 2.5rem 1.5rem; flex-direction: column; }
    .cta-box .cta-hint { text-align: center; }
    .cta-box p { font-size: 0.95rem; }
    .cta-chat-btn { font-size: 0.95rem; padding: 0.8rem 1.5rem; }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.2rem 2rem;
        text-align: center;
    }
    .footer-brand { align-items: center; order: 1; }
    .footer-tagline { max-width: none; }
    .footer-main > .footer-socials { justify-content: center; justify-self: center; order: 3; }
    .footer-contact { align-items: center; order: 2; }
    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 1.2rem 1.2rem;
    }
}
