/* ================================
   Base + Theme
   ================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #0b1220;
    --ink-soft: #2b3648;
    --muted: #617089;
    --primary: #0f766e;
    --primary-dark: #0b5c57;
    --primary-soft: #d7f3ef;
    --accent: #f97316;
    --accent-soft: #ffe6d5;
    --surface: #ffffff;
    --surface-alt: #f7f3ee;
    --surface-strong: #f1f5f9;
    --border: #e4dfd6;
    --shadow-sm: 0 6px 20px rgba(11, 18, 32, 0.08);
    --shadow: 0 16px 32px rgba(11, 18, 32, 0.12);
    --shadow-lg: 0 28px 60px rgba(11, 18, 32, 0.16);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Manrope", sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(900px circle at 10% 10%, rgba(249, 115, 22, 0.12), transparent 45%),
        radial-gradient(1200px circle at 80% -10%, rgba(15, 118, 110, 0.18), transparent 50%),
        #f6f4ef;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

section {
    position: relative;
}

/* ================================
   Navigation + Buttons
   ================================ */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(228, 223, 214, 0.7);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink) !important;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.brand-name {
    font-size: 1.1rem;
}

.navbar-toggler {
    box-shadow: none;
}

.nav-link {
    font-weight: 600;
    color: var(--ink-soft) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--ink) !important;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: white;
    border: 1px solid var(--border);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-pill {
    border-radius: 999px;
}

.btn-light {
    background: white;
    color: var(--primary);
    border: none;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* ================================
   Hero + Highlights
   ================================ */
.hero-section {
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 243, 238, 0.85) 60%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: -25%;
    right: -10%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.2) 0%, transparent 70%);
    z-index: 0;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 1.5rem 0 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 1.5rem;
}

.hero-proof {
    display: grid;
    gap: 0.75rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.proof-item i {
    color: var(--primary);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(228, 223, 214, 0.8);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent);
    font-size: 1.2rem;
}

.card-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.card-subtitle {
    color: var(--muted);
    font-size: 0.8rem;
}

.card-a {
    top: 12%;
    left: -6%;
}

.card-b {
    bottom: 18%;
    right: -5%;
    animation-delay: 2s;
}

.card-c {
    top: 55%;
    left: -10%;
    animation-delay: 4s;
}

.logo-strip {
    margin-top: 3rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.75);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.logo-strip span {
    font-weight: 600;
    color: var(--ink-soft);
}

.logo-strip img {
    width: 100%;
    max-height: 60px;
    object-fit: contain;
    opacity: 0.8;
}

/* ================================
   Stats + Section Headers
   ================================ */
.stats-section {
    padding: 2.5rem 0 4.5rem;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.stat-label {
    color: var(--muted);
    font-weight: 600;
}

.section-header {
    margin-bottom: 3rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    margin-top: 1rem;
}

.section-subtitle {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

.section-subtitle.text-start {
    margin-left: 0;
    margin-right: 0;
}

/* ================================
   Features Bento Grid
   ================================ */
.features-section {
    padding: 6rem 0;
    background: var(--surface-alt);
}

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

.bento-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    min-height: 220px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at 100% 0, rgba(15, 118, 110, 0.1), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-card--accent {
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.08), rgba(29, 78, 216, 0.08)), white;
    border-color: rgba(15, 118, 110, 0.2);
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.bento-tag {
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.bento-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.bento-description {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.bento-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-weight: 600;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.bento-meta i {
    color: var(--primary);
}

.span-7 {
    grid-column: span 7;
}

.span-5 {
    grid-column: span 5;
}

.span-4 {
    grid-column: span 4;
}

.span-8 {
    grid-column: span 8;
}

.row-span-2 {
    grid-row: span 2;
}

/* ================================
   Workflow
   ================================ */
.workflow-section {
    padding: 6rem 0;
    background: white;
}

.workflow-section::before {
    content: "";
    position: absolute;
    left: -10%;
    top: 25%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
}

.workflow-section .container {
    position: relative;
    z-index: 1;
}

.step-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.step-meta {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.9rem;
}

.step-meta i {
    color: var(--accent);
}

/* ================================
   Security
   ================================ */
.security-section {
    padding: 6rem 0;
    background: var(--surface-alt);
}

.security-visual {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 0.75rem;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.security-list i {
    color: var(--primary);
}

.compliance-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.compliance-badge {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ================================
   Pricing
   ================================ */
.pricing-section {
    padding: 6rem 0;
    background: white;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.pricing-card--featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.pricing-description {
    color: var(--muted);
    margin-bottom: 1.2rem;
}

.pricing-price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--ink);
}

.price-period {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 600;
    margin-left: 0.25rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.75rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.pricing-features i {
    color: var(--primary);
}

/* ================================
   Testimonials
   ================================ */
.testimonials-section {
    padding: 6rem 0;
    background: var(--surface-alt);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: -24px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-soft);
    font-family: var(--font-display);
}

.testimonial-text {
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 700;
}

.author-role {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ================================
   Resources
   ================================ */
.resources-section {
    padding: 6rem 0;
    background: white;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.resource-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.resource-title {
    font-weight: 700;
}

.resource-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.resource-arrow {
    margin-left: auto;
    color: var(--accent);
}

/* ================================
   CTA
   ================================ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(120deg, #0f766e 0%, #1d4ed8 55%, #f97316 110%);
    color: white;
    overflow: hidden;
}

.cta-section::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.cta-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 4rem 0 2rem;
    background: #0b1220;
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0 1.5rem;
}

.footer .compliance-badge {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.footer-title {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ================================
   Motion
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: fade-up 0.9s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .floating-card {
        animation: none;
    }
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-section {
        padding-top: 7rem;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .floating-card {
        display: none;
    }

    .logo-strip {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .bento-card {
        grid-column: 1 / -1;
    }

    .pricing-card--featured {
        transform: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .btn-lg {
        width: 100%;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}
