/* Home section modern hero */

.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #090909;
    overflow: hidden;
}

.home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../rs/header_photo.jpg') no-repeat center/cover;
    opacity: 0.35;
}

.home-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(11, 179, 209, 0.4), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(103, 58, 183, 0.35), transparent 60%),
        rgba(4, 4, 4, 0.85);
    z-index: 1;
}

.home .max-width {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero-copy {
    color: #fff;
    text-align: center;
}

.hero-copy h1 {
    font-size: clamp(1.3rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 16px;
    font-family: 'Ubuntu', sans-serif;
    min-height: 4.4em;
}

.hero-copy .typing {
    color: #ff784e;
    display: inline-flex;
    min-height: 2.6em;
    align-items: center;
}

.hero-copy .brand-name {
    display: block;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

@media (max-width: 900px) {
    .hero-copy .typing {
        min-height: 3.4em;
    }
}

@media (max-width: 640px) {
    .hero-copy h1 {
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-height: auto;
    }

    .hero-copy .typing {
        display: block;
        margin-top: 4px;
        min-height: 4.4em;
    }
}

@media (max-width: 480px) {
    .hero-copy .typing {
        min-height: 5.2em;
    }
}

.hero-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    display: inline-block;
}

.hero-copy .eyebrow {
    display: block;
    width: 100%;
    margin: 0 auto 20px;
    text-align: center;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn.primary {
    background: linear-gradient(135deg, rgba(11, 179, 209, 0.95), rgba(103, 58, 183, 0.95));
    color: #fff;
    box-shadow: 0 15px 35px rgba(11, 179, 209, 0.25);
}

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    background: transparent;
}

.btn:hover {
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.stat-card {
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
}

.visual-card {
    background: rgba(0, 0, 0, 0.65);
    border-radius: 32px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    color: #fff;
}

.visual-card h3 {
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.visual-card p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 20px;
}

.visual-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
}

.visual-card li {
    position: relative;
    padding-left: 18px;
}

.visual-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(11, 179, 209, 0.9);
}

.visual-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .visual-card {
        padding: 28px;
    }
}

@media (max-width: 520px) {
    .hero-copy h1 {
        text-align: center;
    }

    .hero-copy .brand-name,
    .hero-copy .typing {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 900px) {
    .hero-copy .typing {
        font-size: 1.8rem;
    }
}
