/* ==========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================== */
:root {
    /* Colors */
    --cyber-cyan: #00e5cc;
    --cyber-blue: #0077ff;
    --cyber-purple: #6b00ff;
    --cyber-pink: #ff006e;
    --cyber-dark: #0a0a0a;
    --cyber-darker: #000000;
    --cyber-gray: #888888;
    --cyber-red: #ff0055;
    --cyber-green: #00ff88;

    /* Fonts */
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1400px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--cyber-darker);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section-heading {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.section-heading.center {
    text-align: center;
}

.section-subheading {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #cccccc;
    max-width: 800px;
    margin-bottom: 3rem;
}

.section-subheading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.overline {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--cyber-gray);
}

.text-cyan {
    color: var(--cyber-cyan);
}

.large-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 2rem;
}

/* ==========================================
   LAYOUT & CONTAINERS
   ========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-purple {
    background: linear-gradient(180deg, #2d1b4e 0%, var(--cyber-dark) 100%);
}

.gradient-teal {
    background: linear-gradient(180deg, var(--cyber-dark) 0%, #0a3d3d 50%, var(--cyber-darker) 100%);
}

.section-header {
    margin-bottom: 4rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary,
.btn-secondary,
.btn-read-more,
.btn-show-all {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 3rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--cyber-cyan);
    color: var(--cyber-darker);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 229, 204, 0.6);
}

.btn-primary.large {
    padding: 1.5rem 4rem;
    font-size: 1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--cyber-cyan);
    border: 2px solid var(--cyber-cyan);
}

.btn-secondary:hover {
    background-color: var(--cyber-cyan);
    color: var(--cyber-darker);
}

.btn-read-more {
    background-color: transparent;
    color: var(--cyber-cyan);
    border: none;
    padding: 0.5rem 0;
    font-size: 0.75rem;
}

.btn-read-more:hover {
    transform: translateX(5px);
}

.btn-show-all {
    background-color: var(--cyber-cyan);
    color: var(--cyber-darker);
    width: 100%;
    max-width: 800px;
    padding: 1.5rem;
}

.btn-show-all:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 229, 204, 0.6);
}

.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background-color: var(--cyber-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--cyber-darker);
    font-family: var(--font-display);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: var(--font-display);
}

.logo-sub {
    display: block;
    font-size: 0.625rem;
    color: var(--cyber-cyan);
    letter-spacing: 3px;
    font-family: var(--font-display);
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--cyber-cyan);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--cyber-cyan);
    transition: all var(--transition-fast);
}

.vertical-menu-text {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--cyber-cyan);
    z-index: 999;
    font-family: var(--font-display);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--cyber-darker);
    z-index: 2000;
    padding: 4rem 2rem;
    transition: right var(--transition-normal);
}

.mobile-menu.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--cyber-cyan);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu-items {
    list-style: none;
    margin-bottom: 3rem;
}

.mobile-menu-items li {
    margin-bottom: 2rem;
}

.mobile-menu-items a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--transition-fast);
    font-family: var(--font-display);
}

.mobile-menu-items a:hover {
    color: var(--cyber-cyan);
}

.mobile-cta {
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 229, 204, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 204, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-overline {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--cyber-gray);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--cyber-gray);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #cccccc;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--cyber-cyan) 0%, var(--cyber-purple) 100%);
    border-radius: 20px;
    transform: rotate(-5deg);
    box-shadow: 0 20px 60px rgba(0, 229, 204, 0.3);
}

/* Hero Robot Animation */
.hero-robot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--cyber-cyan) 0%, var(--cyber-purple) 100%);
    border-radius: 20px;
    transform: rotate(-5deg);
    box-shadow: 0 20px 60px rgba(0, 229, 204, 0.3);
    overflow: hidden;
}

.hero-robot {
    width: 350px;
    height: 350px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.robot-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Float Animation - Enhanced */
@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-25px) translateX(10px) rotate(3deg);
    }
    50% {
        transform: translateY(-10px) translateX(-5px) rotate(-2deg);
    }
    75% {
        transform: translateY(-20px) translateX(5px) rotate(2deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

/* Pulse Glow Animation */
@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyber-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--cyber-cyan);
    animation: scroll-bounce 2s infinite;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    position: relative;
    background-color: var(--cyber-dark);
}

.organizers {
    text-align: center;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 229, 204, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: white;
}

.stat-suffix {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    color: var(--cyber-gray);
}

/* ==========================================
   WHY SECTION
   ========================================== */
.why-section {
    background-color: var(--cyber-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--cyber-dark);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
}

.overlay-cyan {
    background: linear-gradient(180deg, transparent 0%, var(--cyber-cyan) 100%);
}

.overlay-green {
    background: linear-gradient(180deg, transparent 0%, var(--cyber-green) 100%);
}

.overlay-purple {
    background: linear-gradient(180deg, transparent 0%, var(--cyber-purple) 100%);
}

.overlay-red {
    background: linear-gradient(180deg, transparent 0%, var(--cyber-red) 100%);
}

.overlay-pink {
    background: linear-gradient(180deg, transparent 0%, var(--cyber-pink) 100%);
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-content p {
    color: #cccccc;
    line-height: 1.6;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    background-color: var(--cyber-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: scale(1.05);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.service-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 2rem;
    line-height: 1.2;
}

/* ==========================================
   PARTNERS SECTION
   ========================================== */
.partners-section {
    background-color: var(--cyber-darker);
    padding: 80px 0;
}

.partners-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.partner-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) brightness(0.5);
    transition: filter var(--transition-normal);
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================
   INSIGHTS SECTION
   ========================================== */
.insights-section {
    background-color: var(--cyber-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 229, 204, 0.2);
    transition: transform var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyber-cyan);
}

.article-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--cyber-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category {
    color: var(--cyber-cyan);
    font-weight: 600;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background-color: var(--cyber-darker);
    text-align: center;
    padding: 100px 0;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--cyber-dark);
    padding: 60px 0 30px;
}

.footer-top {
    margin-bottom: 3rem;
}

.footer-logo-section {
    text-align: center;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
}

.footer-logo-section .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo-section p {
    color: var(--cyber-gray);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.link-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 0.75rem;
}

.link-column a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.link-column a:hover {
    color: var(--cyber-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 229, 204, 0.1);
    color: var(--cyber-cyan);
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background: var(--cyber-cyan);
    color: var(--cyber-darker);
    transform: translateY(-3px);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--cyber-cyan);
    color: var(--cyber-darker);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 204, 0.5);
}
