/* ===== HERO SECTION ULTRA PREMIUM XXL ===== */

:root {
    --hero-primary: #00B4DB;
    --hero-secondary: #2F55D4;
    --hero-gradient: linear-gradient(135deg, #00B4DB 0%, #2F55D4 100%);
    --hero-dark: #0B1B35;
    --hero-glow: rgba(0, 180, 219, 0.6);
}

/* ===== HERO SECTION PREMIUM ===== */
.hero-section-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1823 50%, #1a2942 100%);
    padding: 180px 0 100px;
}

/* ===== ANIMATED BACKGROUND ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 180, 219, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(47, 85, 212, 0.15) 0%, transparent 50%);
}

.animated-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 180, 219, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 219, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.float-element {
    position: absolute;
    animation: floatElement 15s ease-in-out infinite;
    will-change: transform;
}

.element-inner {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 219, 0.1);
    border: 2px solid rgba(0, 180, 219, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--hero-primary);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 180, 219, 0.2);
    transition: all 0.3s ease;
}

.float-element:hover .element-inner {
    transform: scale(1.2) rotate(10deg);
    background: var(--hero-gradient);
    color: #ffffff;
    box-shadow: 0 12px 48px rgba(0, 180, 219, 0.4);
}

.element-1 { top: 15%; left: 10%; animation-delay: 0s; }
.element-2 { top: 25%; right: 15%; animation-delay: 2s; }
.element-3 { top: 60%; left: 5%; animation-delay: 4s; }
.element-4 { top: 70%; right: 10%; animation-delay: 6s; }
.element-5 { top: 40%; left: 15%; animation-delay: 8s; }
.element-6 { top: 80%; right: 20%; animation-delay: 10s; }

@keyframes floatElement {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(0, -40px) rotate(-5deg);
    }
    75% {
        transform: translate(-20px, -20px) rotate(5deg);
    }
}

/* ===== GLOWING ORBS ===== */
.hero-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 20s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 180, 219, 0.3) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(47, 85, 212, 0.3) 0%, transparent 70%);
    top: 50%;
    right: -15%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 180, 219, 0.25) 0%, transparent 70%);
    bottom: 10%;
    left: 40%;
    animation-delay: 14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ===== HERO CONTAINER ===== */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 700px;
}

/* ===== BADGE PREMIUM ===== */
.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 180, 219, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 180, 219, 0.3),
        transparent 30%
    );
    animation: badgeRotate 4s linear infinite;
}

@keyframes badgeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-badge i {
    position: relative;
    z-index: 1;
    font-size: 20px;
    color: var(--hero-primary);
}

.hero-badge span {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SUBTITLE PREMIUM ===== */
.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.subtitle-icon {
    width: 40px;
    height: 40px;
    background: var(--hero-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--hero-glow);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px var(--hero-glow);
    }
}

.typed-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--hero-primary);
    font-family: 'Courier New', monospace;
}

.subtitle-cursor {
    font-size: 20px;
    color: var(--hero-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== TITLE PREMIUM ===== */
.hero-title-premium {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line .word {
    display: inline-block;
    color: #ffffff;
    position: relative;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.title-line .word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
    z-index: -1;
    animation: glitchEffect 5s ease-in-out infinite;
}

@keyframes glitchEffect {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
}

.gradient-text-premium {
    display: inline-block;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px var(--hero-glow));
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: drop-shadow(0 0 30px var(--hero-glow)) brightness(1); }
    50% { filter: drop-shadow(0 0 50px var(--hero-glow)) brightness(1.2); }
}

.highlight-text-premium {
    display: inline-block;
    color: #ffffff;
    position: relative;
}

.highlight-text-premium::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--hero-gradient);
    opacity: 0.3;
    z-index: -1;
    border-radius: 5px;
}

/* ===== DESCRIPTION PREMIUM ===== */
.hero-description-premium {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.description-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--hero-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
    margin-top: 5px;
}

/* ===== CTA BUTTONS PREMIUM ===== */
.hero-cta-premium {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary-premium,
.btn-secondary-premium {
    position: relative;
    display: inline-flex;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.btn-primary-premium {
    background: var(--hero-gradient);
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 180, 219, 0.4);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    font-size: 18px;
}

.btn-glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent 30%
    );
    animation: btnGlowRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-premium:hover .btn-glow-effect {
    opacity: 1;
}

@keyframes btnGlowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.btn-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
}

.btn-primary-premium:hover .btn-particles span {
    animation: btnParticleFloat 1.5s ease-out forwards;
}

.btn-particles span:nth-child(1) {
    top: 50%;
    left: 20%;
    animation-delay: 0s;
}

.btn-particles span:nth-child(2) {
    top: 50%;
    left: 50%;
    animation-delay: 0.2s;
}

.btn-particles span:nth-child(3) {
    top: 50%;
    left: 80%;
    animation-delay: 0.4s;
}

