/* ============================================
   CIPHER PRO LLC — ciphrr.com
   Cyberpunk Dark Theme — Cyan/Turquoise Accent
   ============================================ */

/* === Design Tokens === */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-tertiary: #141425;
    --bg-card: #12121f;
    --bg-card-hover: #1a1a2e;

    --text-primary: #e8e8f0;
    --text-secondary: #9898b0;
    --text-muted: #5a5a78;

    --accent: #00e5ff;
    --accent-dim: #00b8d4;
    --accent-glow: rgba(0, 229, 255, 0.15);
    --accent-glow-strong: rgba(0, 229, 255, 0.3);

    --purple: #a855f7;
    --purple-dim: #7c3aed;
    --purple-glow: rgba(168, 85, 247, 0.15);

    --red: #ef4444;
    --green: #22c55e;
    --yellow: #eab308;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 229, 255, 0.2);

    --font-main: 'Space Grotesk', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.08);
}

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

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

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

/* === Animated Background Orbs === */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00e5ff, transparent 70%);
    top: -10%;
    right: -10%;
    animation-duration: 25s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #a855f7, transparent 70%);
    bottom: 20%;
    left: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00e5ff, transparent 70%);
    top: 50%;
    right: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
    opacity: 0.06;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -40px) scale(1.1); }
    50% { transform: translate(-30px, 60px) scale(0.9); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

/* === Grid Pattern Overlay === */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

a {
    color: inherit;
    text-decoration: none;
}

img, video {
    max-width: 100%;
    display: block;
}

/* === Loader === */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px var(--accent-glow-strong);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    border-radius: 2px;
    animation: loadProgress 1.5s ease-in-out forwards;
}

@keyframes loadProgress {
    from { width: 0; }
    to { width: 100%; }
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* === 3D Canvas === */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* === Navigation === */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

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

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-bracket {
    color: var(--accent);
    font-weight: 300;
    font-size: 1.5rem;
}

.logo-text {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--accent-glow-strong);
}

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

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    color: var(--accent);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(0.4) brightness(0.6);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.6) 0%,
        rgba(10, 10, 15, 0.3) 40%,
        rgba(10, 10, 15, 0.7) 80%,
        rgba(10, 10, 15, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.badge-line {
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.badge-line:last-child {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.25em;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.35);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 229, 255, 0.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

/* === Hero Stats === */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

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

/* === Hero Scroll === */
.hero-scroll {
    display: none;
}

.hero-scroll span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
}

.scroll-indicator {
    width: 20px;
    height: 32px;
    border: 1px solid var(--text-muted);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* === Sections === */
.section {
    position: relative;
    padding: 6rem 0;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--accent);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* === About === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.highlight h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.highlight p {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* === Terminal === */
.terminal {
    background: #0d0d18;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow), var(--shadow-glow);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

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

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.terminal-line {
    white-space: nowrap;
    overflow: hidden;
}

.prompt {
    color: #00e5ff;
    margin-right: 8px;
}

.cmd {
    color: #e8e8f0;
}

.output {
    color: var(--text-secondary);
}

.output.success {
    color: var(--green);
}

.output.warning {
    color: var(--yellow);
}

.output.error {
    color: var(--red);
}

.output.accent {
    color: var(--accent);
}

/* === Products === */
.products {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow), 0 0 60px var(--accent-glow);
}

.product-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-glow.glow-purple {
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
}

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

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.product-icon.purple {
    background: var(--purple-glow);
    color: var(--purple);
}

.product-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 4px 10px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge-purple {
    background: var(--purple-glow);
    color: var(--purple);
}

.product-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-tagline {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-card:nth-child(2) .product-tagline {
    color: var(--purple);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.product-features li svg {
    flex-shrink: 0;
    color: var(--accent);
}

.product-card:nth-child(2) .product-features li svg {
    color: var(--purple);
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.3s ease;
}

.product-cta:hover {
    gap: 12px;
}

.cta-purple {
    color: var(--purple);
}

/* === Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

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

.feature-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === CTA Section === */
.cta-section {
    padding: 4rem 0;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-card));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    overflow: hidden;
}

.cta-bg-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.5;
}

.cta-card h2 {
    position: relative;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    position: relative;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-actions {
    position: relative;
}

/* === Contact === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a78' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

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

/* === Footer === */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

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

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

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent);
}

/* === Animations === */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0);
}

/* === Responsive === */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0a0a0f;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-cta {
        display: none;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .about-grid,
    .products-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-content {
        padding-top: 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .stat-divider {
        display: none;
    }

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

    /* Terminal mobile fix — prevent horizontal page expansion */
    .terminal {
        max-width: 100%;
        overflow: hidden;
    }

    .terminal-body {
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        font-size: 0.7rem;
    }

    .terminal-line {
        white-space: nowrap;
        min-width: 0;
    }
}

/* === Glitch Effect (for headings) === */
@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 85% 0); transform: translate(-2px, 2px); }
    25% { clip-path: inset(15% 0 60% 0); transform: translate(2px, -1px); }
    50% { clip-path: inset(50% 0 30% 0); transform: translate(-1px, 1px); }
    75% { clip-path: inset(70% 0 10% 0); transform: translate(1px, -2px); }
}

