/* ============================================
   ASISTAI LANDING PAGE - CSS
   Optimizat pentru Laravel
   ============================================ */

/* CSS Variables */
:root {
    --red: #e8281e;
    --red-glow: rgba(232,40,30,0.35);
    --orange: #f97316;
    --bg: #040404;
    --surface: rgba(255,255,255,0.025);
    --border: rgba(255,255,255,0.07);
    --text-muted: #9ca3af;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --section-padding: 100px;
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    min-width: 320px;
}

/* Noise Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.grad { 
    background: linear-gradient(135deg, var(--red), var(--orange)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text;
}

.section-label { 
    font-size: 0.8rem; 
    font-weight: 700; 
    letter-spacing: 0.15em; 
    text-transform: uppercase; 
    color: var(--red); 
    margin-bottom: 1rem; 
    display: inline-block;
}

.section-title { 
    font-family: var(--font-main);
    font-weight: 800; 
    letter-spacing: -0.03em; 
    line-height: 1.1; 
    font-size: clamp(1.75rem, 4vw, 3rem);
}

.section-sub { 
    color: var(--text-muted); 
    line-height: 1.7; 
    font-size: 1.1rem;
}

.divider { 
    border: none; 
    border-top: 1px solid var(--border); 
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Fade Animation */
.fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1); 
}

.fade-in.visible { 
    opacity: 1; 
    transform: none; 
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    border-bottom: 1px solid var(--border);
    background: rgba(4,4,4,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--red-glow);
    flex-shrink: 0;
}

.logo-icon svg { 
    width: 20px; 
    height: 20px; 
    color: #fff; 
}

.logo-name { 
    font-family: var(--font-main);
    font-weight: 800; 
    font-size: 1.25rem; 
    letter-spacing: -0.02em; 
    color: #ffffff; 
    line-height: 1; 
    white-space: nowrap;
}

.logo-name span { 
    color: var(--red); 
}

.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    list-style: none; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 500; 
    transition: color 0.2s; 
    white-space: nowrap;
}

.nav-links a:hover { 
    color: #fff; 
}

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

/* Buttons */
.btn-ghost { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 500; 
    text-decoration: none; 
    transition: color 0.2s; 
    white-space: nowrap;
}

.btn-ghost:hover { 
    color: #fff; 
}

.btn-primary {
    background: var(--red); 
    color: #fff; 
    font-family: var(--font-main);
    font-weight: 700; 
    font-size: 0.85rem; 
    letter-spacing: 0.02em;
    padding: 0.75rem 1.5rem; 
    border-radius: 8px; 
    border: none;
    cursor: pointer; 
    transition: all 0.2s; 
    text-decoration: none;
    box-shadow: 0 0 24px rgba(232,40,30,0.4);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 0 32px rgba(232,40,30,0.6); 
}

.btn-outline {
    background: transparent; 
    border: 1px solid var(--border); 
    color: #aaa;
    font-family: var(--font-main); 
    font-weight: 600; 
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem; 
    border-radius: 8px; 
    cursor: pointer;
    transition: all 0.2s; 
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover { 
    border-color: rgba(255,255,255,0.2); 
    color: #fff; 
}

/* Mobile Menu */
.hamburger {
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    background: transparent;
    border: none; 
    cursor: pointer; 
    padding: 4px; 
    margin-left: 8px; 
    flex-shrink: 0;
}

.hamburger span { 
    display: block; 
    width: 24px; 
    height: 2px; 
    background: #fff; 
    border-radius: 2px; 
    transition: all 0.3s; 
}

.hamburger.open span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg); 
}

.hamburger.open span:nth-child(2) { 
    opacity: 0; 
}

.hamburger.open span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg); 
}

.mobile-menu {
    display: none; 
    flex-direction: column; 
    gap: 4px;
    padding: 16px 1.5rem 20px; 
    border-top: 1px solid var(--border);
    background: rgba(4,4,4,0.98);
}

