/* ==========================================================================
   Gentle Solutions - Modern CSS Design System & Theme Styles
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-main: #090d16;
    --bg-surface: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inverse: #090d16;
    
    --primary-indigo: #6366f1;
    --primary-purple: #a855f7;
    --primary-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(9, 13, 22, 0) 70%);
    --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

/* Light Mode Overrides */
.theme-light {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(99, 102, 241, 0.5);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    --glass-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.1);
}

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

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

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

button, input, select, textarea {
    font: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: var(--border-hover);
}

/* Buttons */
.btn {
    display: inline-flex;
    items-center: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    outline: none;
}

.btn-gradient {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.5);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -4px rgba(168, 85, 247, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-indigo);
    background: rgba(99, 102, 241, 0.08);
}

.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    border-color: var(--primary-indigo);
    color: var(--primary-indigo);
}

/* Header & Navigation */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 13, 22, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.theme-light .navbar-fixed {
    background: rgba(248, 250, 252, 0.8);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--gradient-brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-indigo);
    display: block;
    letter-spacing: 2px;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-indigo);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sun-icon { display: none; }
.theme-light .sun-icon { display: block; }
.theme-light .moon-icon { display: none; }

/* Mobile Navigation Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 1000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.open {
    right: 0;
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--primary-indigo);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.trust-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

.trust-logos {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Hero Visual & Card */
.visual-card {
    padding: 1.5rem;
}

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

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: var(--accent-rose); }
.dot.yellow { background: var(--accent-amber); }
.dot.green { background: var(--accent-emerald); }

.window-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.metric-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.metric-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.metric-icon.blue { background: rgba(99, 102, 241, 0.15); color: var(--primary-indigo); }
.metric-icon.purple { background: rgba(168, 85, 247, 0.15); color: var(--primary-purple); }
.metric-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.metric-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }

.metric-val {
    font-size: 1.25rem;
    font-weight: 800;
    display: inline-block;
}

.metric-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    font-weight: 600;
}

/* Code Terminal Simulator */
.code-terminal {
    background: #04060a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.7;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.prompt { color: var(--primary-purple); font-weight: bold; }
.cmd { color: #f1f5f9; }
.text-emerald { color: var(--accent-emerald); }
.text-cyan { color: var(--primary-cyan); }
.text-indigo { color: var(--primary-indigo); }

/* Stats Ribbon Section */
.stats-section {
    padding: 3rem 0;
    border-y: 1px solid var(--border-color);
    background: rgba(17, 24, 39, 0.4);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

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

.gap-12 { gap: 3rem; }
.items-center { align-items: center; }

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-indigo);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-emerald);
    shrink: 0;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-card-main {
    padding: 2.5rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(17, 24, 39, 0.8) 100%);
}

.tech-stack-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.tech-badge:hover {
    transform: scale(1.05);
    border-color: var(--primary-indigo);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: rgba(9, 13, 22, 0.5);
}

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper.blue { background: rgba(99, 102, 241, 0.15); color: var(--primary-indigo); }
.service-icon-wrapper.purple { background: rgba(168, 85, 247, 0.15); color: var(--primary-purple); }
.service-icon-wrapper.emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.service-icon-wrapper.amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.service-icon-wrapper.rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }
.service-icon-wrapper.cyan { background: rgba(6, 182, 212, 0.15); color: var(--primary-cyan); }

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-main);
}

.service-features i {
    width: 14px;
    height: 14px;
    color: var(--accent-emerald);
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gradient-brand);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    overflow: hidden;
    padding: 0;
}

.portfolio-image-wrapper {
    position: relative;
    height: 220px;
}

.portfolio-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    z-index: 2;
}

.portfolio-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 3rem;
}

.gradient-1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.gradient-2 { background: linear-gradient(135deg, #059669, #0d9488); }
.gradient-3 { background: linear-gradient(135deg, #2563eb, #0891b2); }
.gradient-4 { background: linear-gradient(135deg, #d97706, #dc2626); }

.portfolio-content {
    padding: 1.75rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: rgba(9, 13, 22, 0.4);
}

.calc-box {
    padding: 3rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    margin-top: 2.5rem;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.radio-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.radio-card input { display: none; }

.radio-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-card input:checked + .radio-content {
    border-color: var(--primary-indigo);
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-indigo);
}

.input-select {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    outline: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.summary-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.summary-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.summary-price {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.summary-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1.5rem;
}

.summary-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meta-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.meta-val {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.25rem;
}

.stars {
    color: var(--accent-amber);
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    font-weight: 800;
    font-size: 1rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
}

.contact-val {
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-form-card {
    padding: 2.5rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary-indigo);
}

/* Footer Section */
.footer-section {
    background: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-btn:hover {
    color: var(--primary-indigo);
    border-color: var(--primary-indigo);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* GentleAI Chatbot Assistant Widget */
.ai-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.ai-chat-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    color: #ffffff;
    border: none;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
    transition: transform 0.2s ease;
}

.ai-chat-toggle:hover {
    transform: scale(1.05);
}

.ai-chat-box {
    position: absolute;
    bottom: 4.5rem;
    right: 0;
    width: 360px;
    height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-box.hidden {
    display: none;
}

.chat-header {
    padding: 1rem 1.25rem;
    background: rgba(17, 24, 39, 0.9);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-messages {
    flex-grow: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.5;
}

.msg-ai {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    align-self: flex-start;
}

.msg-user {
    background: var(--primary-indigo);
    color: #ffffff;
    align-self: flex-end;
}

.chat-input-area {
    padding: 0.85rem 1rem;
    background: rgba(17, 24, 39, 0.9);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chat-input-area input {
    flex-grow: 1;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.85rem;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .hero-container, .grid-2, .calc-grid { grid-template-columns: 1fr; }
    .services-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .nav-links, .sm-hidden { display: none; }
    .mobile-only { display: flex; }
    .hero-title { font-size: 2.75rem; }
}

@media (max-width: 640px) {
    .services-grid, .portfolio-grid, .testimonials-grid, .grid-4, .radio-cards, .checkbox-grid { grid-template-columns: 1fr; }
    .stats-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.25rem; }
    .ai-chat-box { width: 300px; right: -1rem; }
}
