/* --- CSS Variables & Design System --- */
:root {
    --bg-color: #050505;
    --surface-color: #111111;
    --surface-light: rgba(255, 255, 255, 0.05);
    --surface-strong: rgba(255, 255, 255, 0.09);
    --surface-border: rgba(255, 255, 255, 0.1);
    
    --primary: #f82020;
    --primary-glow: rgba(248, 32, 32, 0.4);
    --secondary: #2059f8;
    --accent: #00ffcc;
    --electric: #7dd3fc;
    
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

.highlight {
    color: var(--primary);
}

.highlight-gradient {
    background: linear-gradient(90deg, var(--primary), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.05;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Background Effects */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.orb-2 {
    top: 40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(32, 89, 248, 0.2) 0%, transparent 70%);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff1f2d, #d60918);
    color: #fff;
    box-shadow: 0 0 20px rgba(248, 32, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    background: #ff3b3b;
    box-shadow: 0 0 30px rgba(248, 32, 32, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0));
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-outline) {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 0 5rem;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.hero-content::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: min(36%, 380px);
    height: 430px;
    transform: translateY(-48%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(0, 255, 204, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 50% 30%, rgba(248, 32, 32, 0.22), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018));
    background-size: 42px 42px, 42px 42px, auto, auto;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), inset 0 0 60px rgba(0, 255, 204, 0.06);
    opacity: 0.8;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-title,
.hero-subtitle,
.hero-cta,
.hero-metrics,
.hero-content .eyebrow {
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 3rem;
    max-width: 680px;
    background: var(--surface-border);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    overflow: hidden;
}

.hero-metrics div {
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.86), rgba(5, 5, 5, 0.78));
    padding: 1.2rem;
}

.hero-metrics strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hero-metrics span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Glassmorphism Cards */
.divisions, .solutions, .contact, .about {
    padding: 6rem 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.compact-packages {
    padding-top: 2rem;
}

.package-grid {
    align-items: stretch;
}

.offering-card {
    display: flex;
    flex-direction: column;
}

.package-link {
    margin-top: auto;
    text-align: center;
}

.package-topline {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.package-topline .card-icon {
    margin-bottom: 0;
}

.package-fit {
    color: var(--accent);
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.package-topline .package-fit {
    margin-bottom: 0;
}

.package-audience {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.glass-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(5, 5, 5, 0.58);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition);
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 35%, rgba(0, 255, 204, 0.05));
    opacity: 0.7;
}

.glass-card:hover, .active-card {
    transform: translateY(-10px);
    background:
        linear-gradient(145deg, rgba(32, 89, 248, 0.14), rgba(248, 32, 32, 0.08)),
        rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 42px rgba(0, 255, 204, 0.08);
}

.glass-card:hover::before, .active-card::before {
    background: var(--primary);
}

.card-icon {
    display: inline-grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgba(0, 255, 204, 0.32);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.14), rgba(248, 32, 32, 0.12));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 24px rgba(0, 255, 204, 0.12);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.offering-card h3 {
    font-size: 1.65rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-list {
    list-style: none;
}

.card-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.card-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.price-tag {
    align-items: center;
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(248, 32, 32, 0.22), rgba(0, 255, 204, 0.07));
    border: 1px solid rgba(248, 32, 32, 0.35);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0 0 1.4rem;
    padding: 0.55rem 0.9rem;
    text-transform: uppercase;
}

.offering-details {
    border-top: 1px solid var(--surface-border);
    margin-top: auto;
    padding-top: 1.4rem;
}

.offering-details summary {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.08em;
    line-height: 1.3;
    list-style: none;
    padding: 0.9rem 1rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.offering-details summary::-webkit-details-marker {
    display: none;
}

.offering-details summary::after {
    color: var(--primary);
    content: '+';
    font-size: 1.2rem;
    line-height: 1;
}

.offering-details[open] summary {
    border-color: rgba(248, 32, 32, 0.45);
    box-shadow: 0 0 24px rgba(248, 32, 32, 0.12);
}

.offering-details[open] summary::after {
    content: '-';
}

.detail-panel {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--surface-border);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 1rem;
}

.detail-panel p {
    margin-bottom: 1rem;
}

.detail-panel ul {
    color: var(--text-muted);
    display: grid;
    gap: 0.55rem;
    list-style: none;
}

.detail-panel li {
    padding-left: 1.2rem;
    position: relative;
}

.detail-panel li::before {
    color: var(--accent);
    content: '';
    height: 6px;
    left: 0;
    position: absolute;
    top: 0.65rem;
    width: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Blueprint Section */
.blueprint-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline {
    margin-top: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--surface-border);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--text-muted);
    transition: var(--transition);
}