/* === Scanline Effect === */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 3;
}

/* === Toast Notifications === */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 400px;
    color: #fff;
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.toast-notification.toast-visible {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 3px solid var(--green);
}

.toast-error {
    border-left: 3px solid var(--red);
}

body.light-mode .toast-notification {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid #d0d5dd;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   LIGHT MODE
   ============================================ */
body.light-mode {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ebeef3;
    --bg-tertiary: #e2e6ec;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #7a7a9a;
    --border: #d0d5dd;
    --border-hover: #00b8d4;
    --accent: #00838f;
    --accent-glow: rgba(0, 131, 143, 0.1);
    --accent-glow-strong: rgba(0, 131, 143, 0.3);
}

body.light-mode .hero {
    background: linear-gradient(135deg, #e8f0fe 0%, #f5f7fa 40%, #e0f7fa 100%);
}

body.light-mode .hero-video-overlay {
    background: linear-gradient(180deg, rgba(245,247,250,0.92) 0%, rgba(245,247,250,0.85) 50%, rgba(245,247,250,0.95) 100%);
}

body.light-mode #navbar {
    background: rgba(245, 247, 250, 0.92);
    border-bottom: 1px solid #d0d5dd;
    backdrop-filter: blur(20px);
}

body.light-mode #navbar.scrolled {
    background: rgba(245, 247, 250, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #d0d5dd;
}

body.light-mode .nav-logo .bracket {
    color: #00838f;
}

body.light-mode .nav-logo .logo-text {
    color: #1a1a2e;
}

body.light-mode .nav-link {
    color: #4a4a6a;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: #00838f;
}

body.light-mode .nav-cta {
    color: #00838f;
    border-color: #00838f;
}

body.light-mode .nav-cta:hover {
    background: #00838f;
    color: #fff;
}

body.light-mode .badge-text {
    color: #00838f;
}

body.light-mode .badge-line {
    background: linear-gradient(90deg, transparent, #00838f);
}

body.light-mode .badge-line:last-child {
    background: linear-gradient(90deg, #00838f, transparent);
}

body.light-mode .hero-title .accent-text {
    background: linear-gradient(135deg, #00838f, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .terminal-window {
    background: #1a1a2e;
    border-color: #2a2a4e;
}

body.light-mode .product-card {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

body.light-mode .product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 131, 143, 0.12);
}

body.light-mode .feature-card {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .feature-card:hover {
    box-shadow: 0 6px 24px rgba(0, 131, 143, 0.1);
}

body.light-mode .cta-card {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
}

body.light-mode .contact-form {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    background: #f5f7fa;
    border-color: #d0d5dd;
    color: #1a1a2e;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
    border-color: #00838f;
    box-shadow: 0 0 0 3px rgba(0, 131, 143, 0.15);
}

body.light-mode .footer {
    background: #ebeef3;
    border-top-color: #d0d5dd;
}

body.light-mode .btn-primary {
    background: #00838f;
    color: #ffffff;
}

body.light-mode .btn-primary:hover {
    background: #00697a;
    box-shadow: 0 4px 20px rgba(0, 131, 143, 0.3);
}

body.light-mode .hero::after {
    background: none;
}

body.light-mode .theme-toggle {
    background: none;
    border: none;
    color: #4a4a6a;
}

body.light-mode .theme-toggle:hover {
    color: #00838f;
}

body.light-mode .contact-icon {
    background: rgba(0, 131, 143, 0.1);
    color: #00838f;
}

body.light-mode .about-text .about-feature h4 {
    color: #1a1a2e;
}

body.light-mode .section-label {
    color: #00838f;
}

body.light-mode .product-badge {
    background: rgba(0, 131, 143, 0.1);
    color: #00838f;
}

body.light-mode .product-icon {
    background: rgba(0, 131, 143, 0.1);
    color: #00838f;
}

body.light-mode .feature-number {
    color: #00838f;
}

body.light-mode .stat-number {
    color: #00838f;
}

body.light-mode .nav-links {
    background: rgba(245, 247, 250, 0.97);
}

@media (max-width: 968px) {
    body.light-mode .nav-links {
        background: rgba(245, 247, 250, 1);
    }

    body.light-mode #navbar {
        background: transparent;
        border-bottom: none;
        backdrop-filter: none;
    }

    body.light-mode #navbar.scrolled {
        background: rgba(245, 247, 250, 0.97);
        border-bottom: 1px solid #d0d5dd;
        backdrop-filter: blur(20px);
    }
}

body.light-mode .bg-orb-1 {
    background: radial-gradient(circle, #00838f, transparent 70%);
    opacity: 0.08;
}

body.light-mode .bg-orb-2 {
    background: radial-gradient(circle, #7c3aed, transparent 70%);
    opacity: 0.06;
}

body.light-mode .bg-orb-3 {
    background: radial-gradient(circle, #00b8d4, transparent 70%);
    opacity: 0.05;
}

body.light-mode .bg-grid {
    background-image:
        linear-gradient(rgba(0, 131, 143, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 131, 143, 0.06) 1px, transparent 1px);
}

body.light-mode #particles-canvas {
    opacity: 0.15;
}