.mobile-menu a { 
    color: #e5e7eb; 
    text-decoration: none; 
    font-size: 1rem; 
    font-weight: 500; 
    padding: 12px 0; 
    border-bottom: 1px solid var(--border); 
}

.mobile-menu a:last-child { 
    border-bottom: none; 
}

.mobile-menu.open { 
    display: flex; 
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 160px 0 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.badge {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    padding: 8px 16px; 
    border-radius: 100px;
    border: 1px solid rgba(232,40,30,0.25);
    background: rgba(232,40,30,0.07);
    font-size: 0.75rem; 
    font-weight: 700; 
    letter-spacing: 0.05em;
    color: var(--red); 
    text-transform: uppercase; 
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

.badge-dot { 
    width: 6px; 
    height: 6px; 
    background: var(--red); 
    border-radius: 50%; 
    animation: pulse 2s infinite; 
}

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

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1; 
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-sub { 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    line-height: 1.7; 
    max-width: 500px; 
    margin-bottom: 2rem; 
}

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

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

.stat-num { 
    font-family: var(--font-main);
    font-size: 1.75rem; 
    font-weight: 800; 
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    letter-spacing: 0.05em; 
    text-transform: uppercase; 
}

/* Chat Mockup */
.hero-right { 
    position: relative; 
    width: 100%;
}

.chat-card {
    background: #0c0c0c; 
    border: 1px solid var(--border);
    border-radius: 20px; 
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 60px rgba(232,40,30,0.08);
    width: 100%;
}

.chat-topbar {
    background: rgba(255,255,255,0.03); 
    border-bottom: 1px solid var(--border);
    padding: 14px 20px; 
    display: flex; 
    align-items: center; 
    gap: 12px;
}

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

.dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
}

.dot-r { background: var(--red); } 
.dot-o { background: var(--orange); } 
.dot-g { background: #333; }

.chat-title { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
    margin-left: auto; 
    font-weight: 600;
}

.chat-body { 
    padding: 24px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    min-height: 320px; 
}

.msg { 
    max-width: 85%; 
    font-size: 0.9rem; 
    line-height: 1.6; 
    padding: 12px 16px; 
    border-radius: 16px;
    word-wrap: break-word;
}

.msg-bot { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid var(--border); 
    border-radius: 16px 16px 16px 4px; 
    color: #e5e7eb; 
    align-self: flex-start; 
}

.msg-user { 
    background: var(--red); 
    color: #fff; 
    border-radius: 16px 16px 4px 16px; 
    align-self: flex-end; 
}

.msg-typing { 
    display: flex; 
    gap: 4px; 
    align-items: center; 
    padding: 14px 16px; 
}

.typing-dot { 
    width: 6px; 
    height: 6px; 
    background: #6b7280; 
    border-radius: 50%; 
    animation: typingBounce 1.4s infinite; 
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce { 
    0%,60%,100%{transform:translateY(0)} 
    30%{transform:translateY(-6px)} 
}

.chat-input {
    border-top: 1px solid var(--border); 
    padding: 14px 20px;
    display: flex; 
    gap: 10px; 
    align-items: center;
}

.chat-input input {
    background: rgba(255,255,255,0.04); 
    border: 1px solid var(--border);
    border-radius: 10px; 
    padding: 10px 14px; 
    color: #fff; 
    font-size: 0.9rem;
    flex: 1; 
    outline: none; 
    font-family: var(--font-main);
}

.chat-input input::placeholder {
    color: #6b7280;
}

.chat-send {
    width: 36px; 
    height: 36px; 
    background: var(--red); 
    border: none;
    border-radius: 10px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
}

.chat-send svg { 
    width: 16px; 
    height: 16px; 
    fill: white; 
}

.hero-glow-blob {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%,-50%);
    width: 800px; 
    height: 500px;
    background: radial-gradient(ellipse, rgba(232,40,30,0.12) 0%, transparent 65%);
    z-index: 0; 
    pointer-events: none;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section { 
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border); 
    padding: 20px 0; 
    overflow: hidden; 
    position: relative; 
}

.marquee-track { 
    display: flex; 
    gap: 4rem; 
    white-space: nowrap; 
    animation: marqueeScroll 30s linear infinite; 
    width: max-content; 
}

@keyframes marqueeScroll { 
    from{transform:translateX(0)} 
    to{transform:translateX(-50%)} 
}

.marquee-item { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    letter-spacing: 0.05em; 
    text-transform: uppercase; 
    color: var(--text-muted); 
}

.marquee-item span { 
    color: var(--red); 
    font-size: 1.1rem; 
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section { 
    padding: var(--section-padding) 0; 
}

/* How It Works */
.hiw-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}

.steps { 
    display: flex; 
    flex-direction: column; 
    gap: 0; 
    margin-top: 2.5rem; 
}

.step {
    display: flex; 
    gap: 20px; 
    padding: 24px 0;
    border-bottom: 1px solid var(--border); 
    transition: all 0.3s;
    cursor: default;
}

.step:first-child { 
    border-top: 1px solid var(--border); 
}

.step:hover .step-num { 
    background: var(--red); 
    color: #fff; 
}

.step-num {
    width: 48px; 
    height: 48px; 
    min-width: 48px; 
    border-radius: 12px;
    border: 1px solid var(--border); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 800; 
    color: var(--red); 
    font-size: 0.9rem;
    transition: all 0.3s;
}

.step-text h4 { 
    font-family: var(--font-main);
    font-size: 0.95rem; 
    font-weight: 700; 
    letter-spacing: 0.02em; 
    text-transform: uppercase; 
    margin-bottom: 6px; 
}

.step-text p { 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    line-height: 1.6; 
}

/* Metrics Card */
.metrics-card {
    background: #0c0c0c; 
    border: 1px solid var(--border); 
    border-radius: 20px;
    padding: 32px; 
    display: flex; 
    flex-direction: column; 
    gap: 20px;
}

.metric-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 16px; 
}

.metric-label { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    min-width: 140px;
}

.metric-bar { 
    flex: 1; 
    height: 8px; 
    background: rgba(255,255,255,0.06); 
    border-radius: 100px; 
    overflow: hidden; 
}

.metric-fill { 
    height: 100%; 
    border-radius: 100px; 
    background: linear-gradient(90deg, var(--red), var(--orange)); 
}

.metric-val { 
    font-family: var(--font-main);
    font-weight: 700; 
    font-size: 0.9rem; 
    min-width: 40px; 
    text-align: right; 
}

.metrics-title { 
    font-family: var(--font-main);
    font-size: 1.1rem; 
    font-weight: 700; 
    margin-bottom: 4px; 
}

.metrics-sub { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-bottom: 8px; 
}

/* Features Grid */
.feat-intro { 
    text-align: center; 
    max-width: 600px; 
    margin: 0 auto 3rem; 
}

.feat-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.feat-card {
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: 16px;
    padding: 28px; 
    transition: all 0.3s; 
    position: relative; 
    overflow: hidden;
}

.feat-card::before {
    content: ''; 
    position: absolute; 
    inset: 0; 
    opacity: 0;
    background: radial-gradient(circle at top left, rgba(232,40,30,0.08), transparent 60%);
    transition: opacity 0.3s;
}

.feat-card:hover { 
    border-color: rgba(232,40,30,0.2); 
    transform: translateY(-4px); 
}

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

.feat-icon { 
    font-size: 2rem; 
    margin-bottom: 16px; 
    display: block; 
}

.feat-card h3 { 
    font-family: var(--font-main);
    font-size: 1.05rem; 
    font-weight: 700; 
    margin-bottom: 8px; 
}

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

.feat-tag {
    display: inline-block; 
    font-size: 0.7rem; 
    font-weight: 700; 
    letter-spacing: 0.05em;
    text-transform: uppercase; 
    padding: 4px 10px; 
    border-radius: 6px;
    background: rgba(232,40,30,0.1); 
    color: var(--red); 
    margin-top: 16px; 
    border: 1px solid rgba(232,40,30,0.15);
}

.feat-card.featured { 
    background: linear-gradient(135deg, rgba(232,40,30,0.08), rgba(249,115,22,0.04)); 
    border-color: rgba(232,40,30,0.2); 
}

/* Industries */
.ind-section { 
    background: linear-gradient(180deg, transparent, rgba(232,40,30,0.04), transparent); 
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border); 
}

