/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #0f0f14;
    --color-bg-tertiary: #1a1a2e;
    --color-blue: #3b82f6;
    --color-purple: #8b5cf6;
    --color-cyan: #06b6d4;
    --color-pink: #ec4899;
    --color-green: #10b981;
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-blue), var(--color-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0ea5e9, #a855f7);
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

@keyframes gradient-drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes scroll-indicator {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateY(8px);
    }
}

@keyframes grid-flow {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.3s; }
.animate-fade-in-up:nth-child(5) { animation-delay: 0.4s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--color-blue), var(--color-purple));
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: linear-gradient(to right, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    color: #c4b5fd;
    border: 2px solid rgba(139, 92, 246, 0.5);
    backdrop-filter: blur(20px);
}

.btn-outline:hover {
    background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: var(--color-purple);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    margin-right: 0.75rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-blue);
}

.header-cta {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; }

.mobile-menu-btn.active .menu-icon {
    background: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    margin-top: 1rem;
}

.nav-mobile.active {
    display: flex;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--color-bg), var(--color-bg-secondary), var(--color-bg-tertiary));
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(30, 64, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 64, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-flow 20s linear infinite;
    opacity: 0.3;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(200px);
    animation: gradient-drift 20s ease-in-out infinite;
}

.glow-orb-1 {
    top: 5rem;
    left: 2.5rem;
    width: 700px;
    height: 700px;
    background: rgba(59, 130, 246, 0.2);
}

.glow-orb-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 700px;
    height: 700px;
    background: rgba(139, 92, 246, 0.2);
    animation-delay: 5s;
    animation-duration: 25s;
}

.glow-orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.15);
    animation-delay: 10s;
    animation-duration: 30s;
}

.glow-orb-4 {
    top: 33%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.1);
    animation-delay: 15s;
    animation-duration: 35s;
}

.accent-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
}

.accent-line-top {
    top: 0;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.accent-line-bottom {
    bottom: 0;
    background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.hero-grid-layout {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
    margin-bottom: 2rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-green);
    border-radius: 50%;
    animation: pulse-slow 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-green);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-blue { color: #93c5fd; }
.badge-purple { color: #c4b5fd; }
.badge-cyan { color: #67e8f9; }

.badge-divider {
    width: 4px;
    height: 4px;
    background: var(--color-gray-500);
    border-radius: 50%;
}

.badge-icon {
    color: var(--color-purple);
}

.hero-headline {
    margin-bottom: 2rem;
}

.headline-text {
    font-size: 3.5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.gradient-text-hero {
    background: linear-gradient(to right, var(--color-white), #dbeafe, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 20px rgba(59, 130, 246, 0.3));
}

.accent-bar {
    height: 4px;
    width: 10rem;
    background: linear-gradient(to right, var(--color-blue), var(--color-purple), var(--color-cyan));
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.5);
    position: relative;
}

.accent-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #60a5fa, #06b6d4);
    border-radius: 9999px;
    filter: blur(4px);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e5e7eb;
    font-weight: 300;
    margin-bottom: 2rem;
}

.highlight-text {
    color: var(--color-blue);
    font-weight: 600;
    background: linear-gradient(to right, #60a5fa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proof-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.proof-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.2);
}

.proof-card-blue {
    background: linear-gradient(to right, rgba(30, 58, 138, 0.5), rgba(91, 33, 182, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.proof-card-purple {
    background: linear-gradient(to right, rgba(91, 33, 182, 0.5), rgba(157, 23, 77, 0.5));
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.proof-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.proof-card:hover .proof-icon {
    transform: scale(1.1);
}

.proof-icon-green {
    background: linear-gradient(to bottom right, var(--color-green), #059669);
    color: var(--color-white);
}

.proof-icon-blue {
    background: linear-gradient(to bottom right, var(--color-blue), var(--color-cyan));
    color: var(--color-white);
}

.proof-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.proof-desc {
    color: var(--color-gray-400);
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.metrics-avatars {
    display: flex;
    margin-left: -1.25rem;
}

.metric-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 4px solid var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-left: -1.25rem;
}

.metric-avatar:hover {
    transform: scale(1.1);
}

.metric-avatar-1 {
    background: linear-gradient(to bottom right, var(--color-blue), var(--color-cyan));
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.5);
}

.metric-avatar-2 {
    background: linear-gradient(to bottom right, var(--color-purple), var(--color-pink));
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
}

.metric-avatar-3 {
    background: linear-gradient(to bottom right, var(--color-cyan), var(--color-blue));
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.5);
}

.metrics-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.metrics-desc {
    color: var(--color-gray-400);
}

/* Hero Portrait */
.hero-portrait {
    position: relative;
}

.portrait-wrapper {
    position: relative;
}

.portrait-glow {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 16rem;
    height: 16rem;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse-slow 4s ease-in-out infinite;
}

.portrait-border-1,
.portrait-border-2 {
    position: absolute;
    inset: -0.25rem;
    border-radius: 2rem;
    filter: blur(48px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.portrait-border-1 {
    background: linear-gradient(to right, var(--color-blue), var(--color-purple), var(--color-cyan));
    opacity: 0.7;
}

.portrait-border-2 {
    inset: -0.5rem;
    background: linear-gradient(to right, var(--color-cyan), var(--color-blue), var(--color-purple));
    filter: blur(32px);
    opacity: 0.4;
    animation-delay: 1s;
}

.portrait-container {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.5);
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.portrait-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 1s ease;
}

.portrait-container:hover .portrait-img {
    transform: scale(1.1);
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg), transparent, transparent);
    opacity: 0.8;
}

.portrait-badge {
    position: absolute;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portrait-badge-active {
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.portrait-badge-role {
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
}

.badge-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--color-white);
    border-radius: 50%;
    animation: pulse-slow 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-white);
}

.portrait-badge span {
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.875rem;
}

/* Stat Cards */
.stat-card {
    position: absolute;
    background: linear-gradient(to bottom right, var(--color-bg-secondary), var(--color-bg-tertiary), var(--color-bg-secondary));
    backdrop-filter: blur(40px);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    animation: float 3s ease-in-out infinite;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-card:hover {
    transform: scale(1.1);
}

.stat-card-1 {
    bottom: -2rem;
    left: -2rem;
    border: 2px solid rgba(59, 130, 246, 0.5);
}

.stat-card-2 {
    top: -2rem;
    right: -2rem;
    border: 2px solid rgba(139, 92, 246, 0.5);
    animation-delay: 0.5s;
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon-blue {
    background: linear-gradient(to bottom right, var(--color-blue), var(--color-purple));
    color: var(--color-white);
}

.stat-icon-purple {
    background: linear-gradient(to bottom right, var(--color-purple), var(--color-pink));
    color: var(--color-white);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce-slow 2s ease-in-out infinite;
}

.scroll-indicator-bar {
    width: 2rem;
    height: 3.5rem;
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 9999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.scroll-indicator-bar:hover {
    border-color: var(--color-blue);
}

.scroll-indicator-bar::after {
    content: '';
    width: 0.5rem;
    height: 1.25rem;
    background: linear-gradient(to bottom, var(--color-blue), var(--color-purple), var(--color-cyan));
    border-radius: 9999px;
    animation: scroll-indicator 2s ease-in-out infinite;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.5);
}

/* Responsive */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .header-cta {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-grid-layout {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
    
    .headline-text {
        font-size: 5rem;
    }
    
    .hero-portrait {
        transform: scale(1.1);
    }
}

@media (min-width: 1024px) {
    .headline-text {
        font-size: 7rem;
    }
}
