/* ============================================================
   HERO BANNER — VCard SaaS Landing Page
   Brand gradient: #ef443b (red) → #EE8D3B (orange)
   ============================================================ */

body {
    font-family: 'Outfit', sans-serif !important;
}

/* ============ NAVBAR / HEADER ============ */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 10px 0;
}

.premium-header .navbar {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 12px 30px !important;
    margin-top: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar links */
.premium-header .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    transition: all 0.3s ease;
}

.premium-header .nav-link:hover,
.premium-header .nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Header Buttons */
.header-btns .btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.head-btn-login {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.head-btn-login:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
    transform: translateY(-2px);
}

.head-btn-register {
    background: #fff !important;
    color: #ef443b !important;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.head-btn-register:hover {
    background: #f8f8f8 !important;
    color: #EE8D3B !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile Toggler */
.premium-header .navbar-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 8px;
    border-radius: 12px;
}

.premium-header .navbar-toggler-icon {
    filter: brightness(0) invert(1);
    width: 22px;
    height: 22px;
}

/* Scroll state: 'Solidified' glass */
.premium-header .navbar.top-nav-collapse {
    background: rgba(0, 0, 0, 0.7) !important;
    margin-top: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 40px !important;
    backdrop-filter: blur(25px);
}

/* Logo inversion for high contrast */
.premium-header .navbar-brand img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

/* ============ HERO BANNER ============ */
.main-banner {
    background: linear-gradient(135deg, #ef443b 0%, #EE8D3B 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Depth orbs — dark + light shadows for depth on vivid bg */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
    top: -160px;
    left: -120px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    top: 30%;
    right: -80px;
    animation-delay: 2s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    bottom: -80px;
    left: 35%;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%   { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.07); }
}

/* Grid texture overlay — dark lines for subtle depth on colored bg */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Badge pill — white glass on colored bg */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.5); }
}

/* Headline — crisp white on vivid bg */
.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Highlighted word: underline accent instead of gradient-on-gradient */
.hero-headline .gradient-word {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.6);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

/* CTA buttons */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 3rem;
}

/* Primary CTA: white solid — stands out on vivid bg */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    background: #fff;
    color: #ef443b;
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-btn-primary:hover {
    color: #EE8D3B;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.3);
}

/* Ghost CTA: white glass border on vivid bg */
.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.hero-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.28);
    border-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Stats strip */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-sep {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.35);
}

/* Trusted logos */
.hero-trusted {
    margin-top: 2.5rem;
}

.hero-trusted-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-trusted-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.hero-trusted-logos img {
    height: 28px;
    width: auto;
    opacity: 0.6;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.hero-trusted-logos img:hover {
    opacity: 1;
}

/* ---- Right side: vcard mockup ---- */
.hero-visual-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

/* Floating vcard phone shell — DARK for contrast against vivid bg */
.hero-phone {
    position: relative;
    width: 240px;
    border-radius: 40px;
    background: #101010;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    z-index: 4;
    animation: heroPhoneFloat 5s ease-in-out infinite;
}

@keyframes heroPhoneFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-18px) rotate(-2deg); }
}

/* Notch */
.hero-phone-notch {
    width: 80px;
    height: 20px;
    background: #101010;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* Card content inside phone */
.hero-vcard-inner {
    height: 480px;
    overflow: hidden;
    position: relative;
}

.hero-vcard-banner {
    height: 110px;
    background: var(--premium-gradient);
    position: relative;
}

.hero-vcard-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #101010;
    background: var(--premium-gradient);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    overflow: hidden;
}

.hero-vcard-body {
    padding: 40px 16px 16px;
    text-align: center;
    background: #181818;
}

.hero-vcard-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.hero-vcard-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
}

.hero-vcard-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.hero-vcard-link-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    border: none;
    background: rgba(239, 68, 59, 0.3);
}

.hero-vcard-save-btn {
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    background: var(--premium-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(239, 68, 59, 0.5);
}

.hero-vcard-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

.hero-vcard-info-val {
    color: #EE8D3B;
    font-weight: 600;
}

/* Floating badge cards — white glass on colored bg */
.hero-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 12px 18px;
    z-index: 6;
    animation: badgeFloat 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-float-badge-1 { top: 5%;  left: -8%;  animation-delay: 0.5s; }
.hero-float-badge-2 { bottom: 18%; right: -8%; animation-delay: 2s; }
.hero-float-badge-3 { top: 55%; left: -12%; animation-delay: 3.5s; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.float-badge-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.float-badge-val {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.float-badge-lbl {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Glow ring behind phone — white halo pops the dark phone on vivid bg */
.hero-glow-ring {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 65%);
    z-index: 2;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0%   { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.12); }
}

/* Legacy cards */
.card {
    border: 1px solid var(--glass-border) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 16px !important;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.features-section .card,
.element-section .card,
.subscription .card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-primary {
    background: linear-gradient(90deg, #ef443b 0%, #EE8D3B 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(239, 68, 59, 0.35) !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(239, 68, 59, 0.55) !important;
}

.price-card {
    background: #101010 !important;
    color: #fff !important;
    border: 1px solid rgba(239, 68, 59, 0.15) !important;
}

.price-badge {
    background: linear-gradient(90deg, #ef443b 0%, #EE8D3B 100%) !important;
    border-radius: 50px !important;
    padding: 5px 20px !important;
    color: white !important;
}

.iphone-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.iphone-card:hover {
    transform: scale(1.02) rotate(-1deg);
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 767px) {
    .hero-visual-wrap {
        min-height: 360px;
        margin-top: 48px;
    }

    .hero-float-badge-1,
    .hero-float-badge-2,
    .hero-float-badge-3 {
        display: none;
    }

    .hero-phone {
        width: 200px;
    }

    .hero-vcard-inner {
        height: 400px;
    }
}
