/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Base Styles */
:root {
    --primary: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    --accent: #0EA5E9;
    --dark: #111827;
    --light: #F9FAFB;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --gray-dark: #374151;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --gradient: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.5px;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 20px;
    font-size: 1.125rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

/* Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(80px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -250px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -150px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--warning);
    top: 40%;
    left: 25%;
}

.shape-4 {
    width: 400px;
    height: 400px;
    background: var(--success);
    bottom: 20%;
    right: 10%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn i {
    font-size: 0.9rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.logo-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: logo-draw 2s forwards;
}

@keyframes logo-draw {
    to {
        stroke-dashoffset: 0;
    }
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--gray-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    transform-origin: left;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    color: var(--primary);
}

.stat-value span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.brain-svg {
    width: 100%;
    height: auto;
}

.brain-node {
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    animation: pulse 3s infinite alternate;
}

.brain-connection {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    opacity: 0.6;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background: rgba(249, 250, 251, 0.8);
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.partner-logo {
    height: 40px;
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo svg {
    height: 100%;
    color: var(--gray);
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: feature-draw 2s forwards;
    animation-delay: 0.5s;
}

@keyframes feature-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Back to Main */
.back-to-main {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.back-to-main a {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
    transition: var(--transition);
}

.back-to-main a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    nav ul {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .partners-logos {
        gap: 30px;
    }
    
    .partner-logo {
        height: 30px;
    }
} 