/* ================================
   EXTREMIS - Modern Landing Page
   Clean, Professional Design
   ================================ */

/* Variables */
:root {
    --white: #ffffff;
    --black: #000000;
    
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --gray-950: #09090b;
    
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1d4ed8;
    --accent-bg: #eff6ff;
    
    --success: #22c55e;
    --error: #ef4444;
    
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 200ms ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul { list-style: none; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.text-accent {
    color: var(--accent);
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gray-900);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
}

.btn-large {
    padding: 14px 24px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-weight: 700;
    font-size: 24px;
    color: var(--gray-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-actions {
    display: flex;
    align-items: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu .btn {
    margin-top: 12px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-form {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.hero-input {
    flex: 1;
    max-width: 280px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all var(--transition);
    background: var(--white);
}

.hero-input:focus {
    outline: none;
    border-color: var(--gray-400);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.hero-input::placeholder {
    color: var(--gray-400);
}

.hero-note {
    font-size: 13px;
    color: var(--gray-400);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
}

.card-dots span:first-child { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:last-child { background: #28c840; }

.card-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

.card-body {
    padding: 20px;
}

.search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 14px;
}

.search-input svg {
    flex-shrink: 0;
    color: var(--gray-400);
}

.typing-text {
    flex: 1;
}

.typing-cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent);
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.animate-result {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.animate-result.show {
    opacity: 1;
    transform: translateY(0);
}

.result-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.result-item:hover {
    background: var(--accent-bg);
}

.result-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    color: var(--gray-600);
}

.result-icon.blue {
    background: var(--accent-bg);
    border-color: transparent;
    color: var(--accent);
}

.result-icon.green {
    background: #ecfdf5;
    border-color: transparent;
    color: #059669;
}

.result-icon.purple {
    background: #faf5ff;
    border-color: transparent;
    color: #7c3aed;
}

.result-icon.orange {
    background: #fff7ed;
    border-color: transparent;
    color: #ea580c;
}

.result-icon.pink {
    background: #fdf2f8;
    border-color: transparent;
    color: #ec4899;
}

.result-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.result-text span {
    font-size: 12px;
    color: var(--gray-500);
}

/* Sections */
.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--gray-50);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    color: var(--gray-700);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
}

.step-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.step-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.step-icons img,
.step-icons svg {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

.step-animation {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.step-animation span {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.step-animation span:nth-child(2) { animation-delay: 0.2s; }
.step-animation span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(1); }
    40% { transform: scale(1.4); background: var(--accent); }
}

.step-demo {
    display: inline-block;
    padding: 10px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--gray-600);
    font-style: italic;
}

/* Integrations Grid */
.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.int-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition);
}

.int-chip:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.int-chip img,
.int-chip .int-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.int-chip.more {
    background: var(--gray-100);
    color: var(--gray-500);
}

/* What We Do Grid */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.what-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.what-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.what-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-bg);
    border-radius: var(--radius-md);
    color: var(--accent);
    margin-bottom: 20px;
}

.what-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.what-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Mission Block */
.mission-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 48px;
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    text-align: center;
}

.mission-block h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.mission-block p {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
}

/* CTA Section - Modern Form Design */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.form-hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.form-hero-content {
    padding-right: 20px;
}

.form-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.form-hero-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 20px;
}

.form-hero-content > p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 420px;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 500;
}

.benefit-item svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-height: 80vh;
    overflow-y: auto;
}

/* Step Indicator */
.form-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--gray-200);
    border-radius: 2px;
}

/* Form Step Content */
.form-step-content {
    display: none;
}

.form-step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 2x2 Grid Inputs */
.form-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group label svg {
    color: var(--gray-400);
}

.input-group input,
.input-group select {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: var(--gray-50);
    color: var(--gray-900);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-group input::placeholder {
    color: var(--gray-400);
}

/* Skip link */
.skip-link {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 16px;
}

.skip-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.skip-link a:hover {
    text-decoration: underline;
}

/* Challenges Section */
.challenges-header {
    text-align: center;
    margin-bottom: 24px;
}

.challenges-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.challenges-header p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Challenge Cards */
.challenge-card {
    position: relative;
    background: var(--gray-50);
    border-radius: 12px;
    padding: 16px;
    padding-left: 48px;
    margin-bottom: 12px;
    border: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.challenge-card:hover {
    border-color: var(--gray-200);
    background: white;
}

.challenge-number {
    position: absolute;
    left: 12px;
    top: 16px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.challenge-card label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 8px;
}

.challenge-card textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    resize: none;
    transition: all 0.2s ease;
    background: white;
    color: var(--gray-900);
    min-height: 36px;
}

.challenge-card textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.challenge-card textarea::placeholder {
    color: var(--gray-400);
    font-size: 13px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-actions .btn-secondary {
    flex: 0 0 auto;
    padding: 14px 20px;
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.form-actions .btn-secondary:hover {
    background: var(--gray-200);
}

.form-actions .btn-submit {
    flex: 1;
}

/* Primary Button Override for Form */
.form-card .btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.form-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Form Footer */
.form-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.form-footer .form-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .form-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .form-hero-content {
        padding-right: 0;
    }
    
    .form-benefits {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .form-card {
        padding: 24px;
    }
    
    .form-grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    .form-steps {
        gap: 8px;
    }
    
    .step-label {
        display: none;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .form-benefits {
        flex-direction: column;
        align-items: center;
    }
}

.form-divider {
    margin: 32px 0 24px;
    padding: 20px;
    background: var(--gray-50);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
}

.form-divider h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition);
    background: var(--white);
    resize: vertical;
    color: var(--gray-900);
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--gray-400);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* FAQ Section */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-900);
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    background: var(--white);
    color: var(--gray-600);
    border-top: 2px solid var(--gray-300);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .nav-logo {
    margin-bottom: 20px;
}

.footer-brand .nav-logo .logo-text {
    color: var(--gray-900);
}

.footer-brand p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.footer-newsletter h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    background: var(--white);
    color: var(--gray-900);
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: var(--gray-500);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-btn:hover {
    background: var(--accent-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    padding: 6px 0;
    transition: color var(--transition);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--gray-900);
}

.footer-cta {
    min-width: 200px;
    text-align: right;
}

.footer-cta h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.footer-cta p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.footer-cta .btn {
    display: inline-flex;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom-left p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--gray-700);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 8px;
    color: var(--gray-600);
    transition: all var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 380px;
    width: 100%;
    transform: scale(0.95);
    transition: transform var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    color: var(--success);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.modal-content p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Tablets */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-form {
        justify-content: center;
    }
    
    .hero-visual {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .what-we-do-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 64px;
    }
    
    .mission-block {
        padding: 32px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-stats {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        justify-items: center;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-input {
        max-width: 100%;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        gap: 8px;
    }
    
    .int-chip {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .int-chip img,
    .int-chip .int-icon {
        width: 16px;
        height: 16px;
    }

    .cta-card {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }

    .what-we-do-grid {
        max-width: 100%;
    }
    
    .what-card {
        padding: 24px;
    }
    
    .mission-block {
        padding: 24px 20px;
    }
    
    .mission-block h3 {
        font-size: 18px;
    }
    
    .mission-block p {
        font-size: 15px;
    }

    .stat-item {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 28px;
    }
}

/* Animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
