/* =============================================
   CHRYSALIS TECH GROUP — ENTERPRISE DEMO SITE
   Colors: Navy #0A2041, Cyan #00BBDC, Amber #F2A900
   ============================================= */

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

:root {
    --navy: #0A2041;
    --navy2: #112337;
    --cyan: #00BBDC;
    --amber: #F2A900;
    --white: #ffffff;
    --grey: #5C5C5C;
    --light: #f4f7fb;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    background: rgba(10, 32, 65, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 187, 220, 0.15);
    transition: background 0.3s;
}

.nav.scrolled {
    background: rgba(10, 32, 65, 0.98);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-logo-main {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.nav-logo-sub {
    font-size: 0.55rem;
    color: var(--cyan);
    letter-spacing: 3px;
    font-weight: 500;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--amber) !important;
    color: var(--navy) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: #e09a00 !important;
    transform: translateY(-1px);
}

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

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    display: block;
    border-radius: 2px;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

#antigravity-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 187, 220, 0.15);
    border: 1px solid rgba(0, 187, 220, 0.3);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cyan);
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 187, 220, 0.3);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--cyan));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.7)
    }

    50% {
        opacity: 1;
        transform: scaleY(1)
    }
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.8rem 1.75rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--amber);
    color: var(--navy);
}

.btn-primary:hover {
    background: #e09a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 169, 0, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

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

/* ── TRUST BANNER ── */
.trust-banner {
    background: rgba(0, 187, 220, 0.08);
    border-top: 1px solid rgba(0, 187, 220, 0.15);
    border-bottom: 1px solid rgba(0, 187, 220, 0.15);
    padding: 1rem 2rem;
}

.trust-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.72rem;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

.trust-items {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-items span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ── SECTIONS ── */
.section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.section-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* ── PROBLEM ── */
.problem-section {
    background: var(--navy2);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.problem-text h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.problem-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.problem-text .btn {
    margin-top: 1.5rem;
}

.problem-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.risk-card {
    background: rgba(0, 187, 220, 0.06);
    border: 1px solid rgba(0, 187, 220, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.risk-card:hover {
    border-color: rgba(0, 187, 220, 0.4);
}

.risk-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.risk-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.risk-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ── SERVICES ── */
.services-section {
    background: var(--navy);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(0, 187, 220, 0.3);
    background: rgba(0, 187, 220, 0.05);
    transform: translateY(-4px);
}

.service-card.featured {
    border-color: rgba(242, 169, 0, 0.3);
    background: rgba(242, 169, 0, 0.05);
    grid-column: span 1;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.service-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-list li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-size: 0.8rem;
}

/* ── AI SECTION ── */
.ai-section {
    background: linear-gradient(135deg, var(--navy2) 0%, #0d1f3a 100%);
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ai-text h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.ai-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.ai-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ai-feature h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--cyan);
    letter-spacing: 0.5px;
}

.ai-feature p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.ai-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-orb-container {
    position: relative;
    width: 380px;
    height: 380px;
}

#ai-canvas {
    width: 100%;
    height: 100%;
}

.ai-label-ring {
    position: absolute;
    inset: 0;
}

.ai-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-155px) rotate(calc(-1 * var(--angle)));
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cyan);
    background: rgba(10, 32, 65, 0.85);
    border: 1px solid rgba(0, 187, 220, 0.3);
    padding: 0.3rem 0.6rem;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.ai-core-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    text-align: center;
    pointer-events: none;
    z-index: 10;
}

/* ── MARKETING ── */
.marketing-section {
    background: var(--navy);
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.marketing-card {
    border-top: 2px solid var(--amber);
    padding: 2rem 1.5rem;
    background: rgba(242, 169, 0, 0.04);
    border-radius: 0 0 8px 8px;
    transition: background 0.3s;
}

.marketing-card:hover {
    background: rgba(242, 169, 0, 0.08);
}

.mkt-num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(242, 169, 0, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.marketing-card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.marketing-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ── INDUSTRIES ── */
.industries-section {
    background: var(--navy2);
}

.industry-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.industry-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.industry-card:hover,
.industry-card.active {
    border-color: var(--cyan);
    background: rgba(0, 187, 220, 0.08);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.industry-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    display: none;
}

.industry-card.active p,
.industry-card:hover p {
    display: block;
}

/* ── PROCESS ── */
.process-section {
    background: var(--navy);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.process-step {
    flex: 1;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    background: rgba(0, 187, 220, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.process-connector {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), rgba(0, 187, 220, 0.3));
    margin-top: 30px;
    align-self: flex-start;
}

/* ── TESTIMONIAL ── */
.testimonial-section {
    background: var(--navy2);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: 5rem;
    line-height: 1;
    color: var(--amber);
    font-family: Georgia, serif;
    opacity: 0.5;
    margin-bottom: -1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 2rem;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--amber));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--cyan);
}

/* ── CONTACT ── */
.contact-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-text h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cp {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--cyan);
}

.form-group select option {
    background: var(--navy2);
}

.form-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.form-success {
    background: rgba(0, 187, 220, 0.15);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ── FOOTER ── */
.footer {
    background: #060f1f;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(0, 187, 220, 0.1);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col ul li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--cyan);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-powered a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer-powered a:hover {
    color: #00a0bb;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .marketing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .ai-orb-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 32, 65, 0.98);
        padding: 2rem;
        gap: 1.5rem;
    }

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

    .nav-hamburger {
        display: flex;
    }

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

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

    .problem-cards {
        grid-template-columns: 1fr;
    }

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

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        background: linear-gradient(to bottom, var(--cyan), rgba(0, 187, 220, 0.3));
        margin: 0;
    }

    .industry-tabs {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero-stats {
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

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

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

    .ai-label {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
}