/* ==================== ElmiViseAI — Global Styles ==================== */

:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-darker: #155e75;
    --primary-light: #cffafe;
    --primary-50: #ecfeff;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --success: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* ==================== Dark Mode ==================== */
[data-theme="dark"] {
    --gray-50: #1a1f2e;
    --gray-100: #1f2537;
    --gray-200: #2a3146;
    --gray-300: #3b4459;
    --gray-400: #8892a4;
    --gray-500: #9ca3af;
    --gray-600: #c9cdd5;
    --gray-700: #d1d5db;
    --gray-800: #e5e7eb;
    --gray-900: #f3f4f6;
    --white: #111827;
    --primary-50: #0c2d3a;
    --primary-light: #164e63;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4), 0 6px 10px rgba(0,0,0,0.3);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.5);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
}

[data-theme="dark"] .navbar.scrolled .nav-brand {
    color: var(--gray-900);
}

[data-theme="dark"] .navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

[data-theme="dark"] .feature-icon.teal { background: #0c2d3a; }
[data-theme="dark"] .feature-icon.orange { background: #2a1a0a; }
[data-theme="dark"] .feature-icon.green { background: #0a2a1a; }
[data-theme="dark"] .feature-icon.purple { background: #1a0f2e; }
[data-theme="dark"] .feature-icon.blue { background: #0a1a2e; }
[data-theme="dark"] .feature-icon.pink { background: #2a0f1e; }

[data-theme="dark"] .testimonial-stars { color: #fbbf24; }

[data-theme="dark"] .footer {
    background: #0a0f1a;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .pricing-card {
    border-color: var(--gray-200);
}

[data-theme="dark"] .pricing-card.popular {
    border-color: var(--primary);
}

[data-theme="dark"] .pricing-features li {
    border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .contact-form {
    border-color: var(--gray-200);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-800);
}

[data-theme="dark"] .nav-links a {
    color: rgba(255,255,255,0.85);
}

[data-theme="dark"] .navbar.scrolled .nav-links a {
    color: var(--gray-500);
}

[data-theme="dark"] .navbar.scrolled .nav-links a:hover,
[data-theme="dark"] .navbar.scrolled .nav-links a.active {
    color: var(--primary);
}

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    padding: 0;
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    border-color: var(--primary);
    background: rgba(8, 145, 178, 0.1);
}

.navbar.scrolled .theme-toggle {
    color: var(--gray-700);
    border-color: var(--gray-300);
}

[data-theme="dark"] .navbar.scrolled .theme-toggle {
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

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

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul { list-style: none; }

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

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--gray-600);
    line-height: 1.7;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* ==================== Layout ==================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.section-header .badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
}

.bg-light { background: var(--gray-50); }
.bg-dark {
    background: var(--gray-900);
    color: var(--white);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: var(--gray-400); }
.bg-gradient {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-darker) 100%);
    color: var(--white);
}
.bg-gradient h1, .bg-gradient h2, .bg-gradient h3 { color: var(--white); }
.bg-gradient p { color: rgba(255,255,255,0.8); }

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 0.65rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
}

.navbar.scrolled .nav-brand {
    color: var(--gray-900);
}

.nav-brand .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
}

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

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    padding: 0.5rem 1.25rem !important;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

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

.nav-cta::after { display: none !important; }

.navbar.scrolled .nav-cta {
    color: var(--white) !important;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

/* ==================== Hero ==================== */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-content .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat .number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.hero-mockup {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.mockup-dot:nth-child(1) { background: #ff6b6b; }
.mockup-dot:nth-child(2) { background: #ffd93d; }
.mockup-dot:nth-child(3) { background: #6bcb77; }

.mockup-chat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mockup-msg {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 85%;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.mockup-msg.bot {
    background: rgba(8, 145, 178, 0.3);
    color: var(--primary-light);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.mockup-msg.user {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.mockup-msg:nth-child(1) { animation-delay: 0.3s; }
.mockup-msg:nth-child(2) { animation-delay: 0.8s; }
.mockup-msg:nth-child(3) { animation-delay: 1.3s; }
.mockup-msg:nth-child(4) { animation-delay: 1.8s; }
.mockup-msg:nth-child(5) { animation-delay: 2.3s; }

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

/* Floating accents */
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8,145,178,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    pointer-events: none;
}

/* ==================== Feature Cards ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-icon.teal { background: var(--primary-50); }
.feature-icon.orange { background: #fff7ed; }
.feature-icon.green { background: #ecfdf5; }
.feature-icon.purple { background: #f5f3ff; }
.feature-icon.blue { background: #eff6ff; }
.feature-icon.pink { background: #fdf2f8; }

.feature-card h4 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
}

/* ==================== How It Works ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.step-card {
    text-align: center;
    position: relative;
}

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

.step-card h4 {
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
}

/* ==================== Showcase / Product ==================== */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-grid.reverse {
    direction: rtl;
}

.showcase-grid.reverse > * {
    direction: ltr;
}

.showcase-image {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--primary-50) 100%);
    border-radius: 16px;
    padding: 2rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.showcase-image::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(8,145,178,0.08) 0%, transparent 70%);
    top: -40px;
    right: -40px;
    pointer-events: none;
}

.showcase-image::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
    bottom: -30px;
    left: -30px;
    pointer-events: none;
}

.showcase-image .placeholder-graphic {
    text-align: center;
    color: var(--gray-500);
    position: relative;
    z-index: 1;
}

.showcase-image .placeholder-graphic svg {
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.showcase-image .placeholder-graphic p {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.showcase-content h3 {
    margin-bottom: 0.75rem;
}

.showcase-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.check-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ==================== Testimonials ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-info .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.testimonial-info .role {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ==================== Pricing ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular .popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 1rem 0;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-card .price-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    display: flex;
    gap: 0.65rem;
    align-items: center;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li .check {
    color: var(--primary);
    font-weight: 700;
}

.pricing-card .btn { width: 100%; }

/* ==================== CTA Section ==================== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== Contact Form ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin-bottom: 0.15rem;
    font-size: 0.95rem;
}

.contact-info-text p {
    font-size: 0.9rem;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ==================== About / Team ==================== */
.about-hero {
    padding: 9rem 0 4rem;
    text-align: center;
}

.about-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto;
}

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

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
}

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

.team-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.team-card h4 {
    margin-bottom: 0.15rem;
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-card p {
    font-size: 0.85rem;
}

/* ==================== Services Page ==================== */
.services-hero {
    padding: 9rem 0 4rem;
    text-align: center;
}

.services-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-visual {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    border: 1px solid var(--gray-200);
}

.service-visual .visual-icon {
    font-size: 5rem;
    opacity: 0.8;
}

.service-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.service-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

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

/* ==================== Page Headers ==================== */
.page-hero {
    padding: 9rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto;
}

/* ==================== FAQ / Accordion ==================== */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-toggle {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--gray-400);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* ==================== Animations ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .hero-grid,
    .showcase-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .showcase-grid.reverse,
    .service-detail.reverse {
        direction: ltr;
    }

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

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

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }

    .hero { padding: 8rem 0 4rem; }

    .hero-stats {
        gap: 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        padding: 0.75rem 0;
        color: var(--gray-700) !important;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a:last-child { border-bottom: none; }

    .nav-toggle { display: flex; }

    .theme-toggle {
        position: absolute;
        right: 56px;
        top: 50%;
        transform: translateY(-50%);
    }

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

    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .form-row { grid-template-columns: 1fr; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

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