/* ============================================
   LetterNestCo Morning Mist — Index
   ============================================ */

/* ---- Hero ---- */
.hero {
    padding: 170px 0 110px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(34px);
}

.hero::before {
    width: 58%;
    height: 280px;
    top: 8%;
    right: -12%;
    background: linear-gradient(90deg, transparent, rgba(138, 163, 192, 0.22), transparent);
    animation: mistDrift 18s ease-in-out infinite;
}

.hero::after {
    width: 50%;
    height: 220px;
    bottom: 4%;
    left: -10%;
    background: linear-gradient(90deg, transparent, rgba(196, 212, 230, 0.26), transparent);
    animation: mistDrift 22s 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(58, 66, 78, 0.08);
    padding: 26px 46px;
}

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

.trust-value {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent-deep);
    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;
    top: 120px;
    left: -14%;
    width: 46%;
    height: 240px;
    border-radius: 50%;
    filter: blur(34px);
    background: linear-gradient(90deg, transparent, rgba(138, 163, 192, 0.18), transparent);
    animation: mistDrift 20s ease-in-out infinite;
    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-lg-body {
    display: flex;
    align-items: center;
    gap: 36px;
}

.feature-card-lg .feature-icon {
    width: 104px;
    height: 104px;
    margin-bottom: 0;
    flex-shrink: 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: 620px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #B9CBDF, #8AA3C0);
    margin-bottom: 24px;
    box-shadow: 0 8px 22px rgba(138, 163, 192, 0.32);
}

.feature-icon img {
    width: 27px;
    height: 27px;
    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, #39424E 0%, #4A5563 55%, #333B46 130%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.security::before,
.security::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(36px);
}

.security::before {
    width: 55%;
    height: 260px;
    top: 6%;
    left: -12%;
    background: linear-gradient(90deg, transparent, rgba(196, 212, 230, 0.14), transparent);
    animation: mistDrift 19s ease-in-out infinite;
}

.security::after {
    width: 50%;
    height: 240px;
    bottom: 6%;
    right: -10%;
    background: linear-gradient(90deg, transparent, rgba(138, 163, 192, 0.18), transparent);
    animation: mistDrift 23s ease-in-out infinite reverse;
}

.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(216, 224, 233, 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(216, 224, 233, 0.9);
    font-size: 0.98rem;
}

.security-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(150deg, rgba(196, 212, 230, 0.45), rgba(138, 163, 192, 0.35));
    font-size: 0.72rem;
    color: #EEF3F8;
    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: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(216, 224, 233, 0.16);
    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.1);
    border-color: rgba(196, 212, 230, 0.42);
    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: var(--sky);
    position: relative;
    overflow: hidden;
}

.use-cases::before {
    content: '';
    position: absolute;
    bottom: 30px;
    right: -12%;
    width: 50%;
    height: 240px;
    border-radius: 50%;
    filter: blur(34px);
    background: linear-gradient(90deg, transparent, rgba(196, 212, 230, 0.24), transparent);
    animation: mistDrift 20s ease-in-out infinite;
    pointer-events: none;
}

.use-cases-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

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

.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: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(150deg, #B9CBDF, #8AA3C0);
}

.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 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 48px;
    align-items: center;
    text-align: left;
    padding: 64px 60px;
    border-radius: 28px;
    background: linear-gradient(135deg, #9AB1CC 0%, #6E89AB 60%, #5E7796 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(94, 119, 150, 0.28);
}

.cta-card > h2 {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
}

.cta-card > p {
    grid-column: 1;
    grid-row: 2;
    max-width: 520px;
    margin-bottom: 0;
}

.cta-card .btn {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    white-space: nowrap;
}

.cta-card::before,
.cta-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(30px);
}

.cta-card::before {
    width: 55%;
    height: 200px;
    top: -20%;
    left: -8%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.cta-card::after {
    width: 50%;
    height: 180px;
    bottom: -18%;
    right: -8%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: mistDrift 17s 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(247, 250, 253, 0.92);
    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: 24px;
        padding: 40px 34px;
    }

    .feature-lg-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

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

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

    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 48px 24px;
    }

    .cta-card > h2,
    .cta-card > p {
        grid-column: 1;
    }

    .cta-card .btn {
        grid-column: 1;
        grid-row: auto;
        justify-self: center;
        margin-top: 12px;
    }

    .cta-card > p {
        margin: 0 auto;
    }

    .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;
    }
}
