* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

a {
    color: #7dd3fc;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    margin: 0 0 0.75rem;
    color: #f9fafb;
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.35rem;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4rem 0;
    background: #020617;
}

.section-alt {
    padding: 4rem 0;
    background: #020819;
}

.section-dark {
    padding: 4.25rem 0;
    background: #020617;
}

.section-contact {
    background: #020819;
}

/* Hero */

.page-header {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 4rem;
}

.gradient-hero {
    background: radial-gradient(circle at top left, #f97316 0, rgba(15,23,42,0.1) 40%), radial-gradient(circle at bottom right, #22c55e 0, rgba(15,23,42,0.1) 40%), #020617;
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.header-text h1 {
    font-size: 2.5rem;
    line-height: 1.15;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5f5;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.85);
    color: #fbbf24;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.badge-pill i {
    color: #22c55e;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item i {
    color: #38bdf8;
    font-size: 1rem;
}

.header-media {
    position: relative;
}

.hero-card {
    background: #020617;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15,23,42,0.85);
    border: 1px solid rgba(148,163,184,0.3);
}

.hero-card-main img {
    width: 100%;
    height: auto;
}

.hero-card-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    margin: 0.9rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    font-size: 0.78rem;
    color: #e5e7eb;
}

.hero-card-label i {
    color: #22c55e;
}

.hero-card-floating {
    position: absolute;
    right: -1.25rem;
    bottom: -1.25rem;
    width: 70%;
    background: #020617;
    padding: 0.85rem 1rem 1rem;
    font-size: 0.9rem;
}

.hero-card-floating p {
    margin: 0.35rem 0 0;
    color: #cbd5f5;
}

.hero-decor {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 100%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.hero-decor-left {
    top: -80px;
    left: -40px;
    background: #22c55e;
}

.hero-decor-right {
    bottom: -100px;
    right: -60px;
    background: #f97316;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #e5e7eb;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: #16a34a;
    color: #020617;
}

.btn-primary i {
    color: #020617;
}

.btn-ghost {
    border-color: rgba(148,163,184,0.6);
    background: rgba(15,23,42,0.6);
    color: #e2e8f0;
}

.btn:hover {
    opacity: 0.9;
}

/* Sections and grids */

.section-heading {
    max-width: 680px;
    margin: 0 auto 2.25rem;
    text-align: left;
}

.section-heading.narrow {
    max-width: 640px;
    text-align: center;
}

.section-heading p {
    color: #cbd5f5;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a5b4fc;
    background: rgba(15,23,42,0.7);
    margin-bottom: 0.8rem;
}

.grid-3 {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.grid-2 {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(2, minmax(0,1fr));
}

/* Feature cards */

.feature-card {
    padding: 1.5rem 1.6rem;
    border-radius: 1.1rem;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.12) 0, rgba(15,23,42,0.95) 52%);
    border: 1px solid rgba(148,163,184,0.4);
}

.feature-card p {
    color: #cbd5f5;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    background: rgba(15,23,42,0.9);
    color: #22c55e;
    font-size: 1.2rem;
}

/* Content split, stats */

.content-split {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(0,0.8fr);
    gap: 2.75rem;
    align-items: start;
}

.decorated-block {
    position: relative;
    padding-left: 1.25rem;
}

.decorated-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 3px;
    height: 60%;
    border-radius: 999px;
    background: linear-gradient(180deg, #22c55e, #38bdf8);
}

.stat-card {
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    background: #020617;
    border: 1px solid rgba(148,163,184,0.4);
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a5b4fc;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5f5;
}

/* Image stack */

.image-stack {
    position: relative;
}

.image-stack-main {
    border-radius: 1.3rem;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: 0 18px 50px rgba(15,23,42,0.9);
}

.image-stack-float {
    position: absolute;
    left: -1rem;
    bottom: -1rem;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: #020617;
    border: 1px solid rgba(148,163,184,0.5);
    font-size: 0.9rem;
    max-width: 80%;
    color: #cbd5f5;
}

.image-stack-float i {
    color: #22c55e;
    margin-right: 0.4rem;
}

/* Uneven grid */

.uneven-grid {
    align-items: start;
}

.list-card {
    padding: 1.4rem 1.5rem;
    border-radius: 1.1rem;
    background: #020617;
    border: 1px solid rgba(148,163,184,0.45);
}

.list-card h3 {
    margin-bottom: 0.75rem;
}

.list-card ul {
    color: #e5e7eb;
}

/* Timeline and CTA */

.timeline {
    margin: 2.5rem 0 2rem;
    border-left: 1px solid rgba(148,163,184,0.7);
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.6rem;
}

