/* =====================================================
   Innophore AI Platform - Modern CSS Styles
   ===================================================== */

/* =====================================================
   Dark Theme (Default)
   ===================================================== */
:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;

    /* Accent Colors */
    --accent: #06b6d4;
    --accent-dark: #0891b2;

    /* Theme-specific Colors (Dark Mode) */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #111827;
    --bg-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --bg-card-solid: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --border-color: rgba(255,255,255,0.08);
    --border-hover: rgba(99, 102, 241, 0.3);
    --navbar-bg: rgba(15, 23, 42, 0.8);
    --navbar-scrolled: rgba(15, 23, 42, 0.95);

    /* Neutral Colors */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: 100px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* =====================================================
   Light Theme
   ===================================================== */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
    --bg-card-solid: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-subtle: #64748b;
    --border-color: rgba(0,0,0,0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    --navbar-bg: rgba(255, 255, 255, 0.8);
    --navbar-scrolled: rgba(255, 255, 255, 0.95);

    --dark: #ffffff;
    --dark-light: #f8fafc;
    --gray-900: #f1f5f9;
    --gray-800: #e2e8f0;
    --gray-700: #cbd5e1;
    --gray-600: #94a3b8;
    --gray-500: #64748b;
    --gray-400: #475569;
    --gray-300: #334155;
    --gray-200: #1e293b;
    --gray-100: #0f172a;
    --white: #0f172a;

    --gradient-card: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

/* =====================================================
   Base Styles
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Override Bootstrap text-muted for better contrast */
.text-muted {
    color: var(--text-muted) !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =====================================================
   Navigation
   ===================================================== */

.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--navbar-scrolled);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

/* Logo switching for dark/light mode */
.navbar-logo-light {
    display: none;
}
.navbar-logo-dark {
    display: block;
}

[data-theme="light"] .navbar-logo-light {
    display: block;
}
[data-theme="light"] .navbar-logo-dark {
    display: none;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: var(--gray-400) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.05);
}

.nav-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navigation Login Button */
.nav-login-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-login-btn.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.nav-login-btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.nav-login-btn.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

@media (max-width: 991.98px) {
    .nav-login-btn {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }
}

/* =====================================================
   Hero Section
   ===================================================== */

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-slogan {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.slogan-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slogan-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    filter: blur(100px);
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.hero-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.molecule-animation {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 6s ease-in-out infinite;
}

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

/* =====================================================
   Buttons
   ===================================================== */

.btn {
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
}

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

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

/* =====================================================
   Sections
   ===================================================== */

.section {
    padding: var(--section-padding) 0;
}

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

.section-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

/* =====================================================
   Cards
   ===================================================== */

.card-modern {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
}

.card-modern:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray-400);
}

/* =====================================================
   Service Page - Project Configurator
   ===================================================== */

.configurator-section {
    padding-top: 120px;
}

.config-panel {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.config-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.config-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.config-subtitle {
    color: var(--gray-500);
}

/* Sliders */
.slider-group {
    margin-bottom: 2rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.slider-label {
    font-weight: 500;
    color: var(--gray-300);
}

.slider-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary-light);
    font-weight: 600;
}

.form-range {
    width: 100%;
    height: 8px;
    background: var(--gray-700);
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
}

.form-range::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.form-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-glow);
}

/* Agent Selection */
.agents-section {
    margin-top: 3rem;
}

.agents-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agents-title i {
    color: var(--primary-light);
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.agent-card {
    background: rgba(255,255,255,0.02);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.agent-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
}

.agent-card.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.agent-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white);
}