.glow-dot, .timeline-item:hover .timeline-dot {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-content h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Cyber Box */
.cyber-box {
    border: 1px solid var(--surface-border);
    background:
        linear-gradient(180deg, rgba(0, 255, 204, 0.06), transparent 35%),
        #0a0a0a;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 0 30px rgba(0,0,0,0.8), 0 0 42px rgba(32, 89, 248, 0.12);
}

.cyber-header {
    background: var(--surface-border);
    padding: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--surface-border);
}

.cyber-body {
    padding: 2rem;
}

.sys-item {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--surface-border);
    padding-bottom: 0.5rem;
}

.sys-label {
    color: var(--text-muted);
}

.cyber-footer {
    padding: 1rem;
    background: rgba(248, 32, 32, 0.1);
    color: var(--primary);
    text-align: center;
    border-top: 1px solid var(--primary-glow);
    font-weight: bold;
}

/* Registration Form */
.contact {
    position: relative;
}

.registration-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
}

.registration-copy {
    position: sticky;
    top: 7rem;
}

.registration-proof {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.registration-proof div {
    border-left: 2px solid var(--primary);
    background: linear-gradient(90deg, rgba(248, 32, 32, 0.1), rgba(255, 255, 255, 0.025));
    padding: 1rem 1rem 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
}

.registration-proof span {
    color: var(--primary);
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.registration-proof strong {
    display: block;
    font-family: var(--font-heading);
    margin-bottom: 0.35rem;
}

.registration-proof p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.contact-card {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(248, 32, 32, 0.08);
}

.contact-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.form-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.64);
    border: 1px solid var(--surface-border);
    color: var(--text-main);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(248, 32, 32, 0.2);
}

.consent-row {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.75rem;
    align-items: start;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.25rem 0 1.5rem;
}

.consent-row input {
    accent-color: var(--primary);
    margin-top: 0.25rem;
}

.hidden {
    display: none;
}

.netlify-form-definitions {
    display: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    text-align: center;
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 3rem 0;
    margin-top: 2rem;
}

.thank-you-page {
    min-height: 100vh;
}

.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.thank-you-card {
    margin-top: 3rem;
    max-width: 680px;
}

.thank-you-card h1 {
    font-size: 3rem;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.thank-you-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 560px;
}

.package-page {
    min-height: 100vh;
}

.package-hero {
    overflow: hidden;
    padding: 9rem 0 4rem;
    position: relative;
}

.package-hero-grid {
    align-items: end;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr 0.45fr;
}

.package-hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.02;
    margin-bottom: 1.5rem;
}

.package-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 720px;
}

.package-summary {
    display: grid;
    gap: 1rem;
}

.summary-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 1rem;
}

.summary-card span {
    color: var(--text-muted);
    display: block;
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.summary-card strong {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.package-detail-section {
    padding: 4rem 0 6rem;
}

.story-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 0.75fr;
    align-items: start;
}

.team-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2rem;
}

.portfolio-panel {
    background:
        linear-gradient(135deg, rgba(248, 32, 32, 0.16), rgba(0, 255, 204, 0.08)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    margin-top: 2rem;
    padding: 2rem;
}

.portfolio-panel h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.portfolio-panel p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 780px;
}

.detail-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(5, 5, 5, 0.66);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 1.35rem;
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: counter(service-card, decimal-leading-zero);
    counter-increment: service-card;
    color: rgba(0, 255, 204, 0.22);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    position: absolute;
    right: 1rem;
    top: 0.6rem;
}

.detail-grid {
    counter-reset: service-card;
}

.service-detail-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.65rem;
}

.service-detail-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.package-cta-band {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(248, 32, 32, 0.18), rgba(0, 255, 204, 0.08)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1.5rem;
}

.package-cta-band .price-tag {
    margin: 0.35rem 0 0;
}

.modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.72);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 1.25rem;
    position: fixed;
    z-index: 200;
}

.modal.open {
    display: flex;
}

.modal-card {
    max-height: 90vh;
    max-width: 620px;
    overflow-y: auto;
    width: 100%;
}

.modal-header {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.8rem;
}

.modal-close {
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.4rem;
    height: 40px;
    line-height: 1;
    width: 40px;
}

