/* ========================================
   IA ENGINE - LANDING PAGE STYLES
   Modern, Professional & Animated
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-badge.badge-beta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.1));
    color: var(--accent);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.logo-icon i {
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-actions .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.navbar.scrolled .nav-actions .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.navbar.scrolled .nav-actions .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.3);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(14, 165, 233, 0.25);
    top: 50%;
    right: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(16, 185, 129, 0.2);
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: rgba(99, 102, 241, 0.2);
    top: 30%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.02); }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    display: inline;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* Dashboard Preview */
.hero-visual {
    animation: fadeInRight 0.8s ease 0.3s backwards;
}

.dashboard-preview {
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28ca42; }

.preview-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.preview-content {
    display: flex;
    padding: 1rem;
    gap: 1rem;
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
}

.sidebar-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.sidebar-item.active {
    background: var(--gradient);
    color: var(--white);
}

.sidebar-item i {
    font-size: 0.875rem;
}

.preview-main {
    flex: 1;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.preview-card {
    padding: 0.75rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preview-card.card-1 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.preview-card.card-2 {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.preview-card.card-3 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.preview-card .card-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-1 .card-icon {
    background: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.card-2 .card-icon {
    background: rgba(14, 165, 233, 0.3);
    color: #0ea5e9;
}

.card-3 .card-icon {
    background: rgba(99, 102, 241, 0.3);
    color: #6366f1;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.card-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
}

.preview-chart {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    gap: 0.5rem;
}

.chart-bars .bar {
    flex: 1;
    background: var(--gradient);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    animation: growUp 1s ease forwards;
    transform-origin: bottom;
}

@keyframes growUp {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

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

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

/* ========================================
   TRUSTED SECTION
   ======================================== */
.trusted {
    padding: 3rem 0;
    background: var(--white);
}

.trusted-text {
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.logo-item:hover {
    color: var(--gray-600);
}

.logo-item i {
    font-size: 1.25rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-500);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ========================================
   AUTOMATION SECTION
   ======================================== */
.automation {
    padding: 6rem 0;
    background: var(--white);
}

.automation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.automation-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auto-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.auto-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auto-feature-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.auto-feature-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.auto-feature-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Workflow Demo */
.workflow-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.workflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.workflow-node i {
    font-size: 1.25rem;
    color: var(--primary);
}

.workflow-node span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
}

.workflow-node.start {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
}

.workflow-node.start i {
    color: var(--accent);
}

.workflow-node.end {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.workflow-line {
    width: 2px;
    height: 30px;
    background: var(--gray-300);
}

.workflow-line.vertical {
    height: 40px;
}

.workflow-branches {
    display: flex;
    gap: 4rem;
    margin-top: 1rem;
}

.branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-merge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

/* ========================================
   API MAKER SECTION
   ======================================== */
.api-maker {
    padding: 6rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.api-maker::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.api-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.api-text {
    color: var(--white);
}

.api-text h2 {
    color: var(--white);
}

.api-text .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.api-features-list {
    margin: 2rem 0;
}

.api-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.api-features-list li i {
    color: var(--accent);
}

/* API Demo */
.api-demo {
    position: relative;
}

.api-window {
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28ca42; }

.window-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.window-content {
    padding: 1.5rem;
}

.code-block {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8125rem;
}

.code-line {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.code-method {
    background: var(--accent);
    color: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

.code-endpoint {
    color: var(--white);
}

.code-key {
    color: var(--secondary);
}

.code-value {
    color: rgba(255, 255, 255, 0.6);
}

.code-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.code-response {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.code-success {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.code-response pre {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.75rem;
}

.api-endpoints {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.endpoint-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.endpoint-card .method {
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 700;
}

.method.get { background: var(--secondary); color: var(--white); }
.method.post { background: var(--accent); color: var(--white); }
.method.put { background: #f59e0b; color: var(--white); }
.method.delete { background: #ef4444; color: var(--white); }

/* ========================================
   AGENT BUILDER SECTION
   ======================================== */
.agent-builder {
    padding: 6rem 0;
    background: var(--white);
}

.agent-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.agent-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.capability {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.capability-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.capability-icon i {
    font-size: 1.125rem;
    color: var(--accent);
}

.capability-content h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.capability-content p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Agent Demo */
.agent-demo {
    position: relative;
    padding: 3rem;
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agent-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.avatar-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
}

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

.avatar-core {
    position: absolute;
    inset: 15px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-core i {
    font-size: 2.5rem;
    color: var(--white);
}

.avatar-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0; }
}

.agent-tools {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tool-orbit {
    width: 100%;
    height: 100%;
    animation: spin 30s linear infinite reverse;
}

.tool {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    top: 50%;
    left: 50%;
    transform: rotate(calc(var(--i) * 60deg)) translate(140px) rotate(calc(var(--i) * -60deg));
    animation: counter-spin 30s linear infinite;
}

@keyframes counter-spin {
    from { transform: rotate(calc(var(--i) * 60deg)) translate(140px) rotate(calc(var(--i) * -60deg + 0deg)); }
    to { transform: rotate(calc(var(--i) * 60deg)) translate(140px) rotate(calc(var(--i) * -60deg + 360deg)); }
}

.tool i {
    font-size: 1rem;
    color: var(--primary);
}

.agent-chat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
    margin-top: 2rem;
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.8125rem;
    animation: fadeInUp 0.5s ease;
}

.chat-message.user {
    background: var(--gradient);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: var(--radius-sm);
}

.chat-message.agent {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    align-self: flex-start;
    border-bottom-left-radius: var(--radius-sm);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 6rem 0;
    background: var(--gray-50);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 250px;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-content {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    width: 100%;
}

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

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-300);
    margin-top: 3rem;
    flex-shrink: 0;
}

/* ========================================
   INTEGRATIONS SECTION
   ======================================== */
.integrations {
    padding: 6rem 0;
    background: var(--white);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.integration-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.integration-card i {
    font-size: 1.75rem;
    color: var(--primary);
}

.integration-card span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    padding: 6rem 0;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.pricing-features li i {
    color: var(--accent);
    font-size: 1rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--dark);
    font-size: 0.9375rem;
}

.author-info span {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
}

.cta-shapes {
    position: absolute;
    inset: 0;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.cta-shape.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 6rem 0;
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.channel {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.channel-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.channel-info {
    display: flex;
    flex-direction: column;
}

.channel-info strong {
    color: var(--dark);
    font-size: 0.9375rem;
}

.channel-info span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-700);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

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

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .automation-content,
    .api-content,
    .agent-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .api-visual {
        order: 2;
    }

    .integrations-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .steps {
        flex-direction: column;
        gap: 1rem;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }

    .step {
        max-width: 100%;
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat {
        text-align: center;
    }

    .agent-capabilities {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 4rem;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* ========================================
   MOBILE MENU
   ======================================== */
.nav-links.active,
.nav-actions.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 1rem;
}

.nav-links.active a {
    color: var(--gray-700);
    padding: 0.75rem 0;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