.timeline-dot {
    position: absolute;
    left: -1.01rem;
    top: 0.3rem;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
}

.timeline-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    font-size: 0.96rem;
    color: #cbd5f5;
}

.cta-panel {
    margin-top: 1.5rem;
    padding: 1.4rem 1.6rem;
    border-radius: 1.1rem;
    background: radial-gradient(circle at top right, rgba(34,197,94,0.15) 0, rgba(15,23,42,0.95) 60%);
    border: 1px solid rgba(148,163,184,0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.cta-text h3 {
    margin-bottom: 0.4rem;
}

.cta-text p {
    margin: 0;
    color: #cbd5f5;
}

.cta-actions {
    margin-left: auto;
}

/* Info cards */

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

.info-card {
    padding: 1.2rem 1.3rem;
    border-radius: 1.1rem;
    background: #020617;
    border: 1px solid rgba(148,163,184,0.45);
}

.info-card h3 {
    font-size: 1.02rem;
}

.info-card p {
    color: #cbd5f5;
}

.info-card i {
    font-size: 1.3rem;
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-intro p {
    color: #cbd5f5;
}

.contact-details {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.6rem;
}

.contact-details .detail {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.93rem;
}

.contact-details i {
    color: #22c55e;
}

.contact-form-wrapper {
    background: #020617;
    border-radius: 1.25rem;
    border: 1px solid rgba(148,163,184,0.45);
    padding: 1.6rem 1.7rem;
}

.contact-form .form-row {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
    color: #e5e7eb;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.55rem 0.8rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148,163,184,0.6);
    background: #020617;
    color: #e5e7eb;
    font-size: 0.95rem;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.4);
}

.checkbox-row {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: #cbd5f5;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    margin-top: 0.1rem;
}

/* Footer */

.page-footer {
    background: #020617;
    border-top: 1px solid rgba(148,163,184,0.4);
    padding: 1.8rem 0 2.1rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-mark {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: conic-gradient(from 45deg, #22c55e, #38bdf8, #f97316, #22c55e);
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.86rem;
}

.footer-links a {
    color: #e5e7eb;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #9ca3af;
    justify-content: space-between;
}

/* Subpages */

.subpage-header {
    padding: 3.5rem 0 2.5rem;
}

.gradient-soft {
    background: linear-gradient(135deg, #0f172a 0, #020617 40%, #1d2938 100%);
}

.gradient-soft-dark {
    background: linear-gradient(135deg, #020617 0, #020617 40%, #111827 100%);
}

.sub-header-inner .lead {
    max-width: 680px;
}

.subpage-header h1 {
    font-size: 2.1rem;
}

.sub-footer {
    margin-top: 0;
}

.subpage-footer-links {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.subpage-footer-links a {
    color: #7dd3fc;
}

/* About page specific */

.image-card-vertical {
    border-radius: 1.25rem;
    background: #020617;
    border: 1px solid rgba(148,163,184,0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.image-card-vertical img {
    width: 100%;
    display: block;
}

.image-card-caption {
    padding: 0.9rem 1rem 1.1rem;
    font-size: 0.9rem;
    color: #cbd5f5;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.image-card-caption i {
    color: #22c55e;
    margin-top: 0.2rem;
}

/* Legal pages */

.legal-content h2 {
    font-size: 1.2rem;
    margin-top: 1.4rem;
}

.legal-content p {
    color: #cbd5f5;
    line-height: 1.7;
}

/* Thanks page */

.thanks-body {
    background: radial-gradient(circle at top, #22c55e 0, #020617 45%);
    color: #e5e7eb;
}

.thanks-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem 2rem;
}

.thanks-card {
    max-width: 520px;
    width: 100%;
    padding: 2rem 2.2rem;
    border-radius: 1.3rem;
    background: rgba(2,6,23,0.95);
    border: 1px solid rgba(148,163,184,0.45);
    text-align: center;
    box-shadow: 0 24px 60px rgba(15,23,42,0.9);
}

.thanks-card h1 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.thanks-card p {
    color: #cbd5f5;
    margin-bottom: 1.5rem;
}

.thanks-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22,163,74,0.1);
    color: #22c55e;
    font-size: 1.6rem;
}

/* Responsive */

@media (max-width: 960px) {
    .header-inner {
        grid-template-columns: minmax(0,1fr);
    }

    .hero-card-floating {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 1.2rem;
    }

    .content-split,
    .grid-3,
    .grid-2,
    .contact-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding-top: 3.2rem;
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-alt,
    .section-dark,
    .section-contact {
        padding: 3rem 0;
    }

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

    .thanks-card {
        padding: 1.6rem 1.5rem;
    }
}