.agent-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.agent-description {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.agent-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.capability-tag {
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.agent-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 600;
}

.agent-price span {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Team Agents */
.team-agent-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.team-avatar {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.team-info {
    flex: 1;
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.expertise-tag {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--accent);
}

/* Cost Summary */
.cost-summary {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.cost-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cost-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.cost-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.cost-breakdown {
    margin-bottom: 2rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    color: var(--gray-400);
}

.cost-value {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
}

.cost-total {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cost-total-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.cost-total-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.budget-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.budget-indicator.within-budget {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.budget-indicator.over-budget {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* =====================================================
   About Page
   ===================================================== */

.page-hero {
    padding: 160px 0 80px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.team-section {
    padding: 80px 0;
}

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

.team-member-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
}

.team-member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
}

.team-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-member-avatar .avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 3rem;
}

.team-member-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.team-member-description {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.team-member-expertise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

/* =====================================================
   Technology Page
   ===================================================== */

.tech-feature {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
}

.tech-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.tech-feature-content {
    flex: 1;
}

.tech-feature-visual {
    flex: 1;
}

.tech-visual-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.tech-visual-icon {
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   Contact Page
   ===================================================== */

.contact-form {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-300);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-control::placeholder {
    color: var(--gray-600);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* =====================================================
   Footer
   ===================================================== */

.footer {
    background: var(--gray-900);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-500);
    font-size: 0.9rem;
    max-width: 300px;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
}

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

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

.location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.location i {
    color: var(--primary-light);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
        text-align: center;
    }

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

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

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

    .hero-visual {
        margin-top: 3rem;
    }

    .tech-feature,
    .tech-feature:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

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

    .stat-item {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

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

    .team-agent-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

/* =====================================================
   Animations
   ===================================================== */

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Partners/Clients Section */
.partners-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.partners-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

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

.partner-logo {
    color: var(--gray-600);
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

[data-theme="light"] .partner-logo-img {
    filter: grayscale(100%);
    opacity: 0.7;
}

[data-theme="light"] .partner-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--primary-light);
    font-size: 1.1rem;
}

/* Tech Image Card */
.tech-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tech-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.tech-image-card:hover .tech-image {
    transform: scale(1.05);
}

/* Advisor Cards */
.advisor-card {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.advisor-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
}

.advisor-avatar {
    width: 80px !important;
    height: 80px !important;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.advisor-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

[data-theme="light"] .advisor-card {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .advisor-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
}

/* =====================================================
   Theme Toggle
   ===================================================== */

.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    color: #ffffff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.15);
    color: #0f172a;
}

.theme-toggle:hover {
    background: var(--border-color);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.theme-toggle i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(15deg);
}

/* Light theme specific adjustments */
[data-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="light"] .card-modern,
[data-theme="light"] .config-panel,
[data-theme="light"] .cost-summary,
[data-theme="light"] .agent-card,
[data-theme="light"] .team-member-card,
[data-theme="light"] .contact-form {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .hero::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

[data-theme="light"] .page-hero::before {
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
}

[data-theme="light"] .footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

[data-theme="light"] .section-badge {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .hero-badge {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .form-range {
    background: var(--bg-tertiary);
}

[data-theme="light"] .cost-total {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .expertise-tag {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

[data-theme="light"] .capability-tag {
    background: var(--bg-tertiary);
}

[data-theme="light"] .partners-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid var(--border-color);
}

[data-theme="light"] .footer-social a {
    background: var(--bg-secondary);
}

[data-theme="light"] .agent-card:hover {
    border-color: var(--border-hover);
    background: rgba(99, 102, 241, 0.03);
}

[data-theme="light"] .agent-card.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

/* =====================================================
   Live Counter Section
   ===================================================== */
.live-counter-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.live-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.counter-header {
    text-align: center;
    margin-bottom: 40px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

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

.counter-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.counter-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

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

@media (max-width: 576px) {
    .counter-grid {
        grid-template-columns: 1fr;
    }
}

.counter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.counter-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.counter-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.counter-footer {
    text-align: center;
    margin-top: 30px;
}

.update-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-subtle);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
}

.update-indicator i {
    font-size: 0.75rem;
}

.update-indicator.live {
    color: #22c55e;
}

.update-indicator.live i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Light theme overrides for counter section */
[data-theme="light"] .live-counter-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
}

[data-theme="light"] .counter-card {
    background: white;
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .counter-card:hover {
    box-shadow: var(--shadow-md);
}

/* =====================================================
   Offer Download Modal
   ===================================================== */
.offer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.offer-modal {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.offer-modal-overlay.active .offer-modal {
    transform: scale(1);
}

.offer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.offer-modal-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.offer-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.offer-modal-close:hover {
    color: var(--text-primary);
}

.offer-modal-body {
    padding: 1.5rem;
}

.offer-modal-body .form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.offer-modal-body .form-control {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-modal-body .form-control::placeholder {
    color: var(--text-subtle);
}

.offer-modal-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

.offer-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    border-radius: 0 0 16px 16px;
}

.offer-modal-footer .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Download section styling */
.offer-download-section {
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

/* Light theme modal overrides */
[data-theme="light"] .offer-modal {
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .offer-modal-body .form-control {
    background: var(--gray-100);
}

[data-theme="light"] .offer-modal-footer {
    background: var(--gray-100);
}

/* =====================================================
   Pricing Mode Toggle
   ===================================================== */
.pricing-mode-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.toggle-container {
    display: inline-flex;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 6px;
    gap: 4px;
}

.toggle-btn {
    padding: 12px 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    border-radius: calc(var(--radius-xl) - 4px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.toggle-btn:hover {
    color: var(--text-primary);
}

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

/* =====================================================
   Flat Rate Packages
   ===================================================== */
.flatrate-packages {
    display: grid;
    gap: 1.5rem;
}

.flatrate-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flatrate-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.flatrate-card.selected {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.flatrate-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flatrate-badge.enterprise {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.flatrate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.flatrate-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.flatrate-price {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flatrate-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.flatrate-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.flatrate-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.flatrate-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.flatrate-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
}

.flatrate-card.selected .flatrate-select {
    background: var(--primary);
    color: white;
}

.flatrate-card:not(.selected):hover .flatrate-select {
    background: var(--primary-dark);
    color: white;
}

/* Light theme adjustments */
[data-theme="light"] .flatrate-card {
    background: white;
}

[data-theme="light"] .flatrate-card.selected {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
}

[data-theme="light"] .toggle-container {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