@keyframes btnParticleFloat {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(0, -50px);
        opacity: 0;
    }
}

.btn-primary-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(0, 180, 219, 0.6);
}

.btn-secondary-premium {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-border-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-border-animation::before,
.btn-border-animation::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--hero-primary);
    border-radius: 50%;
}

.btn-border-animation::before {
    top: -10px;
    left: -10px;
    border-right-color: transparent;
    border-bottom-color: transparent;
    animation: borderRotate1 1s linear infinite;
}

.btn-border-animation::after {
    bottom: -10px;
    right: -10px;
    border-left-color: transparent;
    border-top-color: transparent;
    animation: borderRotate2 1s linear infinite;
}

@keyframes borderRotate1 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes borderRotate2 {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.btn-secondary-premium:hover {
    background: rgba(0, 180, 219, 0.1);
    border-color: var(--hero-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 180, 219, 0.3);
}

.btn-secondary-premium:hover .btn-border-animation {
    opacity: 1;
}

/* ===== STATS BAR ===== */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--hero-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    flex: 1;
    max-width: 600px;
}

.visual-container {
    position: relative;
}

.visual-screen {
    background: rgba(11, 27, 53, 0.8);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(0, 180, 219, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.screen-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-dots {
    display: flex;
    gap: 8px;
}

.screen-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.screen-dots span:nth-child(1) { background: #FF5F56; }
.screen-dots span:nth-child(2) { background: #FFBD2E; }
.screen-dots span:nth-child(3) { background: #27C93F; }

.screen-content {
    font-family: 'Courier New', monospace;
}

.code-line {
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.6;
    animation: codeFadeIn 0.5s ease forwards;
    opacity: 0;
}

.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }
.code-line:nth-child(4) { animation-delay: 0.8s; }

@keyframes codeFadeIn {
    to {
        opacity: 1;
    }
}

.indent-1 { padding-left: 30px; }

.code-tag { color: #569CD6; }
.code-attr { color: #9CDCFE; }
.code-value { color: #CE9178; }

.visual-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--hero-primary);
    animation: circleFloat 10s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.circle-2 {
    width: 60px;
    height: 60px;
    bottom: 50px;
    left: -30px;
    animation-delay: 3s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    right: 50px;
    animation-delay: 6s;
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.6;
    }
}

/* ===== SHAPES PREMIUM ===== */
.hero-shapes-premium {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.shape-premium {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: shapeFloat 20s ease-in-out infinite;
    will-change: transform, border-radius;
}

.shape-inner {
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    opacity: 0.1;
    filter: blur(40px);
}

.shape-premium.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-premium.shape-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 5%;
    animation-delay: 7s;
}

.shape-premium.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        transform: translate(0, -100px) rotate(180deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    75% {
        transform: translate(-50px, -50px) rotate(270deg);
        border-radius: 30% 70% 30% 70% / 30% 70% 30% 70%;
    }
}

.tech-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hero-primary), transparent);
    animation: lineSlide 8s linear infinite;
}

.tech-line:nth-child(1) {
    top: 20%;
    width: 200px;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    top: 50%;
    width: 300px;
    animation-delay: 2s;
}

.tech-line:nth-child(3) {
    top: 80%;
    width: 250px;
    animation-delay: 4s;
}

@keyframes lineSlide {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* ===== SCROLL INDICATOR PREMIUM ===== */
.scroll-indicator-premium {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.scroll-mouse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse-body {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background: var(--hero-primary);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

.mouse-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scroll-arrows span {
    width: 20px;
    height: 2px;
    background: var(--hero-primary);
    transform: rotate(45deg);
    position: relative;
    animation: arrowMove 2s ease-in-out infinite;
}

.scroll-arrows span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--hero-primary);
    transform: rotate(-90deg);
    right: 0;
}

.scroll-arrows span:nth-child(1) { animation-delay: 0s; }
.scroll-arrows span:nth-child(2) { animation-delay: 0.2s; }
.scroll-arrows span:nth-child(3) { animation-delay: 0.4s; }

@keyframes arrowMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0) rotate(45deg);
    }
    50% {
        opacity: 1;
        transform: translateY(10px) rotate(45deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        max-width: 100%;
    }
    
    .hero-title-premium {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .hero-section-premium {
        padding: 140px 0 60px;
    }
    
    .hero-title-premium {
        font-size: 42px;
    }
    
    .hero-description-premium {
        font-size: 16px;
    }
    
    .hero-cta-premium {
        flex-direction: column;
    }
    
    .btn-primary-premium,
    .btn-secondary-premium {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .float-element {
        display: none;
    }
    
    .hero-visual .visual-container {
        display: none;
    }
    
    .hero-visual .hero-stats {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-title-premium {
        font-size: 32px;
    }
    
    .hero-badge {
        padding: 10px 20px;
    }
    
    .hero-badge span {
        font-size: 12px;
    }
}

