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

:root {
    --primary-dark: #1F3A5F;
    --primary-teal: #2EC4B6;
    --primary-teal-dark: #26AFA2;
    --bg-light: #F8FAFC;
    --text-dark: #1F3A5F;
    --text-gray: #6B7280;
    --text-white: #ffffff;
    --border-light: #E5EAF0;
    --bg-white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    background-color: var(--bg-white);
}

html {
    scroll-behavior: smooth;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.info-box-icon svg,
.service-icon svg,
.reason-icon svg,
.pillar-icon svg,
.value-icon svg,
.step-circle svg {
    width: 20px;
    height: 20px;
}

/* Header/Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
}

/* SCROLLED */
header.scrolled {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

/* LAYOUT */
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    height: 56px;
    width: auto;
}

.logo a {
    display: inline-block;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-right {
    margin-left: 50px;
}

/* NAV LINKS */
.nav a {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

/* HOVER */
header:not(.scrolled) .nav a:hover,
header.scrolled .nav a:hover {
    color: #2EC4B6;
}

/* DARK HERO STATE */
header:not(.scrolled) .nav a {
    color: #ffffff;
}

/* SCROLLED (LIGHT BACKGROUND) */
header.scrolled .nav a {
    color: #6B7280;
}

/* CTA BUTTON */
.btn-nav {
    background: #2EC4B6;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.2s ease;
}

.btn-nav:hover {
    background: #26AFA2;
}

/* MOBILE */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
}

@media (max-width: 768px) {

    .nav,
    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        color: white;
    }

    header.scrolled .mobile-menu-btn {
        color: #1F3A5F;
    }

    h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-badge {
        margin-top: 50px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 20px;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 64px 0 !important;
    }

    .section-desc {
        font-size: 15px;
    }

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

    .service-card {
        padding: 20px;
    }

    .legal-hero {
        padding-top: 100px;
    }

    .info-box {
        padding: 20px;
    }

    .pillar-card {
        padding: 20px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(46, 196, 182, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 196, 182, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.2;
    background-image: url("https://images.pexels.com/photos/7579831/pexels-photo-7579831.jpeg?auto=compress&cs=tinysrgb&w=1600");
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(31, 58, 95, 0.75);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 49rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 8px 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-teal);
    animation: pulse 2s ease-in-out infinite;
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    /* removes white gap */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.hero::after {
    z-index: 2;
}

.hero-content {
    z-index: 10;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }
}

h1 .teal {
    color: var(--primary-teal);
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 42rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--text-white);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
    box-shadow: 0 20px 25px -5px rgba(46, 196, 182, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--primary-teal-dark);
    box-shadow: 0 25px 30px -5px rgba(46, 196, 182, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 40px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-teal);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 96px 0;
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    color: var(--primary-teal);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    h2 {
        font-size: 2.25rem;
    }
}

.section-desc {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background-color: var(--primary-dark);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: none;
}

@media (min-width: 768px) {
    .about-badge {
        display: block;
    }
}

.about-badge-value {
    color: var(--primary-teal);
    font-size: 30px;
    font-weight: 700;
}

.about-badge-text {
    color: var(--text-white);
    font-size: 14px;
    margin-top: 4px;
    font-weight: 300;
    line-height: 1.4;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-box {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5eaf0;
}

.info-box-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.info-box-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #eff9f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-teal);
    font-size: 20px;
}

.info-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.info-box p {
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 300;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.6;
}

.value-icon {
    color: var(--primary-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Services Section */
.services {
    padding: 96px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.2s ease;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.service-badge {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 12px;
    border-radius: 9999px;
    background-color: #eff9f8;
    color: var(--primary-teal);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.6;
}

.service-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-teal);
    flex-shrink: 0;
    margin-top: 8px;
}

.service-cta {
    background: linear-gradient(to bottom right, var(--primary-dark), #2a4f7a);
    border-radius: 16px;
    padding: 28px;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.service-cta h3 {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 300;
}

.service-cta a {
    background-color: var(--primary-teal);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.service-cta a:hover {
    background-color: var(--primary-teal-dark);
}

.service-cta-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background-color: rgb(239, 249, 248);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
    color: rgb(46, 196, 182)
}

.service-cta-icon svg {
    width: 32px;
    height: 32px;
}

/* Why Choose Us Section */
.why-us {
    padding: 96px 0;
    background-color: var(--bg-white);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-content {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-left h2 {
    margin-top: 12px;
    margin-bottom: 24px;
}

.why-us-left>p {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 300;
}

.comparison-box {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5eaf0;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    color: var(--text-dark);
}

.comparison-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-size: 14px;
}

.comparison-pro {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.comparison-con {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-gray);
    font-weight: 300;
}

.comparison-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.why-us-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reason-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5eaf0;
    transition: all 0.2s ease;
}

.reason-card:hover {
    border-color: rgba(46, 196, 182, 0.3);
    background-color: #f8fcfc;
}

.reason-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #eff9f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-teal);
    font-size: 20px;
}

.reason-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.reason-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 300;
}

.reason-number {
    margin-left: auto;
    color: #e5eaf0;
    font-size: 14px;
    font-weight: 700;
    align-self: center;
    flex-shrink: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 96px 0;
    background-color: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps-grid::before {
        content: '';
        position: absolute;
        top: 56px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: linear-gradient(to right, var(--primary-dark), var(--primary-teal), var(--primary-dark));
        opacity: 0.2;
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 2px solid rgba(46, 196, 182, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    transition: all 0.2s ease;
    position: relative;
}

.step:hover .step-circle {
    border-color: var(--primary-teal);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: var(--text-white);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-label {
    color: #e0e7f0;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 300;
}

/* Compliance Section */
.compliance {
    padding: 96px 0;
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.compliance::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 90%, rgba(46, 196, 182, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(46, 196, 182, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.compliance-content {
    position: relative;
    z-index: 10;
}

.compliance .section-header {
    color: var(--text-white);
}

.compliance .section-header h2 {
    color: var(--text-white);
}

.compliance .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pillar-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.2s ease;
}

.pillar-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(46, 196, 182, 0.3);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(46, 196, 182, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-teal);
    font-size: 22px;
}

.pillar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-weight: 300;
}

.compliance-banner {
    background: linear-gradient(to right, rgba(46, 196, 182, 0.2), transparent);
    border: 1px solid rgba(46, 196, 182, 0.3);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .compliance-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
}

.compliance-banner-text {
    flex: 1;
}

.compliance-banner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.compliance-banner-header span {
    color: var(--text-white);
    font-weight: 600;
}

.compliance-banner-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.compliance-btn {
    flex-shrink: 0;
    background-color: var(--primary-teal);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.compliance-btn:hover {
    background-color: var(--primary-teal-dark);
}

/* CTA Section */
.cta {
    padding: 96px 0;
    background-color: var(--bg-white);
}

.cta-inner {
    max-width: 56rem;
    margin: 0 auto;
}

.cta-box {
    background: linear-gradient(to bottom right, var(--primary-dark), #2a4f7a);
    border-radius: 24px;
    padding: 64px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(46, 196, 182, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 196, 182, 0.1) 0%, transparent 40%);
    opacity: 1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-label {
    color: var(--primary-teal);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.cta-box h2 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .cta-box h2 {
        font-size: 2.25rem;
    }
}

.cta-box p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-feature-divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 512px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #f3f4f6;
}

.modal-header h2 {
    font-size: 20px;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #d1d5db;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
}

.modal-body {
    padding: 24px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #d1d5db;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
    transform: translateY(-2px);
}

.form-textarea {
    resize: none;
    min-height: 100px;
}

.form-buttons {
    display: flex;
    gap: 12px;
    padding-top: 16px;
}

.form-buttons button {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-cancel {
    background-color: transparent;
    border: 1px solid #e5eaf0;
    color: var(--text-gray);
}

.btn-cancel:hover {
    background-color: #f9fafb;
}

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

.btn-submit:hover:not(:disabled) {
    background-color: var(--primary-teal-dark);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
footer {
    background-color: #111e30;
    color: var(--text-white);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* FOOTER LOGO */
.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 52px;
    /* adjust to match screenshot */
    width: auto;
}

/* DESCRIPTION */
.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-bottom: 24px;
    font-weight: 300;
}

/* SOCIAL ICONS */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: rgba(46, 196, 182, 0.2);
    border-color: rgba(46, 196, 182, 0.3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-item svg {
    color: #2EC4B6;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.footer-address {
    font-family: inherit;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 300;
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hidden-overflow {
    overflow: hidden;
}

/* =========================
   LEGAL PAGES (Privacy / TOS / HIPAA)
   ========================= */

/* HERO (smaller than homepage) */
.legal-hero {
    min-height: 50vh;
    padding-top: 120px;
}

/* Improve readability for long text */
.about-text {
    max-width: 900px;
    margin: 0 auto;
}

/* Legal section spacing */
.legal-section {
    padding: 80px 0;
}

/* Info boxes (privacy + tos) */
.info-box {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.info-box:hover {
    border-color: rgba(46, 196, 182, 0.3);
    background-color: #f8fcfc;
}

/* Make legal headings slightly tighter */
.info-box h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Better paragraph spacing for legal content */
.info-box p {
    font-size: 14.5px;
    line-height: 1.7;
}

/* SERVICES GRID (Terms page) */
.services-grid .service-card {
    padding: 24px;
}

.service-card p {
    font-size: 14.5px;
    line-height: 1.6;
}

/* HIPAA (dark section adjustments) */
.compliance {
    padding-top: 120px;
}

/* Pillar cards readability */
.pillar-card {
    padding: 24px;
}

.pillar-card p {
    font-size: 14.5px;
    line-height: 1.7;
}

/* Section header spacing tweak for legal */
.section-header {
    margin-bottom: 50px;
}

/* Make long pages feel less heavy */
.section-desc {
    max-width: 700px;
}

/* Footer for legal pages */
.footer {
    padding: 40px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.footer p {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    display: none;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.2s ease;
}

.mobile-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: #1F3A5F;
}

.mobile-menu button {
    margin-top: 10px;
}


/* Learn More Video */
.video-modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
}

.video-modal-body.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-body video {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.close-video {
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 30px;
    right: 30px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.15);
    color: #fff;

    font-size: 26px;
    font-weight: 300;
    line-height: 0;

    padding: 0 0 3px 1px;

    cursor: pointer;

    backdrop-filter: blur(10px);
    transition: 0.25s ease;

    z-index: 10000;
}

.close-video:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}