/* ===================================
   Galileo - Clean White Design with Animations
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Light clean palette */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fb;
    --color-bg-card: #ffffff;
    
    --color-text-primary: #1a1a2e;
    --color-text-secondary: #64748b;
    --color-text-tertiary: #94a3b8;
    
    --color-accent: #2f6dec;
    --color-accent-hover: #1e5cd6;
    --color-accent-light: rgba(47, 109, 236, 0.1);
    --color-accent-glow: rgba(47, 109, 236, 0.3);
    
    --color-gradient-start: #2f6dec;
    --color-gradient-end: #667eea;
    --color-success: #10b981;
    
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 7rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

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

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

.nav-cta {
    padding: 10px 24px;
    background: var(--color-accent);
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
}

/* ===================================
   Hero Section with Animations
   =================================== */
.hero {
    position: relative;
    padding: calc(72px + var(--space-2xl)) var(--space-lg) var(--space-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Animated Background Elements */
.hero-bg-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(47, 109, 236, 0.12), rgba(102, 126, 234, 0.08));
    top: -150px;
    right: -100px;
    animation: floatShape1 25s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(47, 109, 236, 0.06));
    bottom: 5%;
    left: -100px;
    animation: floatShape2 30s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(47, 109, 236, 0.06);
    top: 35%;
    right: 15%;
    animation: floatShape3 20s ease-in-out infinite;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: rgba(102, 126, 234, 0.08);
    bottom: 25%;
    right: 25%;
    animation: floatShape4 22s ease-in-out infinite;
}

.shape-5 {
    width: 120px;
    height: 120px;
    background: rgba(47, 109, 236, 0.08);
    top: 15%;
    left: 25%;
    animation: floatShape5 18s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-40px, 30px) scale(1.1) rotate(5deg); }
    66% { transform: translate(30px, -20px) scale(0.95) rotate(-3deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(50px, -40px) scale(1.15) rotate(-5deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-20px, 15px) scale(1.1); }
    50% { transform: translate(15px, -25px) scale(0.9); }
    75% { transform: translate(-10px, -10px) scale(1.05); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, 20px) scale(1.08); }
    66% { transform: translate(-15px, -15px) scale(0.95); }
}

@keyframes floatShape5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 25px) scale(1.12); }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(47, 109, 236, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 109, 236, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
    animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Hero Content */
.hero-content {
    flex: 1;
    max-width: 540px;
    z-index: 2;
}

.hero-content > * {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease-out forwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 16px;
    background: var(--color-accent-light);
    border: 1px solid rgba(47, 109, 236, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(47, 109, 236, 0.2);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animate-float {
    animation: gentleFloat 6s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end), var(--color-gradient-start));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-gradient {
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    background: var(--color-accent);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

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

.btn-glow {
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-glow:hover {
    box-shadow: 0 8px 30px var(--color-accent-glow);
}

.btn-primary svg {
    transition: transform var(--transition-base);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    background: transparent;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-border-hover);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    z-index: 2;
    animation: slideInRight 0.8s ease-out 0.2s both;
    padding: 60px 40px;
}

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

.hero-image {
    position: relative;
}

/* Floating Feature Cards in Hero */
.hero-floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

.floating-feature-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-primary);
    white-space: nowrap;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.floating-feature-card .card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
}

.floating-feature-card .card-icon svg {
    width: 18px;
    height: 18px;
}

.card-1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatCard1 6s ease-in-out infinite, cardAppear 0.6s ease-out 0.5s both;
}

.card-2 {
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    animation: floatCard2 7s ease-in-out infinite, cardAppear 0.6s ease-out 0.7s both;
}

.card-3 {
    bottom: 50%;
    left: -60px;
    transform: translateY(50%);
    animation: floatCard3 8s ease-in-out infinite, cardAppear 0.6s ease-out 0.9s both;
}

