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

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #3385ff;
    --secondary: #ff6600;
    --accent: #00ccff;
    --dark: #0a0e1a;
    --dark-secondary: #151b2e;
    --dark-tertiary: #1f2937;
    --light: #f5f7fa;
    --gray: #6b7280;
    --success: #00cc66;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #0033cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6600 0%, #cc3300 100%);
    --gradient-accent: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #151b2e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 100%);
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.sphere-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0066ff 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff6600 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.sphere-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00ccff 0%, transparent 70%);
    bottom: -250px;
    left: 30%;
    animation-delay: 10s;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 28px;
    font-weight: 800;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 50%, #ff6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

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

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: rgba(15, 23, 42, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 16px 48px rgba(0, 102, 255, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== TECHNOLOGY SECTION ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tech-column {
    background: rgba(30, 41, 59, 0.3);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-category {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--primary-light);
}

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-item {
    padding: 16px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateX(8px);
    background: rgba(15, 23, 42, 0.8);
}

.tech-name {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 4px;
    font-size: 16px;
}

.tech-desc {
    font-size: 14px;
    color: var(--gray);
}

/* ===== SECURITY SECTION ===== */
.security {
    background: rgba(15, 23, 42, 0.5);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.security-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 102, 0, 0.2);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.section-description {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.security-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.security-check {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.security-feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--light);
}

.security-feature p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-shield {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-layer {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.shield-layer.layer-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(0, 102, 255, 0.3);
    animation-duration: 15s;
}

.shield-layer.layer-2 {
    width: 75%;
    height: 75%;
    border-color: rgba(255, 102, 0, 0.3);
    animation-duration: 20s;
    animation-direction: reverse;
}

.shield-layer.layer-3 {
    width: 50%;
    height: 50%;
    border-color: rgba(0, 204, 255, 0.3);
    animation-duration: 25s;
}

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

.shield-center {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 102, 255, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

.shield-icon {
    font-size: 64px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(0, 102, 255, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(0, 102, 255, 0.7);
    }
}

/* ===== USE CASES SECTION ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.case-card {
    background: rgba(30, 41, 59, 0.3);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(30, 41, 59, 0.6);
}

.case-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 102, 255, 0.2);
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light);
}

.case-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--gradient-primary);
    border-radius: 32px;
    margin: 0 24px;
    overflow: hidden;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.cta-content {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: var(--light);
}

.cta .btn-secondary {
    border-color: white;
    color: white;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 32px;
    font-weight: 800;
}

.footer-tagline {
    color: var(--gray);
    margin-top: 12px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 64px;
    justify-content: flex-end;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--light);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 14px;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 32px;
    }

    section {
        padding: 60px 0;
    }

    .security-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .security-visual {
        order: -1;
    }

    .security-shield {
        width: 200px;
        height: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 40px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }
}
