/* Modern Reset & Variables */
:root {
    --bg-dark: #030712;
    --bg-card: rgba(17, 24, 39, 0.7);
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #3b82f6;
    --accent: #8b5cf6;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    opacity: 0.3;
    z-index: -2;
    pointer-events: none;
}

.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--secondary);
    animation-delay: -2s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: var(--accent);
    opacity: 0.2;
    animation-delay: -4s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.logo-img {
    height: 36px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-button.small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Hero Visual - Glass Panel */
.hero-visual-glass {
    width: 100%;
    max-width: 800px;
    perspective: 1000px;
}

.glass-panel {
    background: rgba(20, 25, 40, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transform: rotateX(10deg) scale(0.95);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.glass-panel:hover {
    transform: rotateX(0deg) scale(1);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.panel-title {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.panel-body {
    font-family: monospace;
}

.data-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.status.secure {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
}

.status.processing {
    background: rgba(59, 130, 246, 0.2);
    color: var(--secondary);
}

.status.warning {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.data-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bento Grid Section */
.bento-section {
    padding: 100px 0;
}

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

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

/* Spotlight Effect */
.spotlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.icon-wrapper.security {
    color: var(--primary);
}

.icon-wrapper.management {
    color: var(--secondary);
}

.icon-wrapper.tech {
    color: var(--accent);
}

.icon-wrapper.memory {
    color: #f59e0b;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.mini-logos {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Capabilities Section (New) */
.capabilities-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s;
}

.cap-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.cap-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.cap-card:hover .cap-icon {
    color: var(--primary);
}

.cap-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cap-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tech Scroller */
.tech-scroller {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.tech-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.tech-logo-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tech-logo-item i {
    font-size: 1.5rem;
    color: var(--text-main);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-wrapper {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.modern-form {
    margin-top: 2rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.4rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: #fff;
    outline: none;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.footer-logo-img {
    height: 30px;
    border-radius: 6px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

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

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-2,
    .span-3 {
        grid-column: span 1;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
    }
}