/* ============================================
   DraftoraLab Oat Latte — Index
   ============================================ */

/* ---- Hero ---- */
.hero {
    padding: 170px 0 110px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 86% 0%, rgba(192, 139, 91, 0.16), transparent),
        linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border: 1px solid var(--border);
}

.hero::before {
    width: 240px;
    height: 310px;
    top: -60px;
    right: -60px;
    border-radius: 130px 130px 26px 26px;
    background: linear-gradient(180deg, #F7EFE2 0%, #EADBC2 100%);
    box-shadow: var(--shadow);
    animation: steamRise 12s ease-in-out infinite;
}

.hero::after {
    width: 170px;
    height: 220px;
    bottom: -50px;
    left: -60px;
    border-radius: 90px 90px 22px 22px;
    background: linear-gradient(180deg, #F1E6D4 0%, #E3D3B8 100%);
    animation: steamRise 14s ease-in-out infinite reverse;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 56px;
}

.hero-copy {
    text-align: left;
    max-width: 560px;
}

.hero-copy .hero-subtitle {
    margin: 0 0 36px;
    max-width: 520px;
}

.hero-copy .hero-buttons {
    justify-content: flex-start;
    margin-bottom: 0;
}

.hero .trust-bar {
    width: fit-content;
    margin: 0 auto;
}

/* ---- Latte visual panel ---- */
.hero-panel {
    position: relative;
    padding: 26px 30px 0 0;
}

.panel-steam {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 60px;
    height: 40px;
    transform: translateX(-90%);
    background:
        radial-gradient(ellipse 14px 22px at 30% 60%, rgba(217, 198, 165, 0.5), transparent 70%),
        radial-gradient(ellipse 12px 18px at 70% 40%, rgba(217, 198, 165, 0.42), transparent 70%);
    filter: blur(3px);
    animation: steamRise 5s ease-in-out infinite;
}

.panel-cup {
    height: 300px;
    border-radius: 150px 150px 26px 26px;
    background: linear-gradient(180deg, #FBF4E8 0%, #F1E3CC 100%);
    border: 1px solid var(--border);
    box-shadow: 0 18px 44px rgba(70, 54, 42, 0.16);
    position: relative;
    overflow: hidden;
}

.panel-foam {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 68%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at 50% 46%, rgba(192, 139, 91, 0.28) 0 9px, transparent 9px 24px),
        radial-gradient(circle at 50% 42%, #FFF9EF 0 58%, #F6EAD6 59%);
    box-shadow: 0 10px 26px rgba(192, 139, 91, 0.2);
}

.panel-handle {
    position: absolute;
    right: -32px;
    top: 42%;
    width: 62px;
    height: 104px;
    border: 16px solid #E9DBC2;
    border-left: none;
    border-radius: 0 58px 58px 0;
}

.panel-chip {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-soft);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.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(70, 54, 42, 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, #C08B5B, #6B5642);
    -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;
    top: 90px;
    left: -110px;
    width: 190px;
    height: 250px;
    border-radius: 100px 100px 22px 22px;
    background: linear-gradient(180deg, #F3EADA 0%, #E7D8BE 100%);
    opacity: 0.8;
    pointer-events: none;
}

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

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

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

.feature-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #F6EDDD 0 40%, #C08B5B 42%, #A87448 100%);
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(139, 111, 78, 0.22);
}

.feature-icon img {
    width: 26px;
    height: 26px;
    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, #4A3728 0%, #6B5642 55%, #3E2E22 130%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 380px;
    border-radius: 160px 160px 30px 30px;
    background: linear-gradient(180deg, rgba(243, 234, 218, 0.16), rgba(243, 234, 218, 0.03));
    animation: steamRise 13s ease-in-out infinite;
    pointer-events: none;
}

.security::after {
    content: '';
    position: absolute;
    bottom: -110px;
    left: -80px;
    width: 250px;
    height: 310px;
    border-radius: 130px 130px 26px 26px;
    background: linear-gradient(180deg, rgba(217, 198, 165, 0.12), transparent 80%);
    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(243, 235, 222, 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(243, 235, 222, 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: radial-gradient(circle, #F6EDDD 0 38%, #C08B5B 40%, #A87448 100%);
    font-size: 0.72rem;
    color: #4A3728;
    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.06);
    border: 1px solid rgba(235, 223, 197, 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(235, 223, 197, 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:
        radial-gradient(ellipse 45% 40% at 100% 12%, rgba(217, 198, 165, 0.35), transparent),
        var(--sky);
}

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

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.use-case-card {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 28px;
    align-items: center;
    padding: 24px 32px;
}

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

.use-case-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #F1E6D2;
    background: linear-gradient(160deg, #D0A06C, #A87448);
}

.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: 18px;
    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, #D0A06C 0%, #A87448 60%, #8B6F4E 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(139, 111, 78, 0.32);
}

.cta-card::before {
    content: '';
    position: absolute;
    bottom: -90px;
    left: -70px;
    width: 290px;
    height: 350px;
    border-radius: 150px 150px 28px 28px;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.2), transparent 78%);
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -90px;
    right: -70px;
    width: 280px;
    height: 340px;
    border-radius: 140px 140px 26px 26px;
    background: repeating-radial-gradient(circle at 50% 40%, rgba(255, 251, 243, 0.14) 0 10px, transparent 10px 28px);
    animation: steamRise 11s ease-in-out infinite;
    pointer-events: none;
}

.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, 250, 242, 0.9);
    margin-bottom: 36px;
    position: relative;
}

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

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

    .hero-copy {
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-copy .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-copy .hero-buttons {
        justify-content: center;
    }

    .hero-panel {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
        padding-right: 24px;
    }

    .panel-cup {
        height: 230px;
    }

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

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

    .use-case-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 22px;
    }

    .use-case-header {
        margin-bottom: 0;
    }

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