:root {
    --ipo-green: #1c7c54;
    --ipo-green-dark: #14573a;
    --ipo-green-light: #e2f4ea;
    --ipo-dark: #0b1d1a;
    --ipo-muted: #6c757d;
    --ipo-shadow: 0 10px 30px rgba(12, 71, 34, 0.12);
}

* {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    background-color: #f8f9fa;
    color: #1f1f1f;
}

.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--ipo-shadow);
}

.nav-link {
    color: #1f1f1f;
    font-weight: 500;
    margin-inline: 0.35rem;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--ipo-green);
}

.logo-icon svg {
    display: block;
}

.btn-success {
    background: linear-gradient(135deg, var(--ipo-green), var(--ipo-green-dark));
    border: none;
    box-shadow: 0 10px 20px rgba(28, 124, 84, 0.25);
}

.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(135deg, var(--ipo-green-dark), var(--ipo-green));
}

.btn-outline-success {
    border-width: 2px;
    border-color: var(--ipo-green);
    color: var(--ipo-green);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: var(--ipo-green);
    color: #fff;
}

.badge.bg-light-success {
    background-color: var(--ipo-green-light) !important;
}

.hero-section {
    margin-top: 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(28, 124, 84, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-net {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(28, 124, 84, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 124, 84, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(76, 175, 135, 0.12), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(28, 124, 84, 0.18), transparent 60%);
    background-size: 120px 120px, 120px 120px, 100% 100%, 100% 100%;
    transform: perspective(900px) rotateX(60deg) scale(1.4);
    transform-origin: top;
    opacity: 0.7;
    filter: blur(0.3px);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.hero-companies {
    position: relative;
    z-index: 1;
    max-width: 420px;
}

.hero-companies-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 1.25rem;
}

.hero-company {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 1rem;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 25px 50px rgba(13, 87, 51, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(28, 124, 84, 0.12);
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    position: relative;
    overflow: hidden;
}

.hero-company::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(28, 124, 84, 0.18), transparent 60%);
    opacity: 0;
    transform: translateZ(-20px) scale(0.6);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.hero-company:hover,
.hero-company:focus-within {
    transform: rotateX(6deg) rotateY(-6deg) translateZ(18px);
    box-shadow: 0 30px 65px rgba(12, 71, 34, 0.22);
}

.hero-company:hover::before,
.hero-company:focus-within::before {
    opacity: 1;
    transform: translateZ(-10px) scale(1);
}

.hero-company:hover .hero-company-ticker,
.hero-company:focus-within .hero-company-ticker {
    background: rgba(28, 124, 84, 0.2);
}

.hero-company-ticker {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--ipo-green-dark);
    background: rgba(28, 124, 84, 0.12);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.hero-company-value {
    font-weight: 600;
    color: var(--ipo-muted);
    font-size: 0.9rem;
}

.hero-card {
    background: linear-gradient(145deg, #1c7c54, #14573a);
    color: #fff;
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 60%);
    pointer-events: none;
}

.hero-card ul li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.bg-success-subtle {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.badge.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.2) !important;
    color: #ffc107 !important;
}

.badge.bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.2) !important;
    color: #0dcaf0 !important;
}

.cta-highlight {
    background: #fff;
    border-radius: 1.75rem;
    padding: 2.5rem;
    box-shadow: var(--ipo-shadow);
}

.cta-highlight .btn {
    min-width: 200px;
}

.carousel-container {
    position: relative;
}

.company-card {
    background-color: #fff;
    border-radius: 1.75rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--ipo-shadow);
    max-width: 520px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(12, 71, 34, 0.18);
}

.company-logo {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--ipo-green-light), rgba(28, 124, 84, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ipo-green-dark);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.valuation {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3.25rem;
    height: 3.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(28, 124, 84, 0.15);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(28, 124, 84, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(44%) sepia(18%) saturate(1125%) hue-rotate(105deg) brightness(90%) contrast(88%);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    color: var(--ipo-green-dark);
    background-color: var(--ipo-green-light);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.accordion-body {
    color: var(--ipo-muted);
    line-height: 1.6;
    padding: 0 1.5rem 1.5rem;
}

.site-footer {
    background: radial-gradient(circle at top left, rgba(28, 124, 84, 0.35), transparent 55%),
        linear-gradient(180deg, #07271d 0%, #041914 100%);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -80px;
    right: -80px;
    background: rgba(155, 231, 196, 0.12);
    filter: blur(8px);
    border-radius: 50%;
}

.site-footer a {
    transition: color 0.25s ease, opacity 0.25s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff !important;
    opacity: 1;
}

.footer-heading {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #9be7c4;
    margin-bottom: 1rem;
}

.footer-links li + li {
    margin-top: 0.35rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-social a {
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-links a {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--ipo-green);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.feature-icon,
.hiw-icon,
.icon-circle,
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: var(--ipo-green-light);
    color: var(--ipo-green);
    font-size: 1.25rem;
}

.hiw-card {
    background-color: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: var(--ipo-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(12, 71, 34, 0.18);
}

.feature-list .check-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--ipo-green-light);
    color: var(--ipo-green);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.why-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--ipo-shadow);
}

.contact-info .contact-icon {
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
}

.card {
    border-radius: 1.5rem;
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(28, 124, 84, 0.25);
}

.modal-content {
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(12, 71, 34, 0.2);
}

.form-control,
.form-select {
    border-radius: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ipo-green);
    box-shadow: 0 0 0 0.1rem rgba(28, 124, 84, 0.25);
}

.footer a:hover {
    color: var(--ipo-green) !important;
}

.pulse {
    position: relative;
    overflow: hidden;
}

.pulse::after {
    content: "";
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.pulse:hover::after {
    transform: scale(1);
    opacity: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .hero-section {
        margin-top: 72px;
    }

    .navbar-collapse {
        background-color: #fff;
        border-radius: 1rem;
        padding: 1rem;
        box-shadow: var(--ipo-shadow);
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section .display-5 {
        font-size: 2.25rem;
    }

    .hero-card {
        padding: 2rem !important;
    }

    .cta-highlight {
        padding: 2rem;
        text-align: center;
    }
}