.card-4 {
    bottom: -20px;
    right: 20%;
    animation: floatCard4 5s ease-in-out infinite, cardAppear 0.6s ease-out 1.1s both;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes floatCard1 {
    0%, 100% { 
        transform: translateX(-50%) translateY(0); 
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    }
    50% { 
        transform: translateX(-50%) translateY(-15px); 
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }
}

@keyframes floatCard2 {
    0%, 100% { 
        transform: translateY(-50%) translateX(0); 
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    }
    50% { 
        transform: translateY(-50%) translateX(-10px); 
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    }
}

@keyframes floatCard3 {
    0%, 100% { 
        transform: translateY(50%) translateX(0); 
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    }
    50% { 
        transform: translateY(50%) translateX(10px); 
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    }
}

@keyframes floatCard4 {
    0%, 100% { 
        transform: translateY(0); 
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    }
    50% { 
        transform: translateY(-12px); 
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.15);
    }
}

/* Browser Mockup */
.browser-mockup {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: mockupFloat 8s ease-in-out infinite;
}

.browser-mockup:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.15);
}

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

.browser-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--color-border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
}

.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-content {
    display: flex;
    padding: var(--space-md);
    gap: var(--space-md);
    min-height: 300px;
}

.mockup-sidebar {
    width: 52px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-item {
    height: 44px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-tertiary);
}

.mockup-item svg {
    width: 20px;
    height: 20px;
}

.mockup-item.active {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.mockup-main {
    flex: 1;
    display: flex;
    gap: var(--space-md);
}

.mockup-doc {
    flex: 1;
    background: white;
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
}

.doc-title {
    width: 100px;
    height: 10px;
    background: var(--color-text-primary);
    border-radius: 4px;
    opacity: 0.15;
}

.doc-badge {
    font-size: 0.625rem;
    padding: 3px 8px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-weight: 500;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.mockup-line {
    height: 8px;
    background: var(--color-bg-alt);
    border-radius: 4px;
}

.mockup-line.long { width: 100%; }
.mockup-line.medium { width: 70%; }
.mockup-line.short { width: 40%; }

.mockup-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(47, 109, 236, 0.08);
    border-left: 3px solid var(--color-accent);
    border-radius: 4px;
    color: var(--color-accent);
    font-size: 0.6875rem;
    font-weight: 500;
}

.mockup-highlight.success {
    background: rgba(16, 185, 129, 0.08);
    border-left-color: var(--color-success);
    color: var(--color-success);
}

.mockup-highlight svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* AI Panel */
.mockup-ai-panel {
    width: 150px;
    background: white;
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.ai-icon-main {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ai-icon-main svg {
    width: 100%;
    height: 100%;
}

.ai-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.ai-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-message-bubble {
    padding: 8px 10px;
    background: var(--color-bg-alt);
    border-radius: 8px 8px 8px 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-msg-line {
    height: 5px;
    background: var(--color-border);
    border-radius: 3px;
    width: 100%;
}

.ai-msg-line.short {
    width: 60%;
}

.ai-message-bubble.typing {
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 10px 14px;
}

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

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

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

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

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

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

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

/* ===================================
   Features Section - New Grid
   =================================== */
.features {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.features-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.feature-card-new {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    overflow: hidden;
}

.feature-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--color-border-hover);
}

.feature-card-new.feature-highlight {
    background: linear-gradient(135deg, rgba(47, 109, 236, 0.05), rgba(102, 126, 234, 0.05));
    border-color: rgba(47, 109, 236, 0.2);
}

.feature-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.1;
    line-height: 1;
}

.feature-icon-new {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
    color: var(--color-accent);
}

.feature-icon-new svg {
    width: 100%;
    height: 100%;
}

.feature-card-new h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

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

.feature-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 4px 12px;
    background: var(--color-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

/* ===================================
   Use Cases Section
   =================================== */
.use-cases {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.use-case-card {
    padding: var(--space-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-align: center;
}

.use-case-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 32px rgba(47, 109, 236, 0.1);
    transform: translateY(-4px);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--color-accent);
}

.use-case-icon svg {
    width: 100%;
    height: 100%;
}

.use-case-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

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

/* ===================================
   How it Works Section
   =================================== */
.how-it-works {
    padding: var(--space-3xl) 0;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-sm);
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: var(--space-lg);
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    background: var(--color-accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

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

.step-line {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: var(--color-border);
    margin-top: 44px;
}

/* ===================================
   Security Section
   =================================== */
.security {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
}

.security-text {
    max-width: 560px;
}

.security-description {
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.security-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-primary);
    font-size: 0.9375rem;
}

.security-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.soc2-image {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--space-3xl) 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.cta-content p {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info p {
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

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

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

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: 2px;
}

.contact-item a {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-accent);
}

.contact-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--space-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
    background: var(--color-bg);
}

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

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

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

/* ===================================
   Footer
   =================================== */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-accent);
}

