/* ========================================
   BALEXUS - Styles
   ======================================== */

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

/* 2. Custom Properties */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2035;
    --bg-card-hover: #1f2847;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-accent: #60a5fa;
    --border: rgba(59, 130, 246, 0.15);
    --border-hover: rgba(59, 130, 246, 0.35);
    --glow: rgba(59, 130, 246, 0.2);
    --glow-strong: rgba(59, 130, 246, 0.4);
    --nav-height: 72px;
    --container-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 3. Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

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

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

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

/* 4. Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 5. Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.125rem;
    color: white;
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* 6. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-accent);
    margin-bottom: 32px;
}

.hero-badge-icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* 7. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    color: white;
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* 7b. Agentic Company Section */
.agentic {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.agentic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Manifesto */
.agentic-manifesto {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.agentic-manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

.manifesto-content {
    flex: 1;
}

.manifesto-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.manifesto-text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.manifesto-text strong {
    color: var(--text-primary);
}

.manifesto-badge {
    flex-shrink: 0;
}

.manifesto-percentage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid transparent;
    background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--accent-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

.manifesto-percentage::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.1;
    animation: agenticPulse 3s ease-in-out infinite;
}

.percentage-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.percentage-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Agents Grid */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.agent-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition);
    position: relative;
}

.agent-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
}

.agent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.agent-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius);
    color: var(--accent-secondary);
}

.agent-icon svg {
    width: 22px;
    height: 22px;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.status-active {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    animation: statusBlink 2s ease-in-out infinite;
}

.status-dot.status-building {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    animation: statusBlink 3s ease-in-out infinite;
}

.status-dot.status-active + .status-text {
    color: #22c55e;
}

.status-dot.status-building + .status-text {
    color: #f59e0b;
}

.agent-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.agent-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.agent-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.agent-tool {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.6875rem;
    color: var(--accent-secondary);
    font-weight: 500;
}

/* Proof Callout */
.agentic-proof {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.agentic-proof::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

.proof-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: var(--radius);
    color: white;
    flex-shrink: 0;
}

.proof-icon svg {
    width: 28px;
    height: 28px;
}

.proof-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.proof-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.proof-text strong {
    color: var(--text-primary);
}

/* Animations */
@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes agenticPulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.15); opacity: 0.2; }
}

/* 8. Services Section */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
    background: var(--bg-card-hover);
}

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.service-card--featured {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.08));
    position: relative;
}

.service-card--featured::before {
    opacity: 1;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.service-icon--accent {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-secondary);
}

.service-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: var(--accent-gradient);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 9. Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow);
}

.project-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 220px;
    height: 100%;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.project-placeholder-icon {
    width: 48px;
    height: 48px;
    opacity: 0.9;
}