.agreement-box {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.agreement-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.agreement-box p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.success-popup {
    align-items: center;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 250;
}

.success-card {
    max-width: 520px;
    text-align: center;
}

.success-card h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.success-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-tag {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.location {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        background: rgba(5, 5, 5, 0.82);
        backdrop-filter: blur(10px);
    }

    .hero {
        min-height: auto;
        align-items: flex-start;
        padding: 7.5rem 0 4rem;
    }

    .hero-title {
        font-size: 2.85rem;
    }

    .hero-content::after {
        display: none;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 5%;
        right: 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem;
        background: rgba(12, 12, 12, 0.96);
        border: 1px solid var(--surface-border);
        border-radius: 8px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem;
    }

    .hamburger {
        display: grid;
        gap: 5px;
        width: 44px;
        height: 44px;
        place-content: center;
        background: var(--surface-light);
        border: 1px solid var(--surface-border);
        border-radius: 6px;
    }

    .bar {
        width: 20px;
        height: 2px;
        background: var(--text-main);
    }
    
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-metrics,
    .registration-layout,
    .form-row,
    .package-hero-grid,
    .detail-grid,
    .story-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .package-cta-band {
        align-items: stretch;
        flex-direction: column;
    }

    .package-hero {
        padding: 7rem 0 2.5rem;
    }

    .package-hero h1 {
        font-size: 2.35rem;
        margin-bottom: 1rem;
    }

    .package-hero p {
        font-size: 0.98rem;
    }

    .package-detail-section {
        padding: 2.75rem 0 4rem;
    }

    .detail-grid {
        gap: 0.75rem;
    }

    .service-detail-card {
        padding: 0.95rem;
    }

    .service-detail-card h3 {
        font-size: 0.98rem;
        margin-bottom: 0.4rem;
    }

    .service-detail-card p {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .summary-card {
        padding: 0.85rem;
    }

    .registration-copy {
        position: static;
    }
    
    .blueprint-content {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Final pass: red/white theme wins after legacy rules */
:root {
    --bg-color: #fff7f7;
    --surface-color: #ffffff;
    --surface-light: rgba(229, 9, 20, 0.06);
    --surface-strong: rgba(229, 9, 20, 0.1);
    --surface-border: rgba(31, 41, 55, 0.12);
    --primary: #e50914;
    --primary-glow: rgba(229, 9, 20, 0.2);
    --secondary: #111827;
    --accent: #e50914;
    --electric: #ff4d57;
    --text-main: #151515;
    --text-muted: #667085;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(229, 9, 20, 0.14), transparent 18rem),
        radial-gradient(circle at 100% 12%, rgba(229, 9, 20, 0.09), transparent 22rem),
        linear-gradient(135deg, #fff 0%, #fff7f7 42%, #ffffff 100%);
    color: var(--text-main);
}

body::before {
    background-image:
        linear-gradient(rgba(229, 9, 20, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 9, 20, 0.045) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
    background:
        linear-gradient(115deg, rgba(229, 9, 20, 0.1), transparent 26rem),
        repeating-linear-gradient(135deg, rgba(229, 9, 20, 0.025) 0, rgba(229, 9, 20, 0.025) 1px, transparent 1px, transparent 14px);
    opacity: 0.7;
}

.container {
    max-width: 1320px;
}

.eyebrow,
.location,
.package-fit,
.package-audience,
.hero-metrics strong,
.summary-card strong {
    color: var(--primary);
}

.btn-primary,
.btn-secondary,
.btn-outline {
    border-radius: 7px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 0.72rem 1.08rem;
}

.btn-primary {
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(229, 9, 20, 0.18);
    color: #fff;
}

.btn-primary:hover {
    background: #c80711;
    box-shadow: 0 14px 30px rgba(229, 9, 20, 0.24);
}

.btn-secondary,
.btn-outline {
    background: #fff;
    border: 1px solid rgba(229, 9, 20, 0.25);
    color: var(--primary);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: #fff1f1;
    border-color: rgba(229, 9, 20, 0.45);
    color: var(--primary);
}

.navbar,
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 9, 20, 0.1);
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.logo,
.nav-links a:not(.btn-outline),
.timeline-content h4,
.modal-close {
    color: var(--text-main);
}

.nav-links {
    gap: 1.25rem;
}

.nav-links a:not(.btn-outline) {
    font-size: 0.93rem;
}

.hero {
    min-height: 100vh;
    padding: 8rem 0 4rem;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.hero-content {
    max-width: none;
}

.hero-content::after {
    display: none;
}

.hero-title {
    color: #151515;
    font-size: clamp(3.2rem, 7vw, 6.6rem);
    line-height: 0.95;
    max-width: 760px;
}

.hero-subtitle {
    color: #555f6d;
    max-width: 680px;
}

.hero-showcase {
    aspect-ratio: 4 / 5;
    background: #fff;
    border: 1px solid rgba(229, 9, 20, 0.14);
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(120, 0, 10, 0.16);
    overflow: hidden;
    position: relative;
}

.hero-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.55));
    z-index: 2;
}

.hero-slide {
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hero-slide-caption {
    bottom: 2rem;
    color: #fff;
    left: 2rem;
    max-width: calc(100% - 4rem);
    position: absolute;
    z-index: 3;
}

.hero-slide-caption span {
    background: rgba(229, 9, 20, 0.92);
    border-radius: 999px;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.65rem;
    text-transform: uppercase;
}

.hero-slide-caption strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1;
}

.hero-slide-controls {
    bottom: 1rem;
    display: flex;
    gap: 0.35rem;
    position: absolute;
    right: 1rem;
    z-index: 4;
}

.hero-slide-controls span {
    background: rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    height: 7px;
    width: 18px;
}

.hero-slide-controls span.is-active {
    background: #fff;
    width: 30px;
}

.hero-metrics {
    background: rgba(229, 9, 20, 0.16);
    border-color: rgba(229, 9, 20, 0.16);
}

.hero-metrics div,
.glass-card,
.service-detail-card,
.summary-card,
.portfolio-panel,
.cyber-box,
.registration-proof div,
.package-cta-band {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(229, 9, 20, 0.14);
    box-shadow: 0 18px 45px rgba(120, 0, 10, 0.08);
}

.glass-card:hover,
.active-card {
    background: #fff;
    border-color: rgba(229, 9, 20, 0.26);
    box-shadow: 0 22px 54px rgba(120, 0, 10, 0.13);
    transform: translateY(-6px);
}

.card-icon {
    background: #fff5f5;
    border-color: rgba(229, 9, 20, 0.22);
    box-shadow: none;
    color: var(--primary);
}

.price-tag {
    background: #fff1f1;
    border-color: rgba(229, 9, 20, 0.22);
    color: var(--primary);
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
}

.card-list li,
.offering-card p,
.glass-card p,
.timeline-content p,
.service-detail-card p,
.portfolio-panel p,
.package-hero p,
.thank-you-card p,
.success-card p,
.agreement-box p {
    color: var(--text-muted);
}

.package-grid {
    gap: 1.25rem;
}

.offering-card {
    padding: 1.65rem;
}

.offering-card h3 {
    font-size: 1.35rem;
}

.solutions {
    background: rgba(255, 255, 255, 0.54);
}

.timeline::before {
    background: rgba(229, 9, 20, 0.16);
}

.timeline-dot {
    background: #fff;
}

.cyber-box {
    font-family: var(--font-body);
}

.cyber-header,
.cyber-footer,
.form-message,
.agreement-box {
    background: #fff1f1;
    border-color: rgba(229, 9, 20, 0.14);
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #fff;
    border-color: rgba(31, 41, 55, 0.16);
    color: var(--text-main);
    padding: 0.82rem 0.9rem;
}

.form-group label,
.consent-row {
    color: #344054;
}

.package-hero {
    background:
        linear-gradient(135deg, rgba(229, 9, 20, 0.09), transparent 28rem),
        rgba(255, 255, 255, 0.5);
}

.package-detail-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 247, 247, 0.7));
}