.contact-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-address {
    color: var(--color-text-secondary);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-address strong {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* Galileo Family Link */
.galileo-family-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 8px;
    color: #667eea !important;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.galileo-family-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: translateX(4px);
}

.galileo-family-link svg {
    stroke: #667eea;
}

.family-description {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.footer-column a {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

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

.soc2-small {
    height: 40px;
    width: auto;
    opacity: 0.7;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .hero-visual {
        padding: 40px 20px;
    }
    
    .card-2 {
        right: -40px;
    }
    
    .card-3 {
        left: -40px;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(72px + var(--space-xl));
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 600px;
        margin-top: var(--space-xl);
        padding: 80px 20px 40px;
    }
    
    .hero-floating-cards {
        position: absolute;
        inset: 0;
    }
    
    .card-1 {
        top: 0;
        left: 10%;
        transform: none;
        animation: floatCardMobile1 5s ease-in-out infinite;
    }
    
    .card-2 {
        top: 10px;
        right: 5%;
        left: auto;
        transform: none;
        animation: floatCardMobile2 6s ease-in-out infinite;
    }
    
    .card-3 {
        bottom: 0;
        left: 5%;
        top: auto;
        transform: none;
        animation: floatCardMobile3 7s ease-in-out infinite;
    }
    
    .card-4 {
        bottom: 10px;
        right: 10%;
        animation: floatCardMobile4 5.5s ease-in-out infinite;
    }
    
    @keyframes floatCardMobile1 {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    
    @keyframes floatCardMobile2 {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    
    @keyframes floatCardMobile3 {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }
    
    @keyframes floatCardMobile4 {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    
    .features-grid-new {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .security-text {
        max-width: 100%;
    }
    
    .security-features {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-line {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .browser-content {
        min-height: 240px;
    }
    
    .mockup-ai-panel {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===================================
   Animation Classes
   =================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
}

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

.pricing-section .section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 1rem auto 0;
}

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

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.pricing-card.popular {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border: none;
    transform: scale(1.05);
    box-shadow: 0 25px 60px -12px rgba(26, 26, 46, 0.35);
}

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

.pricing-card.popular * {
    color: white;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.plan-description {
    font-size: 0.95rem;
    color: #64748b;
}

.pricing-card.popular .plan-description {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-card.popular .pricing-amount {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #64748b;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-card.popular .price {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: #475569;
}

.pricing-card.popular .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #10B981;
}

.pricing-card.popular .pricing-features li svg {
    stroke: #a78bfa;
}

.pricing-features li.overage svg {
    stroke: #f59e0b;
}

.pricing-features li strong {
    font-weight: 600;
    color: #1a1a2e;
}

.pricing-card.popular .pricing-features li strong {
    color: white;
}

.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #f1f5f9;
    color: #1a1a2e;
    border: 1px solid #e2e8f0;
}

.btn-pricing:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-pricing svg {
    transition: transform 0.3s ease;
}

.btn-pricing:hover svg {
    transform: translateX(4px);
}

.btn-pricing-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-pricing-primary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

/* Pricing Info Section */
.pricing-info {
    max-width: 1000px;
    margin: 4rem auto 0;
    display: grid;
    gap: 2rem;
}

.pricing-info-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pricing-info-card.development {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border: 1px solid #fcd34d;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

.info-content strong {
    color: #d97706;
    font-weight: 700;
}

.pricing-notes {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.pricing-notes h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}

.pricing-notes h4 svg {
    width: 24px;
    height: 24px;
    stroke: #667eea;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-notes li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

.pricing-notes li:last-child {
    margin-bottom: 0;
}

.pricing-notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #667eea;
}

.pricing-notes li strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* Pricing Responsive */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 4rem 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .price {
        font-size: 2.75rem;
    }
    
    .pricing-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
}

/* Form Button Loading State */
#submitBtn {
    position: relative;
    min-width: 200px;
}

#submitBtn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

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