* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f5f7fb;
    color: #111827;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
    background: rgba(5, 10, 30, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header .navbar {
    padding: 0;
    min-height: 86px;
}

.site-header .navbar-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-header .navbar-brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
}

.site-header .navbar-brand span {
    color: #38bdf8;
}

.site-header .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 0.8rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: #57c3ff !important;
}

.header-cta {
    border: 0;
    border-radius: 14px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
}

.site-main {
    padding-top: 86px;
    flex: 1 0 auto;
}

.home-hero {
    min-height: calc(100vh - 86px);
    background: radial-gradient(circle at top right, #2f5fff 0%, transparent 35%), radial-gradient(circle at bottom left, #7c3aed 0%, transparent 30%), url("/images/redesign/hero-background.jpg"), #050816;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.3), rgba(5, 8, 22, 0.5));
    pointer-events: none;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.home-badge {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #57c3ff;
    margin-bottom: 24px;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
}

.home-hero h1 {
    font-size: clamp(2.1rem, 4.8vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.home-hero h1 span {
    background: linear-gradient(90deg, #38bdf8, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 580px;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-secondary-modern {
    border-radius: 14px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.08);
}

.phone-mockup-card {
    width: min(100%, 620px);
    margin-inline: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(5, 10, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(6, 12, 30, 0.45);
    backdrop-filter: blur(2px);
}

.phone-mockup-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.content-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 46px 20px 60px;
}

.content-shell h1,
.content-shell h2,
.content-shell h3,
.content-shell h4,
.content-shell h5,
.content-shell h6 {
    color: #0f172a !important;
}

.content-shell .text-white {
    color: #0f172a !important;
}

.content-shell .slide-excerpt-border {
    margin: 0 !important;
}

.content-shell .bg-white,
.content-shell [style*="background-color: white"],
.content-shell [style*="background-color:white"] {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.content-shell .rounded-top {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.content-shell .rounded-bottom {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.form-shell {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
    padding: 24px;
}

.site-footer {
    background: #050816;
    color: #cbd5e1;
    padding: 30px 0 20px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-brand span {
    color: #38bdf8;
}

.footer-links {
    display: flex;
    gap: 16px 24px;
    flex-wrap: wrap;
}

.footer-links a,
.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #57c3ff;
}

.footer-bottom {
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 14px;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .site-header .navbar {
        padding: 12px 0;
    }

    .site-main {
        padding-top: 88px;
    }

    .home-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .home-hero p {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .phone-mockup-card {
        width: min(100%, 560px);
    }
}

@media (max-width: 576px) {
    .home-hero {
        min-height: auto;
        padding: 34px 0 28px;
    }

    .home-hero h1 {
        font-size: clamp(1.95rem, 9vw, 2.55rem);
    }

    .home-hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .phone-mockup-card {
        width: 100%;
        border-radius: 18px;
    }
}