.ind-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 16px; 
    margin-top: 3rem; 
}

.ind-card {
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: 16px;
    padding: 28px 20px; 
    text-align: center; 
    transition: all 0.3s;
}

.ind-card:hover { 
    border-color: rgba(232,40,30,0.25); 
    background: rgba(232,40,30,0.04); 
    transform: translateY(-3px); 
}

.ind-emoji { 
    font-size: 2.5rem; 
    display: block; 
    margin-bottom: 12px; 
}

.ind-card h4 { 
    font-family: var(--font-main);
    font-size: 0.9rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.03em; 
    color: #e5e7eb; 
    margin-bottom: 6px;
}

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

/* Numbers */
.numbers-section { 
    border-top: 1px solid var(--border); 
}

.numbers-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1px; 
    background: rgba(255,255,255,0.08); 
    border: 1px solid rgba(255,255,255,0.08); 
    border-radius: 20px; 
    overflow: hidden; 
    margin-top: 3rem; 
}

.num-cell { 
    background: #0a0a0a; 
    padding: 48px 32px; 
    text-align: center; 
    transition: background 0.3s; 
}

.num-cell:hover { 
    background: rgba(232,40,30,0.06); 
}

.num-val { 
    font-family: var(--font-main);
    font-size: 3rem; 
    font-weight: 800; 
    background: linear-gradient(135deg, #ffffff 30%, var(--red)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
    display: block; 
    line-height: 1; 
    margin-bottom: 8px;
}

.num-label { 
    font-size: 0.8rem; 
    color: #9ca3af; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
}

/* Testimonials */
.test-intro { 
    text-align: center; 
    max-width: 600px; 
    margin: 0 auto 3rem; 
}

.test-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.test-card {
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: 16px;
    padding: 28px; 
    transition: all 0.3s;
}

.test-card:hover { 
    border-color: rgba(255,255,255,0.1); 
    transform: translateY(-3px); 
}

.stars { 
    display: flex; 
    gap: 4px; 
    margin-bottom: 16px; 
}

.star { 
    color: var(--orange); 
    font-size: 1rem; 
}

.test-card p { 
    font-size: 0.95rem; 
    color: #d1d5db; 
    line-height: 1.7; 
    margin-bottom: 20px; 
    font-style: italic; 
}

.test-author { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.test-avatar {
    width: 44px; 
    height: 44px; 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1rem; 
    font-weight: 700; 
    font-family: var(--font-main);
    flex-shrink: 0;
}

.av1 { background: linear-gradient(135deg, #e8281e, #7c0a06); }
.av2 { background: linear-gradient(135deg, #f97316, #7c3c00); }
.av3 { background: linear-gradient(135deg, #3b82f6, #1e3a5f); }
.av4 { background: linear-gradient(135deg, #8b5cf6, #3b1e6e); }
.av5 { background: linear-gradient(135deg, #10b981, #064e3b); }
.av6 { background: linear-gradient(135deg, #e8281e, #f97316); }

.test-author-info h5 { 
    font-family: var(--font-main);
    font-size: 0.95rem; 
    font-weight: 700; 
    margin-bottom: 2px;
}

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

/* Integration */
.int-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}

.int-left h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
}

.int-badges { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    margin-top: 2rem; 
}

.int-badge {
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: 10px;
    padding: 10px 18px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    color: #d1d5db;
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: all 0.2s;
}

.int-badge:hover { 
    border-color: rgba(232,40,30,0.3); 
    color: #fff; 
}

.int-badge-icon { 
    font-size: 1.1rem; 
}

.code-block {
    background: #080808; 
    border: 1px solid var(--border); 
    border-radius: 16px;
    overflow: hidden; 
    font-family: 'Courier New', monospace;
}

.code-header { 
    background: rgba(255,255,255,0.03); 
    border-bottom: 1px solid var(--border); 
    padding: 14px 20px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.code-file { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    letter-spacing: 0.02em; 
}

.code-body { 
    padding: 24px; 
    overflow-x: auto;
}

.code-line { 
    font-size: 0.85rem; 
    line-height: 2; 
    white-space: nowrap;
}

.c-comment { color: #6b7280; }
.c-tag { color: var(--red); }
.c-attr { color: var(--orange); }
.c-str { color: #a3e635; }

/* Pricing */
.pricing-intro { 
    text-align: center; 
    max-width: 600px; 
    margin: 0 auto 3rem; 
}

.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
    align-items: stretch;
}

.price-card {
    background: var(--surface); 
    border: 1px solid var(--border);
    border-radius: 20px; 
    padding: 40px 32px; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.3s;
    height: 100%;
}

.price-card:hover { 
    border-color: rgba(255,255,255,0.12); 
    transform: translateY(-4px); 
}

.price-card.popular {
    background: #0d0d0d; 
    border-color: var(--red);
    box-shadow: 0 0 40px rgba(232,40,30,0.12), 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(1.02);
    position: relative;
}

.price-card.popular:hover { 
    transform: scale(1.02) translateY(-4px); 
}

.popular-badge {
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%);
    background: var(--red); 
    color: #fff; 
    font-family: var(--font-main);
    font-size: 0.7rem; 
    font-weight: 800; 
    letter-spacing: 0.1em; 
    text-transform: uppercase;
    padding: 6px 16px; 
    border-radius: 100px;
    white-space: nowrap;
}

.price-tier { 
    font-size: 0.75rem; 
    font-weight: 700; 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
    margin-bottom: 12px; 
}

.pt-blue { color: #60a5fa; } 
.pt-red { color: var(--red); } 
.pt-amber { color: #fbbf24; }

.price-name { 
    font-family: var(--font-main);
    font-size: 1.75rem; 
    font-weight: 800; 
    margin-bottom: 8px; 
}

.price-desc { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin-bottom: 24px; 
    line-height: 1.5;
    min-height: 44px;
}

.price-amount { 
    font-family: var(--font-main);
    font-size: 3.5rem; 
    font-weight: 800; 
    margin-bottom: 4px; 
    line-height: 1;
}

.price-period { 
    font-size: 1rem; 
    color: var(--text-muted); 
    font-weight: 400;
}

.price-divider { 
    border: none; 
    border-top: 1px solid var(--border); 
    margin: 24px 0; 
}

.price-features { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    flex: 1; 
}

.pf { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    font-size: 0.9rem; 
    color: #e5e7eb; 
    line-height: 1.5;
}

.pf-check { 
    color: var(--red); 
    font-weight: 700; 
    flex-shrink: 0; 
    margin-top: 2px; 
    font-size: 1rem;
}

.pf-cross { 
    color: #374151; 
    flex-shrink: 0; 
    margin-top: 2px; 
    font-size: 1rem;
}

.pf.disabled { 
    opacity: 0.4; 
}

.price-btn {
    margin-top: 32px; 
    width: 100%; 
    padding: 16px; 
    border-radius: 12px;
    font-family: var(--font-main);
    font-weight: 700; 
    font-size: 0.9rem;
    letter-spacing: 0.02em; 
    cursor: pointer; 
    transition: all 0.2s; 
    text-align: center;
    text-decoration: none; 
    display: block; 
    border: none;
}

.price-btn-outline { 
    background: transparent; 
    border: 1px solid var(--border); 
    color: #aaa; 
}

.price-btn-outline:hover { 
    border-color: rgba(255,255,255,0.2); 
    color: #fff; 
}

.price-btn-red { 
    background: var(--red); 
    color: #fff; 
    box-shadow: 0 0 24px rgba(232,40,30,0.35); 
}

.price-btn-red:hover { 
    box-shadow: 0 0 36px rgba(232,40,30,0.55); 
}

.price-btn-amber { 
    background: transparent; 
    border: 1px solid rgba(251,191,36,0.3); 
    color: #fbbf24; 
}

.price-btn-amber:hover { 
    background: rgba(251,191,36,0.08); 
}

/* FAQ */
.faq-intro { 
    text-align: center; 
    max-width: 600px; 
    margin: 0 auto 3rem; 
}

.faq-list { 
    max-width: 800px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 0; 
}

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

.faq-item:first-child { 
    border-top: 1px solid var(--border); 
}

.faq-q {
    width: 100%; 
    text-align: left; 
    background: transparent; 
    border: none;
    padding: 24px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    cursor: pointer; 
    font-family: var(--font-main);
    font-size: 1.05rem; 
    font-weight: 600;
    color: #fff; 
    gap: 20px;
    line-height: 1.4;
}

.faq-arrow { 
    color: var(--red); 
    font-size: 1.5rem; 
    transition: transform 0.3s; 
    flex-shrink: 0; 
    font-weight: 300;
}

.faq-item.open .faq-arrow { 
    transform: rotate(45deg); 
}

.faq-a { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease, padding 0.3s; 
}

.faq-item.open .faq-a { 
    max-height: 300px; 
    padding-bottom: 24px; 
}

.faq-a p { 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    line-height: 1.7; 
}

/* CTA Section */
.cta-section {
    margin: 0 auto 100px; 
    max-width: var(--max-width);
    background: linear-gradient(135deg, rgba(232,40,30,0.1), rgba(249,115,22,0.05));
    border: 1px solid rgba(232,40,30,0.2); 
    border-radius: 24px;
    padding: 80px 60px; 
    text-align: center; 
    position: relative; 
    overflow: hidden;
}

.cta-glow { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%,-50%); 
    width: 600px; 
    height: 300px; 
    background: radial-gradient(ellipse, rgba(232,40,30,0.15), transparent 65%); 
    pointer-events: none; 
}

.cta-section h2 { 
    font-family: var(--font-main);
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 800; 
    letter-spacing: -0.03em; 
    margin-bottom: 1rem; 
    position: relative; 
}

.cta-section p { 
    color: var(--text-muted); 
    max-width: 500px; 
    margin: 0 auto 2rem; 
    line-height: 1.7; 
    position: relative; 
    font-size: 1.1rem;
}

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

.cta-url-input {
    background: rgba(255,255,255,0.05); 
    border: 1px solid var(--border);
    border-radius: 12px; 
    padding: 16px 20px; 
    color: #fff; 
    font-size: 1rem;
    outline: none; 
    font-family: var(--font-main);
    width: 320px;
    transition: border-color 0.2s;
}

.cta-url-input:focus { 
    border-color: rgba(232,40,30,0.4); 
}

.cta-url-input::placeholder { 
    color: #6b7280; 
}

/* Footer */
footer {
    border-top: 1px solid var(--border); 
    padding: 60px 0;
}

.footer-inner { 
    max-width: var(--max-width);
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 4rem; 
    padding: 0 2rem;
}

.footer-brand p { 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    line-height: 1.7; 
    margin-top: 1rem; 
    max-width: 300px; 
}

.footer-col h5 { 
    font-family: var(--font-main);
    font-size: 0.8rem; 
    font-weight: 700; 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
    color: #6b7280; 
    margin-bottom: 1.5rem; 
}

.footer-col a { 
    display: block; 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    text-decoration: none; 
    margin-bottom: 12px; 
    transition: color 0.2s; 
}

.footer-col a:hover { 
    color: #fff; 
}

.footer-bottom { 
    max-width: var(--max-width);
    margin: 40px auto 0; 
    padding: 24px 2rem 0; 
    border-top: 1px solid var(--border); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.footer-bottom p { 
    font-size: 0.85rem; 
    color: #6b7280; 
}

.footer-bottom span { 
    color: var(--red); 
}

.made-in { 
    font-size: 0.75rem; 
    color: #4b5563; 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
}

/* Float Button */
.float-btn {
    position: fixed; 
    bottom: 24px; 
    right: 24px; 
    z-index: 400;
    width: 60px; 
    height: 60px; 
    background: var(--red); 
    border: none;
    border-radius: 16px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.5rem; 
    box-shadow: 0 8px 32px rgba(232,40,30,0.4); 
    transition: all 0.2s;
}

.float-btn:hover { 
    transform: scale(1.08); 
    box-shadow: 0 12px 40px rgba(232,40,30,0.55); 
}

/* ============================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
        padding: 140px 0 80px; 
        text-align: center; 
    }
    
    .hero-left { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    
    .hero-sub { 
        max-width: 600px; 
    }
    
    .hero-stats { 
        justify-content: center; 
    }
    
    .hero-actions { 
        justify-content: center; 
    }
    
    .hero-right {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hiw-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    
    .int-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    
    .feat-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .ind-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .test-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .numbers-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .pricing-grid { 
        grid-template-columns: 1fr; 
        max-width: 480px; 
        margin-left: auto; 
        margin-right: auto; 
    }
    
    .price-card.popular { 
        transform: none; 
        order: -1;
    }
    
    .price-card.popular:hover { 
        transform: translateY(-4px); 
    }
    
    .footer-inner { 
        grid-template-columns: 1fr 1fr; 
        gap: 2.5rem; 
    }
    
    .cta-section { 
        margin: 0 1rem 80px; 
        padding: 60px 40px; 
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hamburger { 
        display: flex; 
    } 
    
    .nav-links { 
        display: none; 
    }
    
    .btn-ghost { 
        display: none; 
    }
    
    .nav-inner {
        padding: 0 1rem;
    }
    
    .hero { 
        padding: 120px 0 60px; 
        gap: 2.5rem; 
    }
    
    .hero h1 { 
        font-size: 2rem; 
    }
    
    .hero-sub { 
        font-size: 1rem; 
    }
    
    .hero-actions { 
        flex-direction: column; 
        width: 100%; 
    }
    
    .hero-actions a { 
        width: 100%; 
        text-align: center; 
    }
    
    .hero-stats { 
        gap: 2rem; 
        flex-wrap: wrap; 
        justify-content: center;
    }
    
    .stat-num { 
        font-size: 1.5rem; 
    }
    
    .chat-body { 
        min-height: 280px; 
    }
    
    .msg { 
        font-size: 0.85rem; 
        max-width: 90%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .step { 
        gap: 16px; 
        padding: 20px 0; 
    }
    
    .step-num { 
        width: 44px; 
        height: 44px; 
        min-width: 44px; 
        font-size: 0.85rem; 
    }
    
    .metrics-card { 
        padding: 24px; 
    }
    
    .feat-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
    }
    
    .feat-card { 
        padding: 24px; 
    }
    
    .ind-grid { 
        grid-template-columns: 1fr; 
        gap: 12px; 
    }
    
    .ind-card { 
        padding: 24px; 
    }
    
    .numbers-grid { 
        grid-template-columns: 1fr; 
    }
    
    .num-cell { 
        padding: 32px 24px; 
    }
    
    .num-val { 
        font-size: 2.5rem; 
    }
    
    .test-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
    }
    
    .test-card { 
        padding: 24px; 
    }
    
    .int-badge { 
        font-size: 0.8rem; 
        padding: 8px 14px; 
    }
    
    .code-body { 
        padding: 20px; 
    }
    
    .code-line { 
        font-size: 0.8rem; 
    }
    
    .price-card { 
        padding: 32px 24px; 
    }
    
    .price-amount { 
        font-size: 3rem; 
    }
    
    .faq-q { 
        font-size: 1rem; 
        padding: 20px 0; 
    }
    
    .cta-section { 
        margin: 0 0.5rem 60px; 
        padding: 48px 24px; 
    }
    
    .cta-url-input { 
        width: 100%; 
    }
    
    .footer-inner { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
        padding: 0 1rem;
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 12px; 
        text-align: center; 
        padding: 24px 1rem 0;
    }
    
    .float-btn { 
        width: 56px; 
        height: 56px; 
        font-size: 1.3rem; 
        bottom: 16px; 
        right: 16px; 
    }
}

/* ============================================
   PREMIUM LEGAL PAGES
   ============================================ */

.legal-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.legal-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(232,40,30,0.08);
    border: 1px solid rgba(232,40,30,0.18);
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.legal-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.legal-meta-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 22px;
    min-width: 180px;
}

.legal-meta-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ============================================
   RESPONSIVE - SMALL MOBILE (max 380px)
   ============================================ */
@media (max-width: 380px) {
    .hero h1 { 
        font-size: 1.75rem; 
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .stat-num { 
        font-size: 1.25rem; 
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .num-val {
        font-size: 2rem;
    }
}

/* Metrics card (how-it-works) */
.metrics-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

/* Previne overflow global */
html, body { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }

/* int-badges display pe mobile */
@media (max-width: 480px) {
    .int-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}



    /* Fade-in nu bloca layout-ul pe mobile */
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Int grid text sa nu iasa din ecran */
    #integration .section-sub,
    #integration p {
        padding: 0;
        width: 100%;
        word-break: break-word;
    }

    /* Int badges sa nu iasa din ecran */
    .int-badges {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .int-badge {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Code block scroll orizontal fara overflow */
    .code-block {
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    .code-body {
        min-width: 280px;
    }
}



    /* Code block nu depaseste ecranul */
    .code-block {
        max-width: 100% !important;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
    }



}


/* ── MOBILE FIX v3 ── */
@media (max-width: 768px) {
    /* Padding stanga pe sectiuni */
    #integration,
    #features,
    #how-it-works,
    .ind-section,
    .section.container,
    section.container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    /* Fade-in: dezactivat pe mobile ca sa nu blocheze layout */
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Badges grid 2 coloane */
    .int-badges {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .int-badge {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Code block: scroll orizontal curat */
    .code-block {
        overflow: hidden !important;
        border-radius: 12px !important;
    }
    .code-body {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        padding-bottom: 4px !important;
    }
    .code-line {
        white-space: nowrap !important;
        display: block !important;
        line-height: 1.8 !important;
    }
}

@media (max-width: 480px) {
    .ind-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── HERO MOBILE FIX ── */
@media (max-width: 820px) {
    .hero-section .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-section .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        overflow: visible !important;
    }
    .hero-left h1 {
        font-size: clamp(2rem, 7vw, 3.2rem) !important;
    }
}

@media (max-width: 600px) {
    .hero-left h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    }
}

/* ── HERO FINAL TWEAKS ── */
@media (max-width: 820px) {
    .hero-section {
        padding-top: 90px !important;
    }
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        text-align: center !important;
    }
    .stat-item {
        align-items: center !important;
    }
}

@media (max-width: 420px) {
    .hero-section {
        padding-top: 80px !important;
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .stat-num {
        font-size: 1.4rem !important;
    }
    .stat-label {
        font-size: 0.7rem !important;
    }
}