.project-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.project-status {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-content {
    padding: 28px;
}

.project-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.project-highlights {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.highlight-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

/* 10. About Section */
.about {
    background: var(--bg-secondary);
}

.about-mission-block {
    max-width: 800px;
    margin: 0 auto 48px;
}

.about-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px var(--glow);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.team-card-title {
    text-align: left;
}

.team-card-bio {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}

.cco-placeholder {
    background: linear-gradient(135deg, #6366f1, #06b6d4) !important;
}

.cpo-placeholder {
    background: linear-gradient(135deg, #a855f7, #ec4899) !important;
}

.founder-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    border: 2px solid var(--border);
    box-shadow: 0 0 20px var(--glow);
}

.founder-name {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.founder-role {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.founder-credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.825rem;
}

.credential-icon {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.about-tech-section {
    max-width: 960px;
    margin: 0 auto;
}

.about-mission {
    color: var(--text-primary) !important;
    font-size: 1.125rem !important;
    border-left: 3px solid var(--accent-primary);
    padding-left: 20px;
}

.about-tech {
    margin-top: 32px;
}

.about-tech h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.tech-tag:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* 11. Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.contact-cta {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 8px;
}

.contact-cta p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    color: #34d399;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* 12. Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--accent-primary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

/* 13. Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--glow); }
    50% { box-shadow: 0 0 40px var(--glow-strong); }
}

/* 14. Page Section Spacing (multi-page) */
.page-section {
    padding-top: 120px;
}

/* 15. Home Navigation Cards */
.home-nav {
    padding-bottom: 80px;
}

.home-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.home-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.home-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px var(--glow);
    transform: translateY(-4px);
}

.home-card--cta {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.home-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent-primary);
}

.home-card-icon svg {
    width: 24px;
    height: 24px;
}

.home-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.home-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
}

.home-card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 16px;
}

.home-card-link svg {
    width: 16px;
    height: 16px;
}

/* 16. Section CTA */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* 17. Media Queries */
@media (min-width: 1025px) and (max-width: 1250px) {
    .about-team {
        grid-template-columns: repeat(2, 1fr);
        max-width: 960px;
    }
}

@media (max-width: 1024px) {
    .home-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-team {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 600px;
    }

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

    .project-card--featured {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .home-cards-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-title {
        letter-spacing: -0.5px;
    }

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

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

    .agentic-manifesto {
        flex-direction: column;
        padding: 32px 24px;
        gap: 32px;
        text-align: center;
    }

    .manifesto-percentage {
        width: 120px;
        height: 120px;
    }

    .percentage-number {
        font-size: 2rem;
    }

    .agentic-proof {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 15. Accent Button */
.btn-accent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    color: white;
}

/* 16. Contact Actions */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

/* 17. Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.fab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.fab svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fab-booking {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.fab-booking:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.fab-ai {
    background: var(--accent-gradient);
    color: white;
}

.fab-ai:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .fab-label {
        display: none;
    }

    .fab {
        padding: 14px;
        border-radius: 50%;
    }

    .floating-actions {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
}

/* 18. AI Assistant Panel */
.ai-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.ai-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ai-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-panel.active {
    transform: translateX(0);
}

.ai-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.ai-panel-tabs {
    display: flex;
    gap: 4px;
}

.ai-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.ai-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.ai-tab.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.15);
}

.ai-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.ai-panel-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.ai-panel-body {
    flex: 1;
    overflow: hidden;
}

.ai-tab-content {
    display: none;
    flex-direction: column;
    height: 100%;
}

.ai-tab-content.active {
    display: flex;
}

/* Voice & Avatar Status */
.ai-status-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    gap: 16px;
}

.ai-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: all var(--transition);
}

.ai-avatar-circle.large {
    width: 100px;
    height: 100px;
}

.ai-avatar-circle.listening {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px var(--glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

.ai-status-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.ai-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: all var(--transition);
}

.ai-status-indicator.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.ai-status-indicator.connecting {
    background: #f59e0b;
    animation: pulse-glow 1s ease-in-out infinite;
}

.ai-status-indicator.error {
    background: #ef4444;
}

/* Transcript */
.ai-transcript {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-transcript-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.ai-transcript-empty p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.ai-msg {
    animation: fadeInMsg 0.3s ease;
}

.ai-msg-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ai-msg-user .ai-msg-role {
    color: var(--accent-primary);
}

.ai-msg-agent .ai-msg-role {
    color: #10b981;
}

.ai-msg-text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: var(--radius);
}

.ai-msg-agent .ai-msg-text {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* AI Controls */
.ai-controls {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.ai-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.ai-btn-start {
    background: var(--accent-gradient);
    color: white;
}

.ai-btn-start:hover {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.ai-btn-stop {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.ai-btn-stop:hover {
    background: rgba(239, 68, 68, 0.25);
}

.hidden {
    display: none !important;
}

/* Avatar Video */
.ai-avatar-video-container {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    max-height: 300px;
}

.ai-avatar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    background: var(--bg-card);
}

.ai-avatar-placeholder p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    padding: 0 20px;
}

.ai-avatar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-widget-embed {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Chat Input */
.ai-chat-input {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.ai-chat-input textarea {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.4;
    resize: none;
    outline: none;
    max-height: 120px;
}

.ai-chat-input textarea:focus {
    border-color: var(--accent-primary);
}

.ai-chat-input textarea::placeholder {
    color: var(--text-secondary);
}

.ai-chat-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius);
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}

.ai-chat-send:hover {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

/* Typing dots animation */
.ai-typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 20px;
}

.ai-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.ai-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* 19. Booking Panel */
.booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.booking-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 500px;
    max-width: 95vw;
    max-height: 90vh;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.booking-panel.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.booking-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 16px;
}

.booking-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.booking-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 4px;
}

.booking-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.booking-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Booking Steps */
.booking-steps {
    display: flex;
    padding: 0 24px 16px;
    gap: 8px;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 100px;
    background: var(--bg-card);
    font-weight: 500;
    opacity: 0.5;
    transition: all var(--transition);
}

.booking-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--border);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.booking-step.active {
    opacity: 1;
}