.detail-grid {
    gap: 1rem;
}

.service-detail-card {
    padding: 1.15rem;
}

.service-detail-card::before {
    color: rgba(229, 9, 20, 0.1);
}

.package-cta-band {
    background: linear-gradient(135deg, #fff, #fff1f1);
}

.modal,
.success-popup {
    background: rgba(17, 24, 39, 0.42);
    backdrop-filter: blur(10px);
}

.modal-close {
    background: #fff;
    border-color: rgba(229, 9, 20, 0.2);
    color: var(--primary);
}

footer {
    background: #fff;
}

.admin-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.admin-panel-header {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.admin-panel-header h2 {
    font-size: 1.6rem;
}

.admin-form,
.admin-submissions {
    display: grid;
    gap: 1rem;
}

.admin-slide,
.admin-record {
    background: #fff8f8;
    border: 1px solid rgba(229, 9, 20, 0.12);
    border-radius: 8px;
    padding: 1rem;
}

.admin-slide {
    display: grid;
    gap: 0.7rem;
}

.admin-slide h3 {
    font-size: 1rem;
}

.admin-slide label {
    color: #344054;
    display: grid;
    font-size: 0.82rem;
    gap: 0.25rem;
}

.admin-slide input {
    background: #fff;
    border: 1px solid rgba(31, 41, 55, 0.14);
    border-radius: 6px;
    color: var(--text-main);
    padding: 0.65rem 0.75rem;
}

.admin-record span,
.admin-record small {
    color: var(--text-muted);
    display: block;
    font-size: 0.8rem;
}

.admin-record strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.admin-record dl {
    display: grid;
    gap: 0.35rem 0.8rem;
    grid-template-columns: minmax(120px, 0.35fr) 1fr;
    margin-top: 0.9rem;
}

.admin-record dt {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-record dd {
    color: #344054;
    font-size: 0.88rem;
    margin: 0;
    word-break: break-word;
}

.admin-empty {
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: rgba(255, 255, 255, 0.94);
    }

    .nav-links {
        background: rgba(255, 255, 255, 0.98);
    }

    .hamburger {
        background: #fff;
        border-color: rgba(229, 9, 20, 0.18);
    }

    .bar {
        background: var(--primary);
    }

    .hero-title {
        font-size: 2.9rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: auto;
    }

    .hero-slide-caption {
        bottom: 1.4rem;
        left: 1.25rem;
        max-width: calc(100% - 2.5rem);
    }

    .admin-panel-header {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-record dl {
        grid-template-columns: 1fr;
    }
}

/* Final editorial and responsive polish */
body {
    font-size: 16px;
}

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 3rem);
    letter-spacing: 0;
}

.section-subtitle {
    font-size: 1rem;
    line-height: 1.75;
}

.divisions,
.solutions,
.contact,
.about {
    padding: 4.75rem 0;
}

.hero {
    min-height: auto;
    padding: 7.5rem 0 4.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 4.8vw, 4.9rem);
    letter-spacing: 0;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.hero-showcase {
    max-height: 620px;
}

.hero-metrics {
    margin-top: 2rem;
}

.hero-metrics div {
    padding: 0.95rem;
}

.hero-metrics strong {
    font-size: 1.12rem;
}

.hero-metrics span {
    font-size: 0.78rem;
}

.blueprint-content {
    gap: 3rem;
}

.timeline-item {
    margin-bottom: 1.6rem;
}

.timeline-content h4 {
    font-size: 1rem;
}

.timeline-content p {
    font-size: 0.9rem;
}

.cyber-body {
    padding: 1.35rem;
}

.registration-layout {
    gap: 2rem;
    grid-template-columns: 0.8fr 1fr;
}

.registration-proof {
    gap: 0.75rem;
}

.registration-proof div {
    padding: 0.8rem 0.9rem 0.8rem 1rem;
}

.registration-proof p {
    font-size: 0.86rem;
}

.contact-card {
    padding: 1.65rem;
}

.contact-card h3 {
    font-size: 1.3rem;
}

.form-intro {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

.form-row {
    gap: 0.75rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.32rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-size: 0.9rem;
    min-height: 42px;
    padding: 0.68rem 0.75rem;
}

.form-group textarea {
    min-height: 92px;
}

.consent-row,
.form-note {
    font-size: 0.82rem;
}

.package-hero {
    padding: 7.6rem 0 3rem;
}

.package-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.35rem);
    letter-spacing: 0;
}

