/* South Col Tech - Shared Styles */

:root {
    --brand-50: #f0f9ff;
    --brand-100: #e0f2fe;
    --brand-500: #0ea5e9;
    --brand-600: #0284c7;
    --brand-700: #0369a1;
    --brand-900: #0c4a6e;
    --sunrise-300: #fdba74;
    --sunrise-500: #f97316;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--slate-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image:
        linear-gradient(to bottom, rgba(255,255,255,0.88), rgba(255,255,255,0.45)),
        url('assets/images/site_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226,232,240,0.6);
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-brand {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-600);
    text-decoration: none;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-600);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--slate-600);
}

/* Layout */
.main {
    flex: 1;
    width: 100%;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1 {
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

h1 strong {
    font-weight: 600;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

p {
    line-height: 1.7;
    color: var(--slate-600);
}

.text-gradient {
    font-weight: 600;
    background: linear-gradient(135deg, var(--brand-600), var(--sunrise-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-hero {
    padding: 5rem 0 3rem;
    text-align: center;
}

.section-hero p {
    font-size: 1.125rem;
    max-width: 560px;
    margin: 1.25rem auto 0;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226,232,240,0.7);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9375rem;
}

/* Bullet lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-500);
}

/* CTA / Waitlist form */
.cta-box {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(226,232,240,0.6);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    margin: 0 auto;
}

.cta-box h3 {
    text-align: center;
}

.cta-box .subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--slate-900);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    cursor: pointer;
}

.select-wrap::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--slate-400);
    pointer-events: none;
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
    color: #fff;
    font-weight: 500;
    font-size: 0.9375rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 12px rgba(14,165,233,0.2);
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14,165,233,0.25);
}

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

.success-msg {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-msg.show {
    display: block;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #16a34a;
    margin-bottom: 1rem;
}

/* Stage badge */
.stage-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--sunrise-500);
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--slate-200);
    margin: 2.5rem 0;
    opacity: 0.5;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(226,232,240,0.5);
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.footer-inner a {
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-inner a:hover {
    color: var(--brand-600);
}

/* Responsive */
@media (min-width: 640px) {
    h1 {
        font-size: 3.5rem;
    }

    .card-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 639px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
        border-bottom: 1px solid var(--slate-200);
    }

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

    .nav-toggle {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    .section-hero {
        padding: 3rem 0 2rem;
    }
}
