/* 
   RoboShaman AI - Sandbox Rebuild 
   Design System: High-Performance SaaS (Gamma-inspired Light Mode)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Palette - Light Mode "Gamma" */
    --bg-page: #F9FAFB; /* Very light gray/blue tint */
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.8);

    --text-primary: #111827; /* Near Black */
    --text-secondary: #4B5563; /* Cool Gray */
    --text-muted: #9CA3AF;

    /* Accents */
    --primary: #4F46E5; /* Indigo/Violet */
    --primary-dark: #4338CA;
    --primary-light: #E0E7FF; /* Light background for tags */
    
    --secondary: #10B981; /* Emerald for success/features */
    --accent-gold: #D97706; /* Keeping a hint of gold for "Execution" theme, but flatter */

    /* Borders & Shadows */
    --border-light: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Layout */
    --max-width: 1200px;
    --header-height: 70px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    /* Soft background with gradient and subtle hex pattern */
    background-color: var(--bg-page);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 25%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Floating Pill Style */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px; /* Pill shape */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-page);
    border-color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    text-align: center;
    /* Removed simple radial gradient in favor of body background */
    background: transparent; 
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Bento Grid Services */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.bento-card.large {
    grid-column: 1 / -1; /* Default span 1 on mobile, overridden below */
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F4F6 100%);
}

@media (min-width: 900px) {
    .bento-card.large {
        grid-column: span 2;
    }
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 12px;
    background: var(--bg-page);
    border-radius: 12px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

.card-list {
    list-style: none;
    margin-top: auto;
}

.card-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-list li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: 700;
    margin-right: 10px;
}

/* Feature Cards (The Problem) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Form Section */
.contact-section {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 60px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--bg-page);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-light);
    padding: 60px 0 30px;
    margin-top: 100px;
    background: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Utility - Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        width: 95%;
        padding: 0 20px;
    }

    .nav-links {
        display: none; /* Simple mobile hide for now, or burger menu if requested. Sticking to simple for MVP as per original */
    }
    
    .contact-section {
        padding: 30px;
    }
}