.booking-step.active span {
    background: var(--accent-primary);
    color: white;
}

.booking-step.current {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Booking Body */
.booking-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 24px;
}

/* Calendar */
.booking-calendar {
    user-select: none;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-month {
    font-weight: 700;
    font-size: 1rem;
}

.calendar-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.calendar-nav-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day-name {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 0;
    text-transform: uppercase;
}

.calendar-cell {
    text-align: center;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-primary);
}

.calendar-cell:hover:not(.disabled):not(.empty) {
    background: rgba(59, 130, 246, 0.15);
    color: var(--text-primary);
}

.calendar-cell.today {
    border: 1px solid var(--accent-primary);
}

.calendar-cell.selected {
    background: var(--accent-primary);
    color: white;
}

.calendar-cell.disabled {
    color: rgba(148, 163, 184, 0.3);
    cursor: default;
}

.calendar-cell.empty {
    cursor: default;
}

.calendar-timezone {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Time Slots */
.booking-time-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.booking-time-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.booking-back {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all var(--transition);
}

.booking-back:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.slot-btn {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.slot-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
}

.slot-btn.selected {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
}

.booking-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.booking-no-slots {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.booking-summary-item svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Booking Success */
.booking-success {
    text-align: center;
    padding: 20px 0;
}

.success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    margin-bottom: 20px;
}

.booking-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.success-subtitle {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.booking-success .booking-summary {
    text-align: left;
    margin-bottom: 8px;
}

/* ========================================
   PLATFORM PAGE
   ======================================== */

/* Platform Stats */
.platform-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.platform-stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.platform-stat:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--glow);
}

.platform-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--accent-primary);
}

.platform-stat-icon svg {
    width: 20px;
    height: 20px;
}

.platform-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.platform-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Platform Description */
.platform-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.platform-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.capability-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 32px var(--glow);
    transform: translateY(-4px);
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.capability-icon svg {
    width: 24px;
    height: 24px;
}

.capability-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.capability-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.capability-tags .tag {
    font-size: 0.6875rem;
    padding: 3px 8px;
}

/* Architecture Layers */
.architecture-layers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.arch-layer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}

.arch-layer:hover {
    border-color: var(--accent-primary);
}

.arch-layer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent-primary);
}

.arch-layer-header svg {
    width: 20px;
    height: 20px;
}

.arch-layer-header h4 {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 600;
}

.arch-layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arch-item {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Microservices Grid */
.microservices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ms-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.ms-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.ms-category-title svg {
    width: 18px;
    height: 18px;
}

.ms-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ms-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.ms-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.ms-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: right;
}

/* Platform CTA */
.platform-cta-box {
    text-align: center;
    padding: 64px 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.platform-cta-box h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.platform-cta-box p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

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

/* Platform Responsive */
@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-layers {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .platform-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .platform-cta-box {
        padding: 40px 24px;
    }

    .ms-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .ms-desc {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .platform-stats {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
