/*
    ALICHA — company site stylesheet.
    Light, clean corporate theme: white/slate-50 surfaces, indigo primary,
    amber used sparingly as an accent for numbers/badges. Plus Jakarta Sans
    for headings, Inter for body copy (both via Google Fonts, linked from
    layouts/app.blade.php — see the <head> there).
*/

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #EEF2FF;
    --accent: #F59E0B;
    --accent-light: #FFFBEB;
    --text: #0F172A;
    --text-mid: #334155;
    --text-muted: #64748B;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --border: #E2E8F0;
    --r-lg: 20px;
    --r-md: 14px;
    --r-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
    --shadow-md: 0 1px 3px rgba(15,23,42,0.06), 0 10px 28px -10px rgba(15,23,42,0.14);
    --shadow-lg: 0 4px 6px rgba(15,23,42,0.05), 0 20px 40px -14px rgba(15,23,42,0.18);
    --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-mid);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ═══════ BUTTONS ═══════ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-heading); font-weight: 600; font-size: 15px;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.22s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 16px; }

/* ═══════ NAVBAR ═══════ */
.navbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 21px; color: var(--text); text-decoration: none; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), #818CF8);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 17px;
    box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-heading); font-weight: 500; font-size: 15px; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.25s; }
.mobile-menu { display: none; flex-direction: column; gap: 0.25rem; padding: 0.5rem 1.5rem 1.25rem; border-top: 1px solid var(--border); background: #fff; }
.mobile-menu a { font-family: var(--font-heading); font-weight: 500; font-size: 15px; color: var(--text-mid); text-decoration: none; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
body.menu-open .mobile-menu { display: flex; }

/* ═══════ HERO (shared pattern across pages) ═══════ */
.page-hero {
    position: relative; overflow: hidden;
    padding: 5.5rem 0 4.5rem;
    background: var(--bg-alt);
}
.page-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 55% at 85% 0%, rgba(79,70,229,0.10) 0%, transparent 70%),
        radial-gradient(45% 45% at 5% 100%, rgba(245,158,11,0.08) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-light); color: var(--primary-dark);
    font-family: var(--font-heading); font-size: 13px; font-weight: 600;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); margin: 0; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.page-hero h1 .accent { color: var(--primary); }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 540px; margin-bottom: 2rem; line-height: 1.55; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-art {
    background: linear-gradient(145deg, var(--primary), #6366F1 55%, #818CF8);
    border-radius: 28px; padding: 3rem 2rem; color: #fff;
    display: flex; flex-direction: column; gap: 1.5rem; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.hero-art::after { content: ''; position: absolute; width: 220px; height: 220px; background: rgba(255,255,255,0.08); border-radius: 50%; top: -60px; right: -60px; }
.hero-art-row { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-md); padding: 1rem 1.2rem; position: relative; z-index: 1; }
.hero-art-ico { font-size: 1.5rem; }
.hero-art-row strong { display: block; font-family: var(--font-heading); font-size: 14px; }
.hero-art-row span { font-size: 12.5px; opacity: 0.85; }

/* page-hero without a right-side art panel (simple centered intro pages) */
.page-hero.simple .hero-grid { grid-template-columns: 1fr; text-align: center; }
.page-hero.simple .hero-sub { margin-left: auto; margin-right: auto; }
.page-hero.simple .hero-ctas { justify-content: center; }
.page-hero.simple .eyebrow { margin-left: auto; margin-right: auto; }

/* ═══════ SECTION HEADERS ═══════ */
.section { padding: 5.5rem 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-label { font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.6rem; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.section-sub { font-size: 16.5px; color: var(--text-muted); }

/* ═══════ STATS STRIP ═══════ */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.75rem 1.25rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; color: var(--primary); margin-bottom: 0.3rem; }
.stat-lbl { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ═══════ CARD GRIDS: services / products / portfolio ═══════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.service-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 2rem 1.8rem; transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #C7D2FE; }
.card-ico {
    width: 52px; height: 52px; border-radius: var(--r-sm);
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 0.55rem; }
.service-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }
.service-card ul { margin: 0.9rem 0 0; padding: 0; list-style: none; }
.service-card ul li { font-size: 13.5px; color: var(--text-mid); display: flex; gap: 8px; margin-bottom: 0.4rem; }
.service-card ul li::before { content: '✓'; color: var(--primary); font-weight: 700; }

.product-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 2.2rem; box-shadow: var(--shadow-sm); transition: all 0.25s;
    display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.product-mark {
    width: 58px; height: 58px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: #fff; margin-bottom: 1.4rem; box-shadow: var(--shadow-sm);
}
.product-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 0.2rem; }
.product-tag { display: inline-block; font-family: var(--font-heading); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); background: var(--accent-light); padding: 3px 10px; border-radius: 999px; margin-bottom: 0.9rem; }
.product-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0 0 1.4rem; flex-grow: 1; }
.product-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 600; color: var(--text-mid); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }

.portfolio-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: all 0.25s; }
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.portfolio-top { display: flex; align-items: center; gap: 14px; margin-bottom: 1.3rem; }
.portfolio-mark { width: 50px; height: 50px; border-radius: 13px; background: var(--primary-light); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.portfolio-card h3 { font-size: 17px; font-weight: 700; }
.portfolio-industry { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.portfolio-card p { font-size: 14px; color: var(--text-mid); line-height: 1.55; margin: 0 0 1rem; }
.portfolio-card ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.portfolio-card ul li { font-size: 13px; color: var(--text-mid); display: flex; gap: 8px; margin-bottom: 0.45rem; }
.portfolio-card ul li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.portfolio-delivered { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--primary); }

/* ═══════ PRODUCT FEATURE ROWS (products page) ═══════ */
.product-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 5.5rem; }
.product-feature-row:last-child { margin-bottom: 0; }
.product-feature-row.reverse .product-feature-visual { order: 2; }
.product-feature-visual {
    border-radius: var(--r-lg); padding: 3.5rem 2rem; text-align: center;
    color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.product-feature-visual::after { content: ''; position: absolute; width: 220px; height: 220px; background: rgba(255,255,255,0.1); border-radius: 50%; bottom: -80px; right: -60px; }
.product-feature-visual .pf-ico { font-size: 3.5rem; position: relative; z-index: 1; }
.product-feature-visual .pf-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; margin-top: 0.8rem; position: relative; z-index: 1; }
.product-feature-text .product-tag { margin-bottom: 1rem; }
.product-feature-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 700; margin-bottom: 0.9rem; letter-spacing: -0.01em; }
.product-feature-text p { font-size: 15.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.4rem; }
.product-feature-text .product-chips { margin-bottom: 1.6rem; }

/* ═══════ PROCESS STEPS (services page) ═══════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.step { text-align: center; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-heading); font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h4 { font-size: 15.5px; margin-bottom: 0.4rem; }
.step p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ═══════ CTA BAND ═══════ */
.cta-band {
    background: linear-gradient(135deg, var(--primary), #6366F1);
    border-radius: var(--r-lg); padding: 3.5rem 3rem; text-align: center;
    color: #fff; position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; width: 260px; height: 260px; background: rgba(255,255,255,0.08); border-radius: 50%; top: -100px; left: -80px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.6rem; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.8rem; position: relative; z-index: 1; font-size: 15.5px; }
.cta-band .hero-ctas { justify-content: center; position: relative; z-index: 1; margin-bottom: 0; }

/* ═══════ CONTACT FORM ═══════ */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.2rem; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-info-row .card-ico { margin-bottom: 0; flex-shrink: 0; }
.contact-info-row strong { display: block; font-family: var(--font-heading); font-size: 14.5px; color: var(--text); margin-bottom: 2px; }
.contact-info-row span, .contact-info-row a { font-size: 14px; color: var(--text-muted); text-decoration: none; }
.form-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-family: var(--font-heading); font-size: 12.5px; font-weight: 600; color: var(--text-mid); margin-bottom: 0.4rem; }
.fi {
    width: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-sm);
    padding: 0.8rem 1rem; font-family: var(--font-body); font-size: 14.5px; color: var(--text); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
}
.fi:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); background: #fff; }
textarea.fi { resize: vertical; min-height: 110px; }
.submit-btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success .ck { font-size: 2.6rem; display: block; margin-bottom: 0.6rem; }
.form-success h4 { margin-bottom: 0.3rem; }
.form-success p { color: var(--text-muted); margin: 0; font-size: 14.5px; }
.form-errors { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; border-radius: var(--r-sm); padding: 0.8rem 1rem; font-size: 13.5px; margin-bottom: 1rem; }

/* ═══════ FOOTER ═══════ */
.footer { background: var(--text); color: #CBD5E1; padding: 4rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.75rem; }
.footer-brand .brand { color: #fff; }
.footer-about { font-size: 14px; color: #94A3B8; line-height: 1.6; margin-top: 1rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: 14px; color: #94A3B8; text-decoration: none; margin-bottom: 0.7rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 13px; color: #64748B; }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.25rem; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: #1E293B; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; }
.social-row a:hover { background: var(--primary); }

/* ═══════ FADE-IN ═══════ */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 980px) {
    .nav-links, .nav-cta .btn-outline { display: none; }
    .nav-toggle { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { order: -1; }
    .grid-3, .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .f2 { grid-template-columns: 1fr; }
    .page-hero { padding: 3.5rem 0 3rem; }
    .section { padding: 3.75rem 0; }
    .cta-band { padding: 2.5rem 1.5rem; }
    .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}
