/* CSS - primarie.ai - Tema Postmark Premium (Estetică Caldă, Editorială și Ultra-Profesională) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary: #ea580c; /* Portocaliu-ars cald (Postmark style) */
    --primary-dark: #c2410c; /* Portocaliu închis */
    --primary-light: #fff7ed; /* Fundal portocaliu-șters / crem cald */
    --secondary: #111111; /* Negru editorial de înaltă clasă */
    --secondary-dark: #000000;
    --secondary-light: #f4f4f5;
    --text-dark: #111111; /* Grafit închis cald */
    --text-main: #2d3748; /* Text principal extrem de lizibil */
    --text-muted: #64748b; /* Gri neutru cald */
    --bg-light: #fbfaf7; /* Fundal cald de pergament fin / crem-alb */
    --bg-white: #ffffff;
    --bg-card: #ffffff; /* Carduri albe imaculate pentru contrast fin */
    --border-color: #e8e4db; /* Margini fine calde */
    --border-color-focus: #cbd5e1;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.02), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
    --shadow-premium: 0 16px 32px -4px rgba(30, 32, 34, 0.04), 0 4px 12px -2px rgba(30, 32, 34, 0.02);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 6px; /* Colțuri fine, curate, tipice stilului Postmark */
    --radius-lg: 10px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .logo, .section-title {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-dark);
    font-weight: 700;
}

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

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Container responsive */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigatie */
header {
    background-color: rgba(251, 250, 247, 0.95); /* Cromatică unitară cu fundalul general */
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    fill: none;
}

.logo span {
    color: var(--primary);
    font-weight: 800;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

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

.nav-links a.active {
    color: var(--primary);
    font-weight: 700;
}

/* Stil Buton Elegant, cu UX premium și margini fine */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    font-weight: 700;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 0.85rem;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--secondary); /* Negru editorial */
    color: var(--bg-white) !important;
    border-color: var(--secondary);
}

.btn-primary:hover {
    background-color: var(--primary); /* Devine portocaliu-ars cald */
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}

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

.btn-outline:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

/* Buton specific Navbar */
.btn-navbar {
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
}

/* Mobile Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Badge stilizat */
.badge {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(234, 88, 12, 0.1);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Sectiuni */
.hero {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border-color);
}

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

