/* ============================================
   CYBERTRONIC — Dark TRON Aesthetic v2
   ============================================ */

:root {
    --bg: #06080d;
    --bg-surface: #0c1017;
    --bg-card: #111827;
    --bg-card-hover: #151d2e;
    --fg: #e4e7ec;
    --fg-muted: #7a8599;
    --fg-dim: #4a5568;
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --accent-soft: rgba(0, 212, 255, 0.08);
    --accent-secondary: #3b82f6;
    --accent-red: #ff4444;
    --accent-red-glow: rgba(255, 68, 68, 0.15);
    --border: #1a2332;
    --border-light: #243044;
    --radius: 10px;
    --radius-lg: 16px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #66e5ff; }
ul { list-style: none; }

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

/* TRON GRID BACKGROUND */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* AMBIENT GLOW ORBS */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    animation: orbFloat 20s ease-in-out infinite alternate;
}
.glow-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}
.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}
@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
    100% { transform: translate(-20px, 50px) scale(0.95); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 8, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fg);
}
.logo-svg {
    height: 36px;
    width: 36px;
    flex-shrink: 0;
}
.logo-img {
    height: 36px;
    width: auto;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--fg-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
    background: var(--accent) !important;
    color: #06080d !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover {
    background: #33ddff !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fg);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(6, 8, 13, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
/* Animated scan line */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.15;
    animation: scanLine 8s ease-in-out infinite;
}
@keyframes scanLine {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    50% { top: 100%; }
}

.hero-inner {
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    max-width: 800px;
}
.accent-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--fg-muted);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: #06080d;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
    background: #33ddff;
    box-shadow: 0 0 32px rgba(0, 212, 255, 0.35), 0 6px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    color: #06080d;
}
.btn-outline {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat { text-align: left; position: relative; }
.stat::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border-light);
}
.stat:last-child::after { display: none; }
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.stat-label {
    font-size: 13px;
    color: var(--fg-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat::after { display: none; }
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; }
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.proof-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}
.proof-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-bottom: 24px;
}
.proof-label--secondary {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 13px;
    color: var(--fg-muted);
    letter-spacing: 0.05em;
    text-transform: none;
}
.proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px 48px;
}
.proof-logos span {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--fg-dim);
    letter-spacing: 0.05em;
    transition: color 0.3s;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
}
.proof-logos span:hover {
    color: var(--fg-muted);
    border-color: var(--border);
    background: var(--bg-card);
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
section { padding: 100px 0; }

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.section-title--light { color: #fff; }
.section-sub {
    font-size: 18px;
    color: var(--fg-muted);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 56px;
}
.section-sub--light { color: rgba(255,255,255,0.6); }

/* SECTION DIVIDER */
.section-divider {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
.divider-svg {
    width: 100%;
    max-width: 800px;
    height: 40px;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem { background: var(--bg); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.problem-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.3s;
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--border-light);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}
.problem-icon svg {
    width: 100%;
    height: 100%;
}
.problem-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.problem-card p {
    font-size: 15px;
    color: var(--fg-muted);
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services { background: var(--bg-surface); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-soft);
}
.service-card:hover::before { opacity: 1; }

/* Service icon */
.service-icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(0, 212, 255, 0.15);
}
.service-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}
.service-card > p {
    font-size: 15px;
    color: var(--fg-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-list {
    padding-left: 0;
}
.service-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--fg-muted);
    margin-bottom: 8px;
}
.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 13px;
}


/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects { background: var(--bg); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent));
    opacity: 0.6;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-soft);
}
.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-red);
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}
.project-icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.15);
}
.project-icon-wrap svg {
    width: 32px;
    height: 32px;
}
.project-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}
.project-card > p {
    font-size: 15px;
    color: var(--fg-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ============================================
   REDCACHE PAGE STYLES
   ============================================ */

/* Red accent text variant */
.accent-red {
    color: var(--accent-red);
}

/* Product hero variant */
.hero-product .hero-bg {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 68, 68, 0.03) 0%, transparent 60%);
}
.hero-sub-hero {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

/* Stats bar */
.stats-bar {
    padding: 48px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* Architecture diagram */
.arch-diagram {
    display: flex;
    justify-content: center;
    padding: 48px 0 0;
}
.arch-svg {
    width: 100%;
    max-width: 960px;
    height: auto;
}
.arch-caption {
    text-align: center;
    font-size: 14px;
    color: var(--fg-muted);
    margin-top: 16px;
    font-style: italic;
}

/* Comparison table */
.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.comparison-table thead th {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 20px 24px;
    text-align: left;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    color: var(--fg-muted);
}
.comparison-table thead th.col-redcache {
    color: var(--accent-red);
}
.comparison-table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--fg-muted);
    vertical-align: top;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table tbody tr:hover td {
    background: rgba(0, 212, 255, 0.03);
}
.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--fg);
}
.comparison-table tbody td.col-redcache {
    color: #fff;
    background: rgba(255, 68, 68, 0.04);
}
.comparison-table code {
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--accent);
}


/* Comparison "Why it matters" rows */
.comparison-table tbody tr.comparison-why td {
    background: rgba(0, 212, 255, 0.03);
    border-top: 1px solid transparent;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 16px;
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.65;
}
.comparison-table tbody tr.comparison-why td em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Comparison note */
.comparison-note {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-card);
    border-left: 3px solid var(--accent-secondary);
    border-radius: var(--radius);
}
.comparison-note p {
    font-size: 15px;
    color: var(--fg-muted);
    line-height: 1.7;
}

/* Small button variant */
.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

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

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   CREDIBILITY SECTION
   ============================================ */
.credibility {
    background: var(--bg);
}
.cred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 768px) {
    .cred-grid { grid-template-columns: 1fr; gap: 40px; }
}
.cred-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}
.cred-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--border);
}
.cred-icon svg {
    width: 24px;
    height: 24px;
}
.cred-item h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}
.cred-item p {
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.6;
}
.cred-quote {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    position: relative;
}
.quote-mark {
    font-family: Georgia, serif;
    font-size: 48px;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -8px;
}
.cred-quote p {
    font-size: 15px;
    color: var(--fg-muted);
    line-height: 1.7;
    font-style: italic;
}
.cred-visual-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
}
.cred-visual-graphic svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}
.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.contact-inner {
    position: relative;
    z-index: 1;
}
.contact-form {
    max-width: 560px;
    margin: 48px auto 0;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-muted);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%237a8599'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.contact-direct {
    text-align: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.2s ease;
}
.contact-link:hover {
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}
.footer-inner {
    text-align: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--fg-muted);
    margin: 0;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-copy {
    font-size: 13px;
    color: var(--fg-dim);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   VISUAL ENHANCEMENTS v2 (Generated Imagery)
   ============================================ */

/* Hero background image with glassmorphism overlay */
.hero-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('assets/hero-bg.webp') center center / cover no-repeat;
    opacity: 0.25;
    filter: saturate(1.2) brightness(0.8);
    z-index: 0;
}

/* Visual Banner Sections */
.visual-banner {
    position: relative;
    height: 340px;
    overflow: hidden;
    margin: 60px 0;
}
.visual-banner-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 120%;
    background-size: cover;
    background-position: center;
    filter: saturate(1.3) brightness(0.6);
}
.strategy-bg {
    background-image: url('assets/strategy-visual.webp');
}
.visual-banner-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(6,8,13,0.9) 0%, rgba(6,8,13,0.4) 50%, rgba(6,8,13,0.9) 100%);
}
.visual-banner-content {
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}
.visual-banner-content h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}
.visual-banner-content p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--fg-muted);
    line-height: 1.7;
}

/* Service cards with visual backgrounds */
.service-card--visual {
    position: relative;
    overflow: hidden;
}
.service-visual {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    filter: saturate(1.4);
    transition: opacity 0.4s ease;
    z-index: 0;
}
.service-card--visual:hover .service-visual {
    opacity: 0.22;
}
.agents-bg {
    background-image: url('assets/agents-visual.webp');
}
.infra-bg {
    background-image: url('assets/infra-visual.webp');
}
.service-icon-wrap,
.service-card--visual h3,
.service-card--visual p,
.service-card--visual .service-list {
    position: relative;
    z-index: 1;
}

/* Credibility visual panel */
.cred-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cred-visual-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    position: relative;
}
.cred-visual-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(1.2) brightness(0.85);
}
.cred-visual-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.15);
    pointer-events: none;
}

/* Projects visual */
.project-card--visual {
    position: relative;
    overflow: hidden;
}
.project-visual {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius) var(--radius) 0 0;
    filter: saturate(1.3) brightness(0.7);
    position: relative;
}
.project-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--bg-card) 100%);
}
.redcache-bg {
    background-image: url('assets/infra-visual.webp');
}

/* Parallax subtle effect */
@keyframes parallax-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.visual-banner-image {
    animation: parallax-slow 20s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .visual-banner {
        height: 260px;
    }
    .visual-banner-content h3 {
        font-size: 24px;
    }
    .visual-banner-content p {
        font-size: 15px;
    }
}