.package-hero p {
    font-size: 1rem;
    line-height: 1.75;
}

.package-detail-section {
    padding: 3.5rem 0 5rem;
}

.summary-card {
    padding: 0.85rem;
}

.summary-card strong {
    color: var(--text-main);
    font-size: 1rem;
}

.team-section {
    margin-top: 3rem;
}

.section-heading-row {
    align-items: end;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
    margin-bottom: 1.5rem;
}

.section-heading-row p:last-child {
    color: var(--text-muted);
    line-height: 1.7;
}

.team-grid {
    gap: 1.25rem;
}

.team-card {
    background: #fff;
    border: 1px solid rgba(229, 9, 20, 0.14);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(120, 0, 10, 0.08);
    display: grid;
    gap: 1rem;
    grid-template-columns: 140px 1fr;
    overflow: hidden;
    padding: 1rem;
}

.team-card img {
    aspect-ratio: 1;
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.team-card span,
.portfolio-card span {
    color: var(--primary);
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.team-card h3,
.portfolio-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.team-card p,
.team-card small,
.portfolio-card p {
    color: var(--text-muted);
    display: block;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.team-card a {
    color: var(--primary);
    font-size: 0.86rem;
    text-decoration: none;
}

.portfolio-panel {
    display: grid;
    gap: 1.25rem;
}

.portfolio-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.portfolio-card {
    background: #fff;
    border: 1px solid rgba(229, 9, 20, 0.14);
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-card img,
.portfolio-card video {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.portfolio-card div {
    padding: 1rem;
}

.admin-locked > section:not(.admin-lock) {
    display: none;
}

.admin-lock {
    align-items: center;
    display: flex;
    min-height: 100vh;
    padding: 7rem 0 3rem;
}

.admin-lock-card {
    margin: 0 auto;
    max-width: 520px;
}

.admin-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-panel:last-child {
    grid-column: 1 / -1;
}

.admin-form label {
    color: #344054;
    display: grid;
    font-size: 0.82rem;
    gap: 0.28rem;
}

.admin-form textarea,
.admin-form input,
.admin-form select {
    background: #fff;
    border: 1px solid rgba(31, 41, 55, 0.14);
    border-radius: 6px;
    color: var(--text-main);
    font: inherit;
    padding: 0.65rem 0.75rem;
}

@media (max-width: 1020px) {
    .registration-layout,
    .section-heading-row,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .registration-copy {
        position: static;
    }
}

@media (max-width: 768px) {
    .divisions,
    .solutions,
    .contact,
    .about {
        padding: 3.3rem 0;
    }

    .hero {
        padding: 6.7rem 0 3rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 12vw, 3.1rem);
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .hero-showcase {
        aspect-ratio: 4 / 3;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .glass-card {
        padding: 1.15rem;
    }

    .form-row,
    .team-card {
        grid-template-columns: 1fr;
    }

    .team-card img {
        aspect-ratio: 16 / 10;
    }

    .package-hero {
        padding: 6.5rem 0 2rem;
    }
}

/* Contrast repair for the red and white theme */
body,
h1,
h2,
h3,
h4,
.logo,
.timeline-content h4,
.glass-card h3,
.service-detail-card h3,
.package-hero h1,
.contact-card h3,
.portfolio-panel h2,
.admin-panel-header h2,
.admin-record strong {
    color: #151515;
}

p,
li,
.section-subtitle,
.hero-subtitle,
.form-intro,
.package-hero p,
.glass-card p,
.service-detail-card p,
.portfolio-panel p,
.timeline-content p,
.registration-proof p,
.team-card p,
.team-card small,
.portfolio-card p,
.admin-empty,
.brand-tag,
.footer-links p {
    color: #4b5563;
}

.nav-links a:not(.btn-outline) {
    color: #1f2937;
}

.hero-title {
    color: #111827;
    max-width: 680px;
}

.hero-slide-caption,
.hero-slide-caption strong {
    color: #fff;
}

.hero-slide-caption span,
.btn-primary,
.btn-primary:hover {
    color: #fff;
}

.hero-metrics strong,
.eyebrow,
.package-fit,
.package-audience,
.price-tag,
.location,
.text-accent,
.admin-record dt,
.team-card a {
    color: #d90412;
}

.summary-card strong {
    color: #111827;
}

.sys-label,
.sys-value {
    color: #1f2937;
}

.cyber-footer,
.form-message {
    color: #b0000b;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a94a6;
}

.btn-secondary,
.btn-outline {
    color: #d90412;
}

.modal-card,
.success-card {
    color: #151515;
}

@media (max-width: 768px) {
    .hero-title {
        max-width: 100%;
    }
}

/* Readability lock: clean white/red theme */
:root {
    --bg-color: #ffffff;
    --surface-color: #ffffff;
    --surface-light: #fff2f2;
    --surface-strong: #ffe6e6;
    --surface-border: rgba(229, 9, 20, 0.22);
    --primary: #e50914;
    --primary-glow: rgba(229, 9, 20, 0.2);
    --secondary: #111111;
    --accent: #e50914;
    --electric: #e50914;
    --text-main: #111111;
    --text-muted: #2f2f2f;
}

html,
body {
    background: #ffffff;
    color: #111111;
}

body::before {
    background-image:
        linear-gradient(rgba(229, 9, 20, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 9, 20, 0.045) 1px, transparent 1px);
}

body::after {
    background:
        radial-gradient(circle at 0% 0%, rgba(229, 9, 20, 0.08), transparent 22rem),
        radial-gradient(circle at 100% 18%, rgba(229, 9, 20, 0.06), transparent 24rem);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
label,
span,
small,
strong,
dt,
dd,
a,
.hero-title,
.hero-subtitle,
.section-title,
.section-subtitle,
.timeline-content h4,
.timeline-content p,
.glass-card h3,
.glass-card p,
.service-detail-card h3,
.service-detail-card p,
.package-hero h1,
.package-hero p,
.contact-card h3,
.form-intro,
.registration-proof strong,
.registration-proof p,
.summary-card strong,
.summary-card span,
.team-card h3,
.team-card p,
.team-card small,
.portfolio-card h3,
.portfolio-card p,
.admin-record strong,
.admin-record dd,
.footer-links p,
.brand-tag {
    color: #111111;
    -webkit-text-fill-color: currentColor;
}

.section-subtitle,
.hero-subtitle,
.timeline-content p,
.glass-card p,
.service-detail-card p,
.package-hero p,
.registration-proof p,
.team-card p,
.team-card small,
.portfolio-card p,
.form-intro,
.form-note,
.consent-row,
.summary-card span {
    color: #2f2f2f;
}

.eyebrow,
.highlight,
.highlight-gradient,
.text-accent,
.location,
.package-fit,
.package-audience,
.price-tag,
.hero-metrics strong,
.admin-record dt,
.team-card a,
.portfolio-card span,
.team-card span {
    color: #e50914;
    -webkit-text-fill-color: #e50914;
}

.navbar,
.navbar.scrolled,
.glass-card,
.service-detail-card,
.summary-card,
.portfolio-panel,
.cyber-box,
.registration-proof div,
.package-cta-band,
.team-card,
.portfolio-card,
.contact-card,
.admin-slide,
.admin-record,
footer {
    background: #ffffff;
    border-color: rgba(229, 9, 20, 0.22);
}

.hero,
.solutions,
.contact,
.about,
.package-hero,
.package-detail-section {
    background:
        linear-gradient(135deg, rgba(229, 9, 20, 0.06), transparent 22rem),
        #ffffff;
}

.btn-primary {
    background: #e50914;
    border-color: #e50914;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.btn-primary *,
.hero-slide-caption,
.hero-slide-caption *,
.success-popup .btn-primary {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.btn-secondary,
.btn-outline {
    background: #ffffff;
    border-color: #e50914;
    color: #e50914;
    -webkit-text-fill-color: #e50914;
}

.card-icon,
.price-tag,
.cyber-header,
.cyber-footer,
.form-message,
.agreement-box {
    background: #fff2f2;
    border-color: rgba(229, 9, 20, 0.28);
}

.form-group input,
.form-group textarea,
.form-group select,
.admin-form textarea,
.admin-form input,
.admin-form select,
.admin-slide input {
    background: #ffffff;
    border-color: rgba(229, 9, 20, 0.25);
    color: #111111;
    -webkit-text-fill-color: #111111;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
    -webkit-text-fill-color: #6b7280;
}

.hero-slide-caption strong,
.hero-slide-caption span {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

/* Gray support layer for clearer reading */
:root {
    --bg-color: #f6f7f9;
    --surface-color: #ffffff;
    --surface-light: #f3f4f6;
    --surface-strong: #e5e7eb;
    --surface-border: rgba(17, 24, 39, 0.14);
    --text-main: #111827;
    --text-muted: #374151;
}

html,
body {
    background: #f6f7f9;
    color: #111827;
}

body::before {
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
}

body::after {
    background:
        radial-gradient(circle at 0% 0%, rgba(229, 9, 20, 0.07), transparent 22rem),
        radial-gradient(circle at 100% 18%, rgba(17, 24, 39, 0.05), transparent 24rem);
}

.navbar,
.navbar.scrolled,
.glass-card,
.service-detail-card,
.summary-card,
.portfolio-panel,
.cyber-box,
.registration-proof div,
.package-cta-band,
.team-card,
.portfolio-card,
.contact-card,
.admin-slide,
.admin-record,
footer {
    background: #ffffff;
    border-color: rgba(17, 24, 39, 0.12);
}

.hero,
.solutions,
.contact,
.about,
.package-hero,
.package-detail-section {
    background:
        linear-gradient(135deg, rgba(229, 9, 20, 0.05), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
}

.solutions,
.package-detail-section {
    background: #f3f4f6;
}

.hero-subtitle,
.section-subtitle,
.timeline-content p,
.glass-card p,
.service-detail-card p,
.package-hero p,
.registration-proof p,
.team-card p,
.team-card small,
.portfolio-card p,
.form-intro,
.form-note,
.consent-row,
.summary-card span,
.brand-tag,
.footer-links p {
    color: #374151;
}

.cyber-header,
.cyber-footer,
.form-message,
.agreement-box,
.price-tag,
.card-icon {
    background: #f3f4f6;
    border-color: rgba(229, 9, 20, 0.22);
}

.form-group input,
.form-group textarea,
.form-group select,
.admin-form textarea,
.admin-form input,
.admin-form select,
.admin-slide input {
    background: #ffffff;
    border-color: rgba(17, 24, 39, 0.18);
}

.btn-secondary,
.btn-outline {
    background: #ffffff;
}

/* Subscription pricing page */
.pricing-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.16), transparent 24rem),
        radial-gradient(circle at 86% 12%, rgba(168, 85, 247, 0.16), transparent 24rem),
        radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.12), transparent 28rem),
        #020617;
    color: #e5edf7;
}

.pricing-page::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.pricing-page::after {
    background:
        linear-gradient(115deg, rgba(34, 211, 238, 0.08), transparent 30rem),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 14px);
}

.pricing-page .pricing-navbar,
.pricing-page .pricing-navbar.scrolled {
    background: rgba(2, 6, 23, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.pricing-page .logo,
.pricing-page .nav-links a:not(.btn-outline) {
    color: #f8fafc;
    -webkit-text-fill-color: #f8fafc;
}

.pricing-page .btn-outline {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(34, 211, 238, 0.42);
    color: #67e8f9;
    -webkit-text-fill-color: #67e8f9;
}

.pricing-page .hamburger {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.pricing-page .bar {
    background: #f8fafc;
}

.pricing-hero {
    padding: 8rem 0 3.5rem;
    position: relative;
}

.pricing-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
}

.pricing-eyebrow {
    color: #67e8f9;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.pricing-hero h1 {
    color: #f8fafc;
    font-size: clamp(2.4rem, 5vw, 5rem);
    letter-spacing: 0;
    line-height: 0.98;
    max-width: 920px;
}

.pricing-hero p {
    color: #b6c4d4;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 1.2rem;
    max-width: 760px;
}

.pricing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.pricing-primary,
.pricing-secondary,
.pricing-card-cta {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.04em;
    min-height: 42px;
    padding: 0.72rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.pricing-primary,
.pricing-card-cta {
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    color: #020617;
    -webkit-text-fill-color: #020617;
    box-shadow: 0 16px 40px rgba(34, 211, 238, 0.22);
}

.pricing-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    -webkit-text-fill-color: #e2e8f0;
}

.pricing-primary:hover,
.pricing-secondary:hover,
.pricing-card-cta:hover {
    transform: translateY(-2px);
}

.pricing-orbit {
    display: grid;
    gap: 1rem;
}

.orbit-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    padding: 1.25rem;
}

.orbit-card:nth-child(2) {
    margin-left: 2rem;
}

.orbit-card span {
    color: #94a3b8;
    display: block;
    font-size: 0.78rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.orbit-card strong {
    color: #f8fafc;
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.pricing-section {
    padding: 2rem 0 6rem;
}

.pricing-tabs {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto 1.5rem;
    max-width: 980px;
    padding: 0.35rem;
    position: sticky;
    top: 5.8rem;
    z-index: 20;
}

.pricing-tab {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #94a3b8;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    min-height: 42px;
    padding: 0.7rem 0.85rem;
    transition: var(--transition);
}

.pricing-tab.active {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(139, 92, 246, 0.92));
    color: #020617;
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.2);
}

.pricing-panel {
    display: none;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-panel.active {
    display: grid;
}

.pricing-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
        rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    padding: 1.35rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: rgba(34, 211, 238, 0.52);
    box-shadow: 0 28px 90px rgba(34, 211, 238, 0.12);
    transform: translateY(-6px) scale(1.01);
}

.pricing-card.popular {
    border-color: rgba(34, 211, 238, 0.56);
    box-shadow: 0 24px 80px rgba(34, 211, 238, 0.13), inset 0 0 0 1px rgba(34, 211, 238, 0.16);
}

.popular-tag {
    background: linear-gradient(135deg, #22d3ee, #a78bfa);
    border-radius: 999px;
    color: #020617;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.6rem;
    position: absolute;
    right: 1rem;
    text-transform: uppercase;
    top: 1rem;
}

.segment-pill {
    color: #67e8f9;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.pricing-card h2 {
    color: #f8fafc;
    font-size: 1.45rem;
    letter-spacing: 0;
    line-height: 1.05;
    margin-bottom: 0.65rem;
    padding-right: 5rem;
}

.pricing-card p {
    color: #a7b6c7;
    font-size: 0.92rem;
    line-height: 1.6;
    min-height: 3rem;
}

.pricing-price {
    align-items: end;
    display: flex;
    gap: 0.5rem;
    margin: 1.2rem 0;
}

.pricing-price strong {
    color: #f8fafc;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 0.9;
}

.pricing-price span {
    color: #94a3b8;
    font-size: 0.88rem;
    padding-bottom: 0.16rem;
}

.pricing-price.custom {
    align-items: center;
}

.pricing-features {
    display: grid;
    gap: 0.72rem;
    list-style: none;
    margin-bottom: 1.35rem;
}

.pricing-features li {
    color: #d6e0ea;
    font-size: 0.9rem;
    line-height: 1.45;
    padding-left: 1.55rem;
    position: relative;
}

.pricing-features li::before {
    align-items: center;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.38);
    border-radius: 50%;
    color: #6ee7b7;
    content: '✓';
    display: inline-flex;
    font-size: 0.72rem;
    height: 1rem;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0.18rem;
    width: 1rem;
}

.pricing-card-cta {
    margin-top: auto;
    width: 100%;
}

.pricing-disclaimer {
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #b6c4d4;
    line-height: 1.7;
    margin-top: 1.25rem;
    padding: 1rem 1.2rem;
}

.pricing-disclaimer strong {
    color: #f8fafc;
}

@media (max-width: 980px) {
    .pricing-hero-grid,
    .pricing-panel {
        grid-template-columns: 1fr;
    }

    .pricing-tabs {
        border-radius: 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        position: static;
    }

    .orbit-card:nth-child(2) {
        margin-left: 0;
    }
}

@media (max-width: 620px) {
    .pricing-hero {
        padding: 6.5rem 0 2.5rem;
    }

    .pricing-hero h1 {
        font-size: 2.35rem;
    }

    .pricing-tabs {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 1.05rem;
    }

    .pricing-card h2 {
        padding-right: 0;
    }

    .popular-tag {
        position: static;
        align-self: flex-start;
        margin-bottom: 0.8rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(248, 32, 32, 0.18), transparent 18rem),
        radial-gradient(circle at 88% 12%, rgba(0, 255, 204, 0.12), transparent 20rem),
        linear-gradient(135deg, rgba(248, 32, 32, 0.12), transparent 24rem),
        linear-gradient(45deg, transparent 0 42%, rgba(32, 89, 248, 0.09) 42% 43%, transparent 43% 100%),
        linear-gradient(180deg, #070707 0%, #050505 38%, #090909 100%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
