/* Ultra Modern Header & Hero Styles */

/* Ultra Header */
.ultra-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    padding-top: 0;
}

.ultra-nav {
    background: white !important;
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo img {
    height: 45px;
    width: auto;
}

.brand-identity {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 0.2rem;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    color: white;
    border-radius: 25px;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0;
}

.nav-cta {
    position: relative;
    padding: 8px 20px;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b9d, #00d4ff);
    transition: left 0.3s ease;
}

.nav-cta:hover .cta-bg {
    left: 0;
}

.cta-text {
    position: relative;
    z-index: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.toggle-bar {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Ultra Hero Section */
.ultra-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1a2e;
}

.hero-bg-layers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.layer-1 {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 50%, #533483 100%);
    opacity: 1;
}

.layer-2 {
    background: radial-gradient(circle at 30% 70%, rgba(15, 52, 96, 0.6) 0%, transparent 50%);
}

.layer-3 {
    background: radial-gradient(circle at 70% 30%, rgba(83, 52, 131, 0.6) 0%, transparent 50%);
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 2rem;
    animation: slideInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.ultra-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

.word {
    display: inline-block;
    margin-right: 0.3em;
    animation: wordReveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

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

.gradient-word {
    background: linear-gradient(135deg, #00d4ff 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-word {
    background: linear-gradient(135deg, #ff6b9d 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    opacity: 0;
}

.hero-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
    opacity: 0;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 10px 5px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.metric-icon {
    font-size: 5rem;
}

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.plus {
    font-size: 2rem;
    color: #00d4ff;
}

.metric-label {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 1.4s forwards;
    opacity: 0;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
    color: white;
}

.cta-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-icon {
    transform: translateX(5px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.play-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cta-secondary:hover .play-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Hero Visual */
.hero-visual-new {
    position: relative;
    height: 500px;
}

.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.center-logo i {
    font-size: 2rem;
    color: white;
}

.orbit-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ring-1 {
    width: 220px;
    height: 220px;
    top: 40px;
    left: 40px;
}

.ring-2 {
    width: 280px;
    height: 280px;
    top: 10px;
    left: 10px;
    animation-direction: reverse;
    animation-duration: 30s;
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.item-1 { top: -25px; left: calc(50% - 25px); }
.item-2 { top: calc(50% - 25px); right: -25px; }
.item-3 { bottom: -25px; left: calc(50% - 25px); }
.item-4 { top: -25px; left: calc(50% - 25px); }
.item-5 { top: calc(50% - 25px); right: -25px; }
.item-6 { bottom: -25px; left: calc(50% - 25px); }

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    color: white;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.float-card:hover .card-glow {
    opacity: 1;
}

.card-ai { top: 50px; right: 50px; animation-delay: 0s; }
.card-blockchain { top: 200px; left: 20px; animation-delay: 2s; }
.card-iot { bottom: 80px; right: 20px; animation-delay: 4s; }

.hero-bottom {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 10;
}

.scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

.hero-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

/* Animations */
@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content .row {
        flex-direction: column;
    }
    
    .hero-content .col-lg-7,
    .hero-content .col-lg-5 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .hero-visual-new {
        display: block;
        height: 400px;
        margin-top: 40px;
    }
    
    .tech-orbit {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .ultra-title { font-size: 2.5rem; }
    .hero-metrics { flex-direction: column; gap: 1rem; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    
    .hero-visual-new {
        height: 300px;
        margin-top: 30px;
    }
    
    .tech-orbit {
        width: 200px;
        height: 200px;
    }
    
    .orbit-center {
        width: 60px;
        height: 60px;
    }
    
    .center-logo i {
        font-size: 1.5rem;
    }
}