/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ========== HERO GRADIENT ========== */
.hero-gradient {
    background: linear-gradient(135deg, #022c22 0%, #064e3b 25%, #15803d 55%, #16a34a 80%, #22c55e 100%);
}

/* ========== HERO SHAPES ========== */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.12;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #d9f99d;
    top: -150px;
    right: -100px;
    animation: float-slow 12s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #86efac;
    bottom: -80px;
    left: -60px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #fef08a;
    top: 30%;
    left: 8%;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-diamond {
    width: 120px;
    height: 120px;
    background: #4ade80;
    top: 20%;
    right: 12%;
    transform: rotate(45deg);
    animation: float-slow 9s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #86efac;
    bottom: 20%;
    right: 25%;
    opacity: 0.08;
    animation: float-slow 11s ease-in-out infinite reverse;
}

.shape-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 20px solid #d9f99d;
    top: 60%;
    left: 15%;
    opacity: 0.07;
    animation: spin-slow 30s linear infinite;
}

.shape-dot-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    top: 15%;
    left: 25%;
    opacity: 0.2;
}

.shape-dot-group span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9f99d;
    animation: pulse-dot 2s ease-in-out infinite;
}

.shape-dot-group span:nth-child(2) { animation-delay: .2s; }
.shape-dot-group span:nth-child(3) { animation-delay: .4s; }
.shape-dot-group span:nth-child(4) { animation-delay: .1s; }
.shape-dot-group span:nth-child(5) { animation-delay: .3s; }
.shape-dot-group span:nth-child(6) { animation-delay: .5s; }
.shape-dot-group span:nth-child(7) { animation-delay: .15s; }
.shape-dot-group span:nth-child(8) { animation-delay: .35s; }
.shape-dot-group span:nth-child(9) { animation-delay: .55s; }

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: .4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp .7s ease forwards;
    opacity: 0;
}

.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }

/* ========== NAVIGATION ========== */
#site-header {
    background: transparent;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

#site-header.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(22, 101, 52, 0.08), 0 4px 20px rgba(0,0,0,0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #16a34a;
    transition: width .2s, left .2s;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 60%;
    left: 20%;
}

/* ========== BUTTONS ========== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 9999px;
    transition: all .2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #d9f99d;
    color: #064e3b;
    padding: 14px 28px;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(217, 249, 157, 0.35);
}

.btn-primary:hover {
    background: #fef08a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 249, 157, 0.45);
}

.btn-primary--lg {
    padding: 17px 36px;
    font-size: 16px;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 14px 28px;
    font-size: 15px;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-secondary--lg {
    padding: 17px 36px;
    font-size: 16px;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(22, 101, 52, 0.12), 0 8px 20px rgba(22, 101, 52, 0.06);
}

.service-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #86efac, #d9f99d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-card:hover .service-card__accent {
    transform: scaleX(1);
}

.service-card__content {
    padding: 28px 26px 30px;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    margin-bottom: 18px;
    transition: background .3s;
}

.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
}

/* ========== INSURER CARDS ========== */
.insurer-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.insurer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(22, 101, 52, 0.1);
}

.insurer-card__inner {
    background: #fff;
    border: 1px solid rgba(22, 101, 52, 0.07);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    transition: border-color .2s;
}

.insurer-card:hover .insurer-card__inner {
    border-color: rgba(22, 101, 52, 0.2);
}

.insurer-card__logo {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* ========== FORM ========== */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.input-field:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1);
}

.input-field::placeholder {
    color: #9ca3af;
}

.form-error {
    font-size: 13px;
    color: #dc2626;
    margin-top: 4px;
    min-height: 18px;
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    display: block;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .shape-circle-1 { width: 280px; height: 280px; }
    .shape-circle-2 { width: 180px; height: 180px; }
    .shape-diamond { width: 70px; height: 70px; }
    .shape-triangle { border-left-width: 35px; border-right-width: 35px; border-bottom-width: 60px; }
    .shape-ring { width: 120px; height: 120px; border-width: 12px; }
}
