/* ===================================
   HERO SECTION
   Hero layout, Phone mockup, HUD labels
   (Originally styles.css lines 749-1315)
   =================================== */

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 0.625rem;
    background: var(--color-orange-50);
    border: 1px solid var(--color-orange-200);
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
}

.hero-badge .icon-sparkles {
    width: 20px;
    height: 20px;
    color: var(--color-orange-600);
    fill: rgba(234, 88, 12, 0.1);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-badge span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-orange-600);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-slate-900);
    line-height: 0.88;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-style: italic;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 7rem;
    }
}

.hero-description {
    font-size: 1rem;
    color: var(--color-slate-500);
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    font-weight: 500;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.btn-hero {
    padding: 1rem 2.5rem;
    border-radius: 1.5rem;
    font-size: 1rem;
    box-shadow: 0 20px 40px -12px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(180deg, var(--color-orange-600) 0%, var(--color-orange-700) 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero:hover {
    background: linear-gradient(180deg, var(--color-orange-700) 0%, #c2410c 100%);
    transform: translateY(-8px);
}

.btn-hero .icon-zap {
    width: 28px;
    height: 28px;
    fill: white;
    transition: transform 0.3s;
}

.btn-hero:hover .icon-zap {
    transform: scale(1.25);
}

.btn-secondary {
    background: white;
    color: var(--color-slate-900);
    border: 1px solid var(--color-slate-200);
    padding: 1rem 2.5rem;
    border-radius: 1.5rem;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    transition: background 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--color-slate-100);
    border-color: var(--color-orange-200);
}

.btn-secondary .icon-radar {
    width: 28px;
    height: 28px;
    color: var(--color-orange-600);
    transition: transform 0.3s;
}

.btn-secondary:hover .icon-radar {
    transform: rotate(90deg);
}

.hero-users {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0.4;
}

@media (min-width: 1024px) {
    .hero-users {
        justify-content: flex-start;
    }
}

.user-avatars {
    display: flex;
}

.user-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 4px solid white;
    background: var(--color-slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    margin-left: -0.75rem;
}

.user-avatar:first-child {
    margin-left: 0;
}

.hero-users-text {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

/* Hero Phone */
.hero-phone-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-phone-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-phone-image {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
}

.hero-phone {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 320px;
}

.phone-frame {
    padding: 14px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 4.5rem;
    border: 1px solid var(--color-orange-100);
    box-shadow: 0 50px 100px -20px rgba(249, 115, 22, 0.15);
    transition: transform 0.5s;
}

.phone-frame:hover {
    transform: translateY(-8px);
}

.phone-screen {
    background: var(--color-slate-950);
    border-radius: 4rem;
    overflow: hidden;
    aspect-ratio: 9 / 19;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.15), transparent 70%);
}

.phone-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    height: 100%;
    position: relative;
    z-index: 10;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.4;
    font-size: 10px;
    color: white;
}

.phone-status-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot-small {
    width: 6px;
    height: 6px;
    background: var(--color-emerald-500);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.phone-card {
    padding: 1.75rem;
    border-radius: 2.5rem;
}

.phone-card-traffic {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.phone-card-traffic:hover {
    background: rgba(255, 255, 255, 0.1);
}

.phone-card-label {
    font-size: 10px;
    font-weight: 900;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.phone-card-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.05em;
}

.phone-progress {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 9999px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.phone-progress-bar {
    width: 72%;
    height: 100%;
    background: var(--color-orange-600);
    position: relative;
}

.phone-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shimmer 2s infinite;
}

.phone-card-note {
    font-size: 8px;
    font-weight: 700;
    color: var(--color-slate-600);
    text-transform: uppercase;
    margin-top: 0.75rem;
    letter-spacing: 0.1em;
}

.phone-card-protocol {
    background: var(--color-orange-600);
    box-shadow: var(--shadow-2xl), 0 0 0 0 rgba(124, 45, 18, 0.4);
    position: relative;
    overflow: hidden;
}

.phone-card-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 128px;
    height: 128px;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(12deg);
    transition: transform 1s;
}

.phone-card-protocol:hover .phone-card-bg-icon {
    transform: rotate(12deg) scale(1.25);
}

.phone-card-protocol .phone-card-label {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.phone-card-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.phone-dots {
    display: flex;
    gap: 0.375rem;
}

.phone-dots .dot {
    height: 4px;
    flex: 1;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
}

.phone-dots .dot.active {
    background: white;
}

.phone-stats {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.phone-stat {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    text-align: center;
    transition: border-color 0.3s;
}

.phone-stat:hover {
    border-color: rgba(249, 115, 22, 0.3);
}

.phone-stat-trust:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.phone-stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

.phone-stat-label {
    font-size: 8px;
    font-weight: 700;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* HUD Labels */
.hud-label {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.75rem;
    border-radius: 2.5rem;
    border: 2px solid var(--color-orange-200);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.18);
    max-width: 220px;
    display: none;
    transition: transform 0.7s;
}

@media (min-width: 640px) {
    .hud-label {
        display: block;
    }
}

.hud-label-right {
    right: -5rem;
    top: 40%;
}

.hud-label-left {
    left: -5rem;
    top: 60%;
}

.hero-phone:hover .hud-label-right {
    transform: translateX(1rem);
}

.hero-phone:hover .hud-label-left {
    transform: translateX(-1rem);
}

.hud-label-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hud-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-emerald-500);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 8px var(--color-emerald-500);
}

.hud-label-title {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-orange-600);
    background: rgba(249, 115, 22, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.hud-label-text {
    font-size: 11px;
    color: var(--color-slate-600);
    line-height: 1.6;
    font-weight: 500;
}

/* Mobile HUD labels - hidden on desktop */
.hud-labels-mobile {
    display: none;
}

.icon-radar-small {
    width: 24px;
    height: 24px;
    color: var(--color-orange-600);
}
