/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

:root {
    --primary-color: #ff4444;
    --secondary-color: #ffaa00;
    --accent-color: #ffff00;
    --danger-color: #ff3366;
    --success-color: #00ff66;
    --warning-color: #ffaa00;
    --dark-bg: #1a0a0a;
    --darker-bg: #0f0505;
    --card-bg: rgba(58, 26, 26, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-1: linear-gradient(135deg, #ff4444, #ffaa00);
    --gradient-2: linear-gradient(135deg, #ffaa00, #ffff00);
    --gradient-3: linear-gradient(135deg, #ffff00, #ff4444);
    --shadow-glow: 0 0 20px rgba(255, 68, 68, 0.3);
    --shadow-glow-pink: 0 0 20px rgba(255, 170, 0, 0.3);
    --shadow-glow-yellow: 0 0 20px rgba(255, 255, 0, 0.3);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-width: 100%;
}

/* Hide scrollbars */
body::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: transparent;
}

/* For Firefox */
html {
    scrollbar-width: none;
}

/* For IE and Edge */
body {
    -ms-overflow-style: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 170, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 68, 68, 0.2);
}

.nav-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
}

.nav-link:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 50px;
    width: 100%;
    overflow-x: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-text {
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: block;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
        filter: brightness(1);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 170, 0, 0.8);
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--dark-bg);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-outline:hover {
    background: var(--text-secondary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Threat Detection Animation */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.threat-detection-animation {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Security Hub */
.security-hub {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 10;
}

.hub-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-1);
    box-shadow: var(--shadow-glow);
    animation: hubRotate 4s linear infinite;
}

.hub-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: hubRingPulse 2s ease-in-out infinite;
}

.hub-pulse {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: hubPulse 3s ease-in-out infinite;
}

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

@keyframes hubRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

@keyframes hubPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

/* Network Nodes */
.network-node {
    position: absolute;
    width: 16px;
    height: 16px;
    z-index: 5;
}

.node-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-2);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.5);
    transition: all 0.3s ease;
}

.node-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: nodePulse 2s ease-in-out infinite;
}

.network-node[data-status="threat"] .node-core {
    background: var(--danger-color);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.8);
    animation: threatPulse 1s ease-in-out infinite;
}

.network-node[data-status="defending"] .node-core {
    background: var(--warning-color);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.8);
    animation: defendPulse 0.5s ease-in-out infinite;
}

.node-1 { top: 20px; left: 50%; transform: translateX(-50%); }
.node-2 { top: 60px; right: 40px; }
.node-3 { bottom: 60px; right: 40px; }
.node-4 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.node-5 { bottom: 60px; left: 40px; }
.node-6 { top: 60px; left: 40px; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

@keyframes threatPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes defendPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Data Flow Particles */
.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary-color);
    z-index: 3;
}

.particle-1 { animation: dataFlow1 3s linear infinite; }
.particle-2 { animation: dataFlow2 3.5s linear infinite; }
.particle-3 { animation: dataFlow3 4s linear infinite; }
.particle-4 { animation: dataFlow4 3.2s linear infinite; }
.particle-5 { animation: dataFlow5 3.8s linear infinite; }
.particle-6 { animation: dataFlow6 4.2s linear infinite; }

