/* ============================================
   LANDING PAGE STYLES - Advantage Voice & Data
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1a25 0%, #2596be 50%, #0d1e2a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1a25 0%, #2596be 50%, #0d1e2a 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

.transition-content {
    text-align: center;
    color: white;
}

.transition-logo {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #ff9f43 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 2s ease-in-out infinite;
    margin-bottom: 20px;
}

.transition-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 167, 38, 0.3);
    border-top-color: #ffa726;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(255, 167, 38, 0.5);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.landing-container {
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Advanced Tech Animation Container */
.tech-animation {
    width: 350px;
    height: 350px;
    margin: 0 auto 40px;
    position: relative;
}

/* Rotating Hexagon Grid */
.hex-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    animation: rotate360 20s linear infinite;
}

@keyframes rotate360 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hexagon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(37, 150, 190, 0.3);
    border: 2px solid rgba(255, 167, 38, 0.8);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 167, 38, 0.4);
}

.hexagon:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.hexagon:nth-child(2) {
    top: 25%;
    right: 10%;
    animation-delay: 0.5s;
}

.hexagon:nth-child(3) {
    bottom: 25%;
    right: 10%;
    animation-delay: 1s;
}

.hexagon:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.hexagon:nth-child(5) {
    bottom: 25%;
    left: 10%;
    animation-delay: 2s;
}

.hexagon:nth-child(6) {
    top: 25%;
    left: 10%;
    animation-delay: 2.5s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
        border-color: rgba(255, 167, 38, 0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
        border-color: rgba(255, 167, 38, 1);
    }
}

/* Central Tech Core */
.tech-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.core-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid;
    animation: expandRing 3s ease-out infinite;
}

.core-ring:nth-child(1) {
    width: 60px;
    height: 60px;
    border-color: #ffa726;
    animation-delay: 0s;
    box-shadow: 0 0 20px #ffa726;
}

.core-ring:nth-child(2) {
    width: 80px;
    height: 80px;
    border-color: #2596be;
    animation-delay: 1s;
    box-shadow: 0 0 20px #2596be;
}

.core-ring:nth-child(3) {
    width: 100px;
    height: 100px;
    border-color: #ffa726;
    animation-delay: 2s;
    box-shadow: 0 0 20px #ffa726;
}

@keyframes expandRing {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

/* Data Stream Lines */
.data-stream {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #ffa726, transparent);
    animation: streamFlow 2s linear infinite;
    box-shadow: 0 0 10px #ffa726;
}

.data-stream:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    left: 35%;
    animation-delay: 0.5s;
    background: linear-gradient(to bottom, transparent, #2596be, transparent);
    box-shadow: 0 0 10px #2596be;
}

.data-stream:nth-child(3) {
    left: 55%;
    animation-delay: 1s;
}

.data-stream:nth-child(4) {
    left: 75%;
    animation-delay: 1.5s;
    background: linear-gradient(to bottom, transparent, #2596be, transparent);
    box-shadow: 0 0 10px #2596be;
}

.data-stream:nth-child(5) {
    left: 25%;
    animation-delay: 0.75s;
}

.data-stream:nth-child(6) {
    left: 65%;
    animation-delay: 1.25s;
    background: linear-gradient(to bottom, transparent, #2596be, transparent);
    box-shadow: 0 0 10px #2596be;
}

@keyframes streamFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Floating Tech Icons */
.tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-icon {
    position: absolute;
    width: 35px;
    height: 35px;
    background: rgba(255, 159, 67, 0.4);
    border: 2px solid #ff9f43;
    border-radius: 8px;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 159, 67, 0.6);
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: #ff9f43;
    border-radius: 3px;
    opacity: 0.6;
}

.tech-icon:nth-child(1) {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    top: 15%;
    right: 15%;
    animation-delay: 1s;
}

.tech-icon:nth-child(3) {
    bottom: 10%;
    left: 15%;
    animation-delay: 2s;
}

.tech-icon:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

.tech-icon:nth-child(5) {
    top: 40%;
    left: 5%;
    animation-delay: 1.5s;
}

.tech-icon:nth-child(6) {
    top: 45%;
    right: 5%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(180deg);
    }
}

/* Spinning Orbital Rings */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 159, 67, 0.3);
    border-radius: 50%;
    animation: spinOrbit 15s linear infinite;
}

