/* ─── Hero variants (homepage) ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 160px 0 96px; /* Extra top padding for fixed nav */
}

.hero-dark {
    background-color: #0A0A0F;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: inherit;
    letter-spacing: -0.02em;
}

.hero-dark .hero-title { color: white; }

.hero-subtitle {
    font-size: 20px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-dark .hero-subtitle { color: #9CA3AF; }

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Glow effects */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow-purple { background-color: #7C3AED; top: -200px; right: -100px; }
.hero-glow-cyan { background-color: #06B6D4; bottom: -200px; left: -100px; }
.hero-glow-green { background-color: #8FFF08; top: 50%; left: 50%; opacity: 0.08; transform: translate(-50%, -50%); }

/* ─── Feature Grid ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ─── Pipeline / Steps ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #080808;
    color: #8FFF08;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}

.section-dark .step-number {
    background-color: #8FFF08;
    color: #080808;
}

.steps-connector {
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

/* ─── Finding Card ─── */
.finding-card {
    background-color: #0A0A0F;
    border-radius: 16px;
    padding: 40px;
    color: white;
    border: 1px solid #1F2937;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.finding-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.finding-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.finding-signal {
    background-color: #1F2937;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    color: #D1D5DB;
}

/* ─── Integration Grid ─── */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.integration-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

/* ─── CTA Section ─── */
.cta-section {
    background-color: #080808;
    color: white;
    text-align: center;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2,
.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.cta-subtitle {
    color: #9CA3AF;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-desc,
.cta-section p {
    color: #9CA3AF;
}

.cta-section .btn-primary {
    background-color: #8FFF08;
    color: #080808;
}

.cta-section .btn-primary:hover {
    background-color: #7BE007;
}

/* ─── Architecture Diagram ─── */
.arch-layer {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    position: relative;
    margin-bottom: 16px;
}

.arch-layer h4 {
    margin-bottom: 4px;
}

.arch-layer p {
    margin-bottom: 0;
    font-size: 14px;
}

.arch-arrow {
    text-align: center;
    font-size: 24px;
    color: var(--color-text-light);
    margin: 8px 0;
}

/* ─── Tabs (platform page) ─── */
.tabs-container {
    margin-top: 48px;
}

/* ─── Solutions cards ─── */
.solution-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.solution-card h3 {
    margin-bottom: 12px;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.solution-card ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--color-text-light);
    font-size: 15px;
}

.solution-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* ─── Contact form ─── */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--color-primary);
    background: white;
    transition: border-color 0.3s;
    outline: none;
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--color-red);
}

.form-success {
    background: #D1FAE5;
    color: #065F46;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 500;
    display: none;
}

/* ─── Founder cards ─── */
.founder-card {
    text-align: center;
    padding: 40px 24px;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.founder-card h3 {
    margin-bottom: 4px;
}

.founder-card .role {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    display: block;
}

/* ─── Company info card ─── */
.info-card {
    background: #F9FAFB;
    border-radius: 16px;
    padding: 40px;
}

.info-card dt {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.info-card dd {
    color: var(--color-text-light);
    margin-bottom: 20px;
    margin-left: 0;
}

/* ─── Security controls grid ─── */
.security-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.security-card h3 {
    margin-bottom: 8px;
}

/* ─── Logo wall ─── */
.logo-wall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.logo-wall:hover {
    opacity: 0.8;
    filter: grayscale(50%);
}

/* ─── Map placeholder ─── */
.map-placeholder {
    background: #F3F4F6;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    color: var(--color-text-light);
    border: 1px dashed var(--color-border);
}
