/* ===================================
   HELIUM AI WEBSITE STYLES
   Modern, Minimalist Design with Brand Colors
   =================================== */

/* CSS Variables - Helium Brand Colors */
:root {
    /* Brand Colors */
    --helium-red: #eb4334;
    --helium-gray: #7c7c7c;
    --helium-black: #040404;
    
    /* Extended Palette */
    --helium-red-light: #ff6b5a;
    --helium-red-dark: #c92a1a;
    --helium-gray-light: #a8a8a8;
    --helium-gray-dark: #505050;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(4, 4, 4, 0.1);
    --shadow-md: 0 4px 6px rgba(4, 4, 4, 0.1);
    --shadow-lg: 0 10px 25px rgba(4, 4, 4, 0.15);
    --shadow-xl: 0 20px 40px rgba(4, 4, 4, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--helium-black);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

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

p {
    margin-bottom: var(--spacing-md);
    color: var(--helium-gray);
    font-size: 1.125rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--helium-black);
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--helium-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--helium-gray);
    transition: color var(--transition-base);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--helium-red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(235, 67, 52, 0.3);
}

.btn-primary:hover {
    background: var(--helium-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 67, 52, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--helium-black);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--helium-red);
    color: var(--helium-red);
}

.btn-large {
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: var(--spacing-3xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--off-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--helium-gray);
    margin-bottom: var(--spacing-lg);
}

.hero-badge i {
    width: 16px;
    height: 16px;
    color: var(--helium-red);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--helium-red) 0%, var(--helium-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--helium-gray);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--helium-red);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--helium-gray);
    font-weight: 500;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.4;
}

.grid-overlay {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Section Styles */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--off-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--helium-gray);
    margin-bottom: var(--spacing-md);
}

.section-badge i {
    width: 16px;
    height: 16px;
    color: var(--helium-red);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.25rem;
    color: var(--helium-gray);
}

/* Mantis Section */
.mantis-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.mantis-hero-image {
    position: relative;
    margin: var(--spacing-3xl) 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mantis-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(235, 67, 52, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.mantis-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--helium-red);
}

.feature-card.featured {
    background: linear-gradient(135deg, var(--helium-red) 0%, var(--helium-red-dark) 100%);
    color: var(--white);
    border: none;
}

.feature-card.featured h3,
.feature-card.featured p,
.feature-card.featured li {
    color: var(--white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon i {
    width: 28px;
    height: 28px;
    color: var(--helium-red);
}

.feature-card.featured .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    margin-bottom: var(--spacing-md);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--helium-gray);
}

.feature-list i {
    width: 18px;
    height: 18px;
    color: var(--helium-red);
    flex-shrink: 0;
}

.feature-card.featured .feature-list i {
    color: var(--white);
}

/* Workflow Steps */
.mantis-workflow {
    background: var(--white);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-3xl);
    border: 1px solid var(--border-color);
}

.workflow-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-3xl);
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--helium-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--off-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.step-icon i {
    width: 32px;
    height: 32px;
    color: var(--helium-red);
}

.workflow-step h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.workflow-step p {
    font-size: 0.95rem;
    color: var(--helium-gray);
}

.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--helium-gray-light);
}

.workflow-arrow i {
    width: 24px;
    height: 24px;
}

/* Mantis CTA */
.mantis-cta {
    background: linear-gradient(135deg, var(--helium-black) 0%, var(--helium-gray-dark) 100%);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--white);
}

.mantis-cta h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.mantis-cta p {
    font-size: 1.25rem;
    color: var(--helium-gray-light);
    margin-bottom: var(--spacing-xl);
}

/* Capabilities Section */
.capabilities-section {
    background: var(--white);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.capability-card {
    background: var(--off-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.capability-card:hover {
    background: var(--white);
    border-color: var(--helium-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.capability-icon i {
    width: 28px;
    height: 28px;
    color: var(--helium-red);
}

.capability-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.capability-card p {
    font-size: 1rem;
    color: var(--helium-gray);
}

/* Features Section */
.features-section {
    background: var(--off-white);
}

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

.features-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.features-text > p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

.feature-list-detailed {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
}

.feature-item-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item-icon i {
    width: 24px;
    height: 24px;
    color: var(--helium-red);
}

.feature-item-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.feature-item-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

.features-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.visual-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

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

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--helium-red);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-text {
    font-size: 1.125rem;
    color: var(--helium-gray);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--helium-red) 0%, var(--helium-red-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.cta-icon i {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--helium-red);
}

.cta-section .btn-primary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

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

/* Footer */
.footer {
    background: var(--helium-black);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand p {
    color: var(--helium-gray-light);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--helium-red);
    transform: translateY(-2px);
}

.footer-social i {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column a {
    color: var(--helium-gray-light);
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: var(--helium-gray-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .mantis-features,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .hero-background,
    .cta-section,
    .footer-social {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    @page {
        margin: 0.5in;
    }
}