.orbital-ring:nth-child(1) {
    width: 180px;
    height: 180px;
}

.orbital-ring:nth-child(2) {
    width: 220px;
    height: 220px;
    animation-direction: reverse;
    border-color: rgba(37, 150, 190, 0.3);
}

.orbital-ring:nth-child(3) {
    width: 260px;
    height: 260px;
}

@keyframes spinOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Energy Bolts */
.energy-bolt {
    position: absolute;
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, #ffa726, transparent);
    animation: boltStrike 2s ease-in-out infinite;
    box-shadow: 0 0 10px #ffa726;
}

.energy-bolt:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.energy-bolt:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: 0.7s;
}

.energy-bolt:nth-child(3) {
    bottom: 25%;
    left: 35%;
    animation-delay: 1.4s;
}

@keyframes boltStrike {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scaleY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(20px) scaleY(1);
    }
}

/* Circuit Board Pattern */
.circuit-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 1;
    background-image: 
        linear-gradient(90deg, #ffa726 1px, transparent 1px),
        linear-gradient(0deg, #2596be 1px, transparent 1px);
    background-size: 50px 50px;
    animation: circuitMove 20s linear infinite;
}

@keyframes circuitMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Glowing Dots */
.glow-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.glow-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffa726;
    border-radius: 50%;
    box-shadow: 0 0 20px #ffa726;
    animation: glowPulse 2s ease-in-out infinite;
}

.glow-dot:nth-child(1) {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.glow-dot:nth-child(2) {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.glow-dot:nth-child(3) {
    bottom: 10%;
    left: 50%;
    animation-delay: 1s;
}

.glow-dot:nth-child(4) {
    top: 50%;
    left: 10%;
    animation-delay: 1.5s;
}

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

/* Text Styling */
.welcome-text {
    color: white;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.welcome-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(255, 167, 38, 0.6),
                 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #ffa726 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.welcome-text p {
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffa726;
    text-shadow: 0 0 15px rgba(255, 167, 38, 0.7);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enter Button */
.enter-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #2596be 0%, #1a7a9b 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 150, 190, 0.5),
                0 0 20px rgba(255, 167, 38, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    cursor: pointer;
    border: 2px solid rgba(255, 167, 38, 0.5);
    position: relative;
    overflow: hidden;
}

.enter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 159, 67, 0.4), transparent);
    transition: left 0.5s;
}

.enter-btn:hover::before {
    left: 100%;
}

.enter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 150, 190, 0.7),
                0 0 30px rgba(255, 167, 38, 0.5);
    background: linear-gradient(135deg, #1a7a9b 0%, #2596be 100%);
    border-color: rgba(255, 167, 38, 0.8);
}

/* Particle System */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #2596be;
    border-radius: 50%;
    box-shadow: 0 0 10px #2596be;
    animation: rise 15s infinite ease-in;
}

.particle.orange {
    background: #ffa726;
    box-shadow: 0 0 10px #ffa726;
}

@keyframes rise {
    0% {
        bottom: -10%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 110%;
        opacity: 0;
    }
}

/* Loading Progress */
.loading-container {
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.loading-text {
    color: rgba(255, 167, 38, 0.9);
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 167, 38, 0.5);
}

.loading-bar {
    width: 300px;
    height: 5px;
    background: rgba(37, 150, 190, 0.3);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 167, 38, 0.4);
    border: 1px solid rgba(255, 167, 38, 0.3);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #2596be, #ffa726, #2596be);
    background-size: 200% 100%;
    border-radius: 3px;
    animation: loading 15s ease-out forwards, shimmer 2s linear infinite;
    box-shadow: 0 0 15px #ffa726;
}

@keyframes loading {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-text h1 {
        font-size: 2.8rem;
    }
    
    .welcome-text p {
        font-size: 1.4rem;
    }
    
    .tech-animation {
        width: 280px;
        height: 280px;
    }
    
    .hex-grid {
        width: 200px;
        height: 200px;
    }
    
    .hexagon {
        width: 45px;
        height: 45px;
    }

    .enter-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }

    .loading-bar {
        width: 250px;
    }

    .transition-logo {
        font-size: 2rem;
    }
}
