/* ============================================
   IQEnvelope Matcha Cream — Index
   ============================================ */

/* ---- Hero ---- */
.hero {
    padding: 170px 0 110px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 90% 0%, rgba(122, 154, 84, 0.16), transparent),
        radial-gradient(ellipse 45% 40% at 8% 20%, rgba(203, 224, 168, 0.28), transparent),
        linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 48% 52% 55% 45% / 50% 46% 54% 50%;
    pointer-events: none;
}

.hero::before {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -90px;
    background: radial-gradient(circle at 35% 35%, rgba(203, 224, 168, 0.5), rgba(122, 154, 84, 0.14) 60%, transparent 75%);
    animation: foamRise 12s ease-in-out infinite;
}

.hero::after {
    width: 320px;
    height: 320px;
    bottom: -150px;
    left: -110px;
    background: radial-gradient(circle at 40% 40%, rgba(201, 168, 124, 0.24), transparent 65%);
    animation: foamRise 14s ease-in-out infinite reverse;
}

.hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-soft);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.6rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.18rem;
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* ---- Trust bar ---- */
.trust-bar {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(85, 112, 58, 0.1);
    padding: 26px 46px;
}

.trust-item {
    text-align: center;
    padding: 0 36px;
}

.trust-value {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #8FAE68, #55703A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.trust-label {
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
}

/* ---- Features ---- */
.features {
    padding: 100px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -150px;
    width: 360px;
    height: 360px;
    border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
    background: radial-gradient(circle at 40% 40%, rgba(203, 224, 168, 0.34), transparent 65%);
    pointer-events: none;
}

.features-header {
    text-align: center;
    margin-bottom: 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 42px 34px;
}

.feature-card-lg {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 36px;
    align-items: center;
    padding: 46px 48px;
}

.feature-card-lg .feature-icon {
    width: 104px;
    height: 104px;
    margin-bottom: 0;
}

.feature-card-lg .feature-icon img {
    width: 46px;
    height: 46px;
}

.feature-card-lg h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.feature-card-lg p {
    font-size: 1.02rem;
    max-width: 640px;
    margin-bottom: 14px;
}

.feature-icon {
    width: 62px;
    height: 62px;
    border-radius: 44% 56% 52% 48% / 50% 44% 56% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(203, 224, 168, 0.55), rgba(122, 154, 84, 0.2));
    border: 1px solid rgba(122, 154, 84, 0.28);
    margin-bottom: 24px;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.96rem;
    margin-bottom: 18px;
}

.feature-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent-deep);
    transition: color 0.2s ease;
}

.feature-link:hover {
    color: var(--accent-hover);
}

/* ---- Security ---- */
.security {
    padding: 100px 0;
    background: linear-gradient(140deg, #33392B 0%, #46553A 55%, #64804A 130%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -90px;
    width: 400px;
    height: 400px;
    border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
    background: radial-gradient(circle at 38% 38%, rgba(203, 224, 168, 0.28), transparent 65%);
    animation: foamRise 13s ease-in-out infinite;
}

.security::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 124, 0.18), transparent 65%);
    pointer-events: none;
}

.security-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.security-text h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.security-text > p {
    color: rgba(240, 244, 230, 0.78);
    max-width: 540px;
    margin-bottom: 26px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(240, 244, 230, 0.9);
    font-size: 0.98rem;
}

.security-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(203, 224, 168, 0.22);
    border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
    font-size: 0.78rem;
    color: #CBE0A8;
    font-weight: 700;
}

.security-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(203, 224, 168, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(203, 224, 168, 0.38);
    transform: translateX(6px);
}

.badge img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.badge span {
    font-weight: 600;
    font-size: 0.98rem;
}

/* ---- Use Cases ---- */
.use-cases {
    padding: 100px 0;
    background:
        radial-gradient(ellipse 45% 40% at 0% 15%, rgba(203, 224, 168, 0.3), transparent),
        var(--sky);
}

.use-cases-header {
    text-align: center;
    margin-bottom: 56px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.use-case-card {
    padding: 32px;
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.use-case-avatar {
    width: 54px;
    height: 54px;
    border-radius: 44% 56% 52% 48% / 50% 44% 56% 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--sky-deep);
    border: 2px solid var(--wood);
}

.use-case-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.use-case-info h4 {
    font-size: 1.05rem;
}

.use-case-info p {
    font-size: 0.86rem;
    color: var(--muted);
}

.use-case-quote {
    font-size: 0.98rem;
    color: var(--navy-soft);
    padding-left: 16px;
    border-left: 3px solid var(--accent);
    font-style: italic;
}

/* ---- CTA ---- */
.cta {
    padding: 100px 0 110px;
}

.cta-card {
    text-align: center;
    padding: 80px 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, #8FAE68 0%, #648044 65%, #55703A 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(85, 112, 58, 0.3);
}

.cta-card::before {
    content: '';
    position: absolute;
    bottom: -160px;
    left: -70px;
    width: 380px;
    height: 380px;
    border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
    background: radial-gradient(circle at 38% 38%, rgba(255, 255, 255, 0.2), transparent 65%);
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -130px;
    right: -70px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 244, 230, 0.22), transparent 65%);
    animation: foamRise 11s ease-in-out infinite;
}

.cta-card h2 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    position: relative;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    position: relative;
}

.cta-card .btn {
    position: relative;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-lg {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 42px 34px;
    }

    .feature-card-lg .feature-icon {
        width: 62px;
        height: 62px;
    }

    .feature-card-lg .feature-icon img {
        width: 32px;
        height: 32px;
    }

    .feature-card-lg h3 {
        font-size: 1.25rem;
    }

    .security-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .trust-bar {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 26px 30px;
    }

    .trust-divider {
        width: 44px;
        height: 1px;
    }

    .trust-item {
        padding: 0;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 48px 24px;
    }
}