.hero-content h1 {
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stats */
.stats {
    background-color: var(--bg-white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.stat-item h3 {
    font-family: 'Lora', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Features */
.features {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-title-wrapper {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(234, 88, 12, 0.05);
}

.feature-icon-wrapper svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
}

.feature-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.52;
}

/* Section Multi-Agent Architecture Explanation */
.process-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.process-explain-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    margin-top: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
}

.process-step {
    position: relative;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.process-step-num {
    position: absolute;
    top: -12px;
    left: 15px;
    width: 28px;
    height: 28px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.process-step h4 {
    margin-top: 0.5rem;
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Interactive Demo / Chat Simulator in Homepage */
.demo-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.demo-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
}

.demo-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-info h2 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.demo-info p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

/* Chat Block - embedded */
.demo-chat-box {
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 450px;
    background-color: var(--bg-white);
}

.chat-header {
    background-color: var(--secondary); /* Negru */
    color: var(--bg-white);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 18px;
    height: 18px;
    stroke: var(--bg-white);
    fill: none;
    stroke-width: 2;
}

.chat-status-text h4 {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bg-white);
}

.chat-status-text p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-status-indicator {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: var(--radius-full);
    display: inline-block;
}

.chat-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #fcfbf9;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
    background-color: #e8e4db;
    border-radius: 2px;
}

.msg {
    max-width: 85%;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    line-height: 1.45;
}

.msg-bot {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-top-left-radius: 2px;
    align-self: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.msg-user {
    background-color: var(--primary);
    color: var(--bg-white);
    border-top-right-radius: 2px;
    align-self: flex-end;
}

.chat-options {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.chat-opt-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.chat-opt-btn:hover:not(:disabled) {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.chat-opt-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-input-area {
    display: flex;
    padding: 0.5rem 1rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    gap: 0.5rem;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    outline: none;
    transition: var(--transition);
    background-color: var(--bg-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.chat-input-area input:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
}

.chat-submit-btn {
    background-color: var(--primary);
    color: var(--bg-white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-submit-btn:hover {
    background-color: var(--primary-dark);
}

/* Page Hero global */
.agents-hero {
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

/* Team Grid / Agents Grid layout */
.teams-title-block {
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.25rem;
}

.teams-title-block h2 {
    font-size: 1.55rem;
    font-weight: 700;
}

.teams-title-block p {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 0.25rem;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1.5rem 0;
}

/* CARD DE PREZENTARE AGENT - PREMIUM, ULTRA-PROFI, ANIMAȚII DISCRETE */
.agent-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.agent-card:hover {
    transform: translateY(-4px); /* Glisare fină în sus */
    border-color: var(--primary); /* Schimbare fină a bordurii la hover */
    box-shadow: var(--shadow-premium); /* Umbră fină caldă, extrem de profesională */
}

.agent-card-header {
    padding: 1.25rem 1.5rem;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.agent-card:hover .agent-card-header {
    background-color: var(--primary-light); /* Fundal cald de accent la hover */
}

.agent-big-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.agent-card:hover .agent-big-avatar {
    transform: scale(1.06); /* Zoom extrem de discret și premium la hover */
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.1);
}

.agent-big-avatar svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary-dark);
    fill: none;
    stroke-width: 1.75;
}

.agent-header-info h3 {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.agent-role-badge {
    background-color: var(--secondary); /* Negru/Grafit */
    color: var(--bg-white);
    font-size: 0.65rem;
    padding: 0.18rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-block;
    margin-top: 0.15rem;
    letter-spacing: 0.03em;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
}

.agent-card:hover .agent-role-badge {
    background-color: var(--primary-dark); /* Trece în portocaliu-ars cald */
}

.agent-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.agent-desc {
    color: var(--text-main);
    font-size: 0.88rem;
    line-height: 1.55;
}

.agent-capabilities {
    list-style: none;
}

.agent-capabilities li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.45;
}

.agent-capabilities li svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
}

.agent-card:hover .agent-capabilities li svg {
    transform: scale(1.15); /* Pulsare fină a iconițelor check la hover */
}

.agent-card-footer {
    padding: 1.1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: #faf9f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    transition: var(--transition);
}

.agent-card:hover .agent-card-footer {
    background-color: #fffaf0; /* Cromatică caldă la hover pe footer */
}

.agent-channels {
    display: flex;
    gap: 0.4rem;
}

.channel-tag {
    font-size: 0.68rem;
    background-color: var(--bg-white);
    color: var(--text-muted);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Tag-urile de performanță KPI */
.tag-kpi {
    background-color: var(--primary-light) !important;
    color: var(--primary-dark) !important;
    border: 1px solid rgba(234, 88, 12, 0.15) !important;
}

.tag-kpi-secondary {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid rgba(22, 101, 52, 0.15) !important;
}

/* Contact Page Layout */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}

.contact-info-panel-full {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
}

.contact-info-panel-full h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info-panel-full p.lead-text {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.contact-channels-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-box-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.contact-box-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-box-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-box-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
}

.contact-box-card h4 {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-box-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.contact-box-card .contact-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.company-details-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.company-details-footer h5 {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.company-details-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ on Contact Page */
.faq-section {
    padding: 4.5rem 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.faq-search-wrapper {
    max-width: 520px;
    margin: -1rem auto 2.5rem;
    position: relative;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-full);
}

.faq-search-wrapper input {
    width: 100%;
    padding: 0.75rem 1.25rem 0.75rem 2.5rem;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    outline: none;
    transition: var(--transition);
    background-color: var(--bg-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.faq-search-wrapper input:focus {
    border-color: var(--primary);
}

.faq-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.faq-search-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.faq-question {
    padding: 1.1rem 1.25rem;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2.5;
    transition: var(--transition);
}

.faq-item.active {
    background-color: var(--bg-white);
    border-color: rgba(234, 88, 12, 0.2);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    stroke: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.25rem;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 1.25rem 1.1rem;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* Float Chat Button Widget */
.float-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.float-chat-btn {
    width: 52px;
    height: 52px;
    background-color: var(--secondary); /* Negru premium */
    color: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: none;
}

.float-chat-btn:hover {
    transform: scale(1.05);
    background-color: var(--primary);
}

.float-chat-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.float-chat-btn .close-icon {
    display: none;
}

.float-chat-btn.active .open-icon {
    display: none;
}

.float-chat-btn.active .close-icon {
    display: block;
}

.float-chat-window {
    width: 340px;
    height: 480px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    margin-bottom: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideInUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.float-chat-window.active {
    display: flex;
}

/* Pricing/Pay-per-Task Section */
.pricing-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.pricing-card-highlight {
    background-color: var(--primary-light);
    border: 1px solid rgba(234, 88, 12, 0.25);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 800px;
    margin: 2rem auto 0;
    box-shadow: var(--shadow-premium);
}

.pricing-header-info {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.pricing-rate-box {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.15);
}

.pricing-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    list-style: none;
    margin-top: 1.5rem;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-main);
}

.pricing-features-list li svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Section */
footer {
    background-color: #111111; /* Grafit profund tip Postmark footer */
    color: #94a3b8;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand h3 {
    font-family: 'Lora', serif;
    color: var(--bg-white);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.52;
    margin-bottom: 1rem;
}

.footer-links-col h4 {
    font-family: 'Lora', serif;
    color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
}

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

.footer-links-col a {
    font-size: 0.8rem;
    color: #94a3b8;
}

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

.footer-bottom {
    border-top: 1px solid #222222;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
}

.footer-bottom a {
    color: #64748b;
}

.footer-bottom a:hover {
    color: #cbd5e1;
}

/* RESPONSIVENESS COMPLETĂ LA MOBIL (DESIGN ULTRA ERGONOMIC) */
@media (max-width: 1024px) {
    .hero-grid, .demo-container, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-chat-box {
        border-left: none;
        border-top: 1px solid var(--border-color);
        height: 400px;
    }
    
    .features-grid, .agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .pricing-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        gap: 1rem;
        align-items: stretch;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        text-align: center;
    }
    
    .nav-links .btn {
        width: 100%;
        padding: 0.85rem;
    }
    
    /* Reduceri padding pe mobil - UX Compact Mode */
    .hero, .features, .process-section, .demo-section, .pricing-section, .faq-section, .contact-section, .agents-hero {
        padding: 2.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .features-grid, .agents-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.85rem;
    }
    
    .demo-info, .contact-info-panel-full {
        padding: 1.5rem 1rem;
    }
    
    .contact-channels-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Float widget devine full screen pe mobil pentru o experiență perfectă */
    .float-chat-window {
        width: calc(100vw - 24px);
        height: calc(100vh - 90px);
        bottom: 70px;
        right: 12px;
    }
    
    .float-chat-widget {
        bottom: 12px;
        right: 12px;
    }
    
    .badge {
        margin-bottom: 0.5rem;
    }
    
    .pricing-card-highlight {
        padding: 1.5rem 1rem;
    }
}

/* --- HERO WIDE 21:9 & CTA ADDITIONS (BY STOC STUDIO) --- */

.hero-wide {
    position: relative;
    width: 100%;
    min-height: 560px;
    aspect-ratio: 21 / 9;
    background-image: url('/images/gemini_gen_1780143520950.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 1440px) {
    .hero-wide {
        min-height: 600px;
    }
}

.hero-wide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(15, 23, 42, 0.82) 0%, 
        rgba(20, 25, 35, 0.75) 60%, 
        rgba(15, 23, 42, 0.9) 100%
    );
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-wide-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-wide-content {
    max-width: 850px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.badge-hero {
    background-color: rgba(234, 88, 12, 0.2);
    color: #ffedd5;
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(234, 88, 12, 0.3);
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-wide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-family: 'Lora', Georgia, serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-wide-content h1 span {
    color: var(--primary); /* Portocaliu-ars cald */
}

.hero-wide-content p {
    font-size: 1.1rem;
    color: #f1f5f9;
    margin-bottom: 2.25rem;
    max-width: 720px;
    line-height: 1.65;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Mailto CTA Button pe Hero (Fără textinput) */
.btn-hero-cta-mailto {
    background-color: var(--primary);
    color: #ffffff !important;
    border: 1px solid var(--primary);
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-shadow: none;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-hero-cta-mailto:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.45);
}

.hero-cta-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta-subtext {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
}

.hero-secondary-btns {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.link-secondary-hero {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
}

.link-secondary-hero:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.dot-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Modal Succes CTA Hero */
.cta-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.25s ease;
}

.cta-modal-overlay.active {
    display: flex;
}

.cta-modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    text-align: center;
    position: relative;
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
}

.cta-modal-close:hover {
    color: var(--text-dark);
}

.cta-modal-icon {
    width: 64px;
    height: 64px;
    background-color: #f0fdf4;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid #bbf7d0;
}

.cta-modal-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.cta-modal-card p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Adaptabilitate pentru ecrane medii și mobile */
@media (max-width: 1024px) {
    .hero-wide {
        aspect-ratio: auto;
        min-height: 520px;
    }
    .hero-wide-content h1 {
        font-size: 2.85rem;
    }
}

@media (max-width: 768px) {
    .hero-wide {
        padding: 4rem 0;
        min-height: 480px;
    }
    .hero-wide-content h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .hero-wide-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .btn-hero-cta-mailto {
        width: 100%;
        border-radius: var(--radius);
        padding: 0.95rem;
        font-size: 0.95rem;
        justify-content: center;
    }
    .hero-secondary-btns {
        flex-direction: column;
        gap: 0.5rem;
    }
    .dot-separator {
        display: none;
    }
}
