/* SCAITV main styles */
:root {
    --bg-body: #050814;
    --bg-elevated: #0c1224;
    --bg-elevated-alt: #0f172a;
    --accent: #5b8dff;
    --accent-soft: rgba(91, 141, 255, 0.12);
    --accent-strong: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #5b8dff, #22d3ee);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.25);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.75);
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top left, #1e293b 0, #020617 42%, #020617 100%);
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}

/* Layout helpers */
.container {
    width: min(1200px, 100% - 2.5rem);
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.35), rgba(15, 23, 42, 0.95));
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-header.left {
    text-align: left;
    margin-left: 0;
}

.section-header h2 {
    font-size: clamp(1.9rem, 2.4vw, 2.4rem);
    margin-bottom: 0.6rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.85));
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.site-header.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background-image: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.45);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.92rem;
}

.logo-text span {
    color: #22d3ee;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--text-main);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background-image: var(--accent-gradient);
    border-color: transparent;
    color: #0b1220;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.65);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.7);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-strong);
    background: rgba(15, 23, 42, 0.7);
}

.btn.full {
    width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.3rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
    margin: 4px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
    padding: 4.5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.1rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 560px;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.hero-tags span {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--text-muted);
}

/* Hero media */
.hero-media {
    display: grid;
    gap: 1.2rem;
}

.hero-card {
    padding: 1.3rem 1.4rem;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.95));
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-card-list li::before {
    content: "▹";
    color: #22d3ee;
    margin-right: 0.35rem;
}

.hero-graphic {
    border-radius: var(--radius-xl);
    padding: 0.6rem;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.hero-graphic img {
    display: block;
    width: 100%;
    border-radius: calc(var(--radius-xl) - 4px);
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.feature-card {
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 56px rgba(15, 23, 42, 0.85);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.feature-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* AI Works */
.ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: center;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.pill-list span {
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.ai-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ai-benefits li + li {
    margin-top: 0.4rem;
}

/* AI panel */
.ai-panel {
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.ai-panel-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.8), rgba(15, 23, 42, 0.98));
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.ai-panel-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 0.25rem;
}

.ai-panel-header .dot.red { background: #f97373; }
.ai-panel-header .dot.yellow { background: #facc15; }
.ai-panel-header .dot.green { background: #4ade80; }

.ai-title {
    margin-left: 0.6rem;
    font-size: 0.8rem;
    color: #e5e7eb;
}

.ai-panel-body {
    padding: 1.2rem 1.3rem 1.1rem;
    font-size: 0.88rem;
}

.ai-panel-body ol {
    margin: 0 0 0.9rem;
    padding-left: 1.05rem;
}

.ai-footnote {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Solutions */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.solution-card {
    padding: 1.3rem 1.3rem 1.4rem;
    background: rgba(15, 23, 42, 0.97);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Reach */
.reach-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 2.5rem;
    align-items: center;
}

.reach-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.reach-media {
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.97);
    box-shadow: var(--shadow-soft);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--text-muted);
}

.reach-caption {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.pricing-card {
    padding: 1.7rem 1.5rem 1.6rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.pricing-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.pricing-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.pricing-card ul {
    margin: 0 0 1.2rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
}

.pricing-card.featured {
    border-color: var(--accent-strong);
    box-shadow: 0 28px 80px rgba(37, 99, 235, 0.8);
}

.tag-best {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background-image: var(--accent-gradient);
    color: #0b1220;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    gap: 2.3rem;
    align-items: flex-start;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-points a {
    color: #93c5fd;
}

.contact-note {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.contact-form-card {
    padding: 1.6rem 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: var(--shadow-soft);
}

.contact-form .field {
    margin-bottom: 0.9rem;
}

.contact-form label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.88rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-strong);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.65);
}

/* Alerts */
.alert {
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}

.alert.success {
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.7);
    color: #bbf7d0;
}

.alert.error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.8);
    color: #fecaca;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.6rem 0 2rem;
    background: #020617;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .ai-grid,
    .reach-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 4rem;
    }

    .hero-media {
        order: -1;
    }

    .feature-grid,
    .solution-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        inset: 60px 0 auto;
        margin: 0;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.3);
        padding: 0.7rem 1.25rem 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-block;
    }

    .hero-grid {
        gap: 2.2rem;
    }

    .feature-grid,
    .solution-grid,
    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section {
        padding: 3.3rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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