@keyframes dataFlow1 {
    0% { top: 20px; left: 50%; transform: translateX(-50%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

@keyframes dataFlow2 {
    0% { top: 60px; right: 40px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

@keyframes dataFlow3 {
    0% { bottom: 60px; right: 40px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

@keyframes dataFlow4 {
    0% { bottom: 20px; left: 50%; transform: translateX(-50%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

@keyframes dataFlow5 {
    0% { bottom: 60px; left: 40px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

@keyframes dataFlow6 {
    0% { top: 60px; left: 40px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

/* Threat Particles */
.threat-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--danger-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--danger-color);
    z-index: 4;
}

.threat-1 { animation: threatApproach1 4s ease-in-out infinite; }
.threat-2 { animation: threatApproach2 5s ease-in-out infinite; }
.threat-3 { animation: threatApproach3 6s ease-in-out infinite; }

@keyframes threatApproach1 {
    0% { top: 20px; left: 50%; transform: translateX(-50%); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

@keyframes threatApproach2 {
    0% { top: 60px; right: 40px; opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

@keyframes threatApproach3 {
    0% { bottom: 60px; left: 40px; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); opacity: 0; }
}

/* Connection Lines */
.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
    z-index: 2;
}

.line-1 { top: 28px; left: 50%; width: 120px; transform: translateX(-50%) rotate(0deg); }
.line-2 { top: 68px; right: 48px; width: 120px; transform: rotate(60deg); }
.line-3 { bottom: 68px; right: 48px; width: 120px; transform: rotate(120deg); }
.line-4 { bottom: 28px; left: 50%; width: 120px; transform: translateX(-50%) rotate(180deg); }
.line-5 { bottom: 68px; left: 48px; width: 120px; transform: rotate(240deg); }
.line-6 { top: 68px; left: 48px; width: 120px; transform: rotate(300deg); }

/* Status Indicator */
.status-indicator {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.status-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
    display: block;
    margin-bottom: 10px;
    animation: statusBlink 2s ease-in-out infinite;
}

.status-bar {
    width: 120px;
    height: 4px;
    background: rgba(255, 68, 68, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.status-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: statusFill 3s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes statusFill {
    0%, 100% { width: 100%; }
    50% { width: 80%; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

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

/* Container */
.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Laptop screen optimization */
@media (min-width: 1024px) and (max-width: 1440px) {
    .container {
        max-width: 80%;
        width: 80%;
    }
    
    .hero-content {
        max-width: 80%;
        width: 80%;
    }
    
    .installation-steps {
        max-width: 80%;
        width: 80%;
    }
    
    .developers-grid {
        max-width: 80%;
        width: 80%;
        margin: 0 auto;
    }
    
    .features-grid {
        max-width: 80%;
        width: 80%;
        margin: 0 auto;
    }
    
    .demo-content {
        max-width: 80%;
        width: 80%;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 80%;
        width: 80%;
        margin: 0 auto;
    }
    
    .nav-container {
        max-width: 80%;
        width: 80%;
    }
    
    /* Adjust grid layouts for better laptop viewing */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    /* Better spacing for laptop screens */
    .hero {
        padding: 100px 0 50px;
    }
    
    .features, .about, .installation, .demo, .developers {
        padding: 80px 0;
    }
}

/* Large desktop screens optimization */
@media (min-width: 1441px) {
    .container {
        max-width: 1200px;
        width: 100%;
    }
    
    .hero-content {
        max-width: 1200px;
        width: 100%;
    }
    
    .installation-steps {
        max-width: 1200px;
        width: 100%;
    }
    
    .developers-grid {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }
    
    .features-grid {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }
    
    .demo-content {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }
    
    .nav-container {
        max-width: 1200px;
        width: 100%;
    }
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(5, 6, 15, 0.5);
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark-bg);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Installation Section */
.installation {
    padding: 100px 0;
    width: 100%;
}

.installation-steps {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-content h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.code-block {
    background: var(--darker-bg);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-family: 'Space Mono', monospace;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.code-block code {
    color: var(--primary-color);
    font-size: 0.9rem;
    word-break: break-all;
    flex: 1;
}

.copy-btn {
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.platform-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: rgba(5, 6, 15, 0.5);
    width: 100%;
}

.demo-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.stat-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.stat-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.demo-table-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
}

.demo-table th,
.demo-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.demo-table th {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demo-table tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

.placeholder-row {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.threat-level {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.threat-level.low {
    background: rgba(0, 255, 102, 0.2);
    color: var(--success-color);
}

.threat-level.medium {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning-color);
}

.threat-level.high {
    background: rgba(255, 51, 102, 0.2);
    color: var(--danger-color);
}

.demo-predictions {
    display: grid;
    gap: 20px;
}

.prediction-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prediction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.prediction-card h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.prediction-card p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.prediction-card .threat-level {
    display: inline-block;
    margin-top: 10px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(5, 6, 15, 0.3);
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-text {
    width: 100%;
}

.about-text h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
}

.about-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.about-section h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-shadow: var(--shadow-glow);
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.arch-step {
    background: rgba(5, 6, 15, 0.6);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 150px;
    flex: 1;
}

.arch-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.arch-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.arch-step h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.arch-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.arch-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    animation: arrowPulse 2s ease-in-out infinite;
}

.connection-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.connection-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-left: 3px solid rgba(0, 255, 255, 0.3);
    padding-left: 15px;
    margin: 10px 0;
    background: rgba(5, 6, 15, 0.3);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.connection-list li:hover {
    background: rgba(0, 255, 255, 0.1);
    border-left-color: var(--primary-color);
}

.connection-list code {
    background: var(--darker-bg);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
}

.ml-pipeline h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.pipeline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tech-item span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.ml-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pipeline-step {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.pipeline-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.pipeline-step h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.pipeline-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pipeline-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Developers Section */
.developers {
    padding: 100px 0;
    background: rgba(5, 6, 15, 0.5);
    width: 100%;
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    width: 90%;
    margin: 0 auto;
}

.developer-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.developer-card:hover::before {
    transform: scaleX(1);
}

.developer-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.developer-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.developer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.developer-card:hover .developer-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.8), rgba(255, 170, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.developer-card:hover .image-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.developer-card:hover .social-links {
    transform: translateY(0);
}

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

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.developer-info {
    padding: 30px;
    text-align: center;
}

.developer-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: var(--shadow-glow);
}

.developer-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.developer-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.detail-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.detail-item span,
.detail-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--primary-color);
}

.developer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.resume-download {
    margin-top: 25px;
    text-align: center;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-1);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.resume-btn i {
    font-size: 1rem;
    animation: downloadPulse 2s ease-in-out infinite;
}

@keyframes downloadPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 2.5rem;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .architecture-flow {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }

    .ml-pipeline {
        flex-direction: column;
    }

    .pipeline-container {
        flex-direction: column;
    }

    .pipeline-arrow {
        transform: rotate(90deg) !important;
    }

    .architecture-flow {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg) !important;
    }

    .demo-stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .demo-controls {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .developers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    .developer-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 10px 40px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card,
    .step {
        padding: 20px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 20px;
    }

    .platform-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .developers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .developer-card {
        max-width: 100%;
    }

    .developer-image {
        height: 300px;
    }

    .developer-info {
        padding: 20px;
    }

    .developer-name {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .resume-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .pipeline-container {
        flex-direction: column;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg) !important;
    }

    .architecture-flow {
        flex-direction: column;
    }
    
    .arch-arrow {
        transform: rotate(90deg) !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Scroll-triggered Animation Classes */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-scale-up.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-rotate-in.animate {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Staggered Animation Delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* Parallax Effects */
.parallax-slow {
    transform: translateY(var(--scroll-offset, 0) * 0.5);
}

.parallax-medium {
    transform: translateY(var(--scroll-offset, 0) * 0.3);
}

.parallax-fast {
    transform: translateY(var(--scroll-offset, 0) * 0.1);
}

/* Enhanced Scroll Animations */
.scroll-fade-in-up {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-in-down {
    opacity: 0;
    transform: translateY(-100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-in-down.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-zoom-in {
    opacity: 0;
    transform: scale(0.5);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-zoom-in.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-flip-in {
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-flip-in.animate {
    opacity: 1;
    transform: rotateY(0deg);
}

/* Smooth scroll enhancement - Remove duplicate */
/* html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
} */

/* Enhanced button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

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

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

/* Enhanced card hover effects */
.feature-card, .step, .stat-card, .prediction-card, .developer-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-1);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.hidden { display: none; }
.visible { display: block; }

/* Full Width Utilities */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.mw-100 { max-width: 100% !important; }

/* Ensure all main sections use full width */
section {
    width: 100%;
    min-width: 100%;
}

/* Fix any remaining width constraints */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
}

/* Hero section specific fixes */
.hero {
    position: relative;
    left: 0;
    right: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.hero-content {
    position: relative;
    left: 0;
    right: 0;
    transform: none;
}

/* Ensure text doesn't overflow */
.hero-text {
    overflow: hidden;
    word-break: break-word;
}

.hero-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.gradient-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Success/Error States */
.success {
    color: var(--success-color);
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid var(--success-color);
    padding: 10px;
    border-radius: 5px;
}

.error {
    color: var(--danger-color);
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid var(--danger-color);
    padding: 10px;
    border-radius: 5px;
}

.warning {
    color: var(--warning-color);
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid var(--warning-color);
    padding: 10px;
    border-radius: 5px;
}

.contact-notice {
    color: var(--warning-color);
}
