/* ============================================================
   StockSense RFID — Main Stylesheet
   Design: Premium B2B SaaS — Deep Navy / Electric Blue
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
    /* Colors */
    --navy-950:  #040D1A;
    --navy-900:  #0A1628;
    --navy-800:  #0F2040;
    --navy-700:  #162A52;
    --navy-600:  #1E3A6E;
    --blue-500:  #0EA5E9;
    --blue-400:  #38BDF8;
    --blue-300:  #7DD3FC;
    --blue-600:  #0284C7;
    --cyan-400:  #22D3EE;
    --white:     #FFFFFF;
    --gray-50:   #F8FAFC;
    --gray-100:  #F1F5F9;
    --gray-200:  #E2E8F0;
    --gray-300:  #CBD5E1;
    --gray-400:  #94A3B8;
    --gray-500:  #64748B;
    --gray-600:  #475569;
    --gray-700:  #334155;
    --gray-800:  #1E293B;
    --text-body: #1E293B;
    --text-muted:#64748B;

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.1),  0 2px 8px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 48px rgba(0,0,0,.12), 0 8px 20px rgba(0,0,0,.08);
    --shadow-blue: 0 0 0 3px rgba(14,165,233,.25);

    /* Transitions */
    --transition: 220ms cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-navy { background: var(--navy-950); color: var(--white); }
.section-gray { background: var(--gray-50); }
.text-center { text-align: center; }
.text-blue { color: var(--blue-500); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--text-body); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue-500);
    background: rgba(14,165,233,.1);
    border: 1px solid rgba(14,165,233,.2);
    border-radius: 100px;
    padding: .3rem .85rem;
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
}

.section-intro {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.section-intro.left { margin: 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: -.01em;
    padding: .75rem 1.6rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(255,255,255,.12);
    transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(14,165,233,.3);
}
.btn-primary:hover {
    background: var(--blue-600);
    box-shadow: 0 8px 24px rgba(14,165,233,.4);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--navy-900);
    border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--blue-500);
    color: var(--blue-500);
    transform: translateY(-1px);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.3);
}
.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.08);
}
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }
.btn-lg { padding: .95rem 2rem; font-size: 1rem; }

/* Arrow icon */
.btn .arrow {
    width: 16px; height: 16px;
    transition: transform var(--transition);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    height: 68px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: -.02em;
}
.logo-tag {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--blue-500);
    background: rgba(14,165,233,.1);
    border: 1px solid rgba(14,165,233,.2);
    border-radius: 4px;
    padding: 1px 5px;
    vertical-align: middle;
    margin-left: .15rem;
}
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-tag { color: var(--blue-300); background: rgba(14,165,233,.15); }

.main-nav { flex: 1; }
.main-nav ul {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.main-nav a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: .4rem .75rem;
    border-radius: 6px;
    transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--navy-900);
    background: var(--gray-100);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: all var(--transition);
}
.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); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    padding: 140px 0 100px;
    background: var(--navy-950);
    color: var(--white);
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(14,165,233,.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(22,211,238,.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue-400);
    border: 1px solid rgba(14,165,233,.3);
    border-radius: 100px;
    padding: .3rem .9rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp .6s ease both;
}
.hero-label .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.7); }
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
    animation: fadeInUp .6s .1s ease both;
}
.hero h1 span { color: var(--blue-400); }
.hero-sub {
    font-size: 1.125rem;
    color: var(--gray-300);
    max-width: 500px;
    margin-bottom: 2.5rem;
    animation: fadeInUp .6s .2s ease both;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp .6s .3s ease both;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.08);
    animation: fadeInUp .6s .4s ease both;
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}
.hero-stat-label {
    font-size: .8rem;
    color: var(--gray-400);
    margin-top: .1rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInRight .8s .2s ease both;
}
.rfid-diagram {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
}
.diagram-title {
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue-400);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.diagram-title::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--blue-500);
}
.diagram-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.diagram-node {
    background: rgba(14,165,233,.08);
    border: 1px solid rgba(14,165,233,.2);
    border-radius: var(--radius-md);
    padding: 1rem .75rem;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}
.diagram-node:hover {
    background: rgba(14,165,233,.14);
    border-color: rgba(14,165,233,.4);
    transform: translateY(-2px);
}
.node-icon {
    width: 36px; height: 36px;
    margin: 0 auto .5rem;
    background: rgba(14,165,233,.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-400);
}
.node-label {
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}
.node-sub {
    font-size: .65rem;
    color: var(--gray-400);
    margin-top: .2rem;
}
.diagram-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.diagram-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    font-size: .75rem;
    color: var(--gray-300);
}
.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot.green { background: #22C55E; box-shadow: 0 0 6px #22C55E; }
.status-dot.blue  { background: var(--blue-500); box-shadow: 0 0 6px var(--blue-500); }
.status-dot.yellow { background: #EAB308; box-shadow: 0 0 6px #EAB308; }

/* ── About Strip ────────────────────────────────────────────── */
.about-strip {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--gray-200);
}
.about-strip-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}
.about-strip h2 { margin-bottom: 1rem; }
.about-strip p { color: var(--text-muted); margin-bottom: 1rem; }
.about-strip .check-list { margin-top: 1.5rem; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .75rem;
    font-size: .95rem;
    color: var(--gray-700);
}
.check-list li .check-icon {
    width: 20px; height: 20px;
    background: rgba(14,165,233,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: .1rem;
    color: var(--blue-500);
}

/* ── Benefits Cards ─────────────────────────────────────────── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    opacity: 0;
    transition: opacity var(--transition);
}
.benefit-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(22,211,238,.08));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--blue-500);
}
.benefit-card h4 { margin-bottom: .5rem; color: var(--navy-900); }
.benefit-card p { font-size: .9rem; color: var(--text-muted); }

/* ── How It Works Steps ─────────────────────────────────────── */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}
.steps-flow::before {
    content: '';
    position: absolute;
    top: 28px; left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    opacity: .25;
}
.step-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}
.step-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.step-num {
    width: 44px; height: 44px;
    background: var(--blue-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    margin: 0 auto 1rem;
    box-shadow: 0 0 0 6px rgba(14,165,233,.12);
}
.step-card h4 { margin-bottom: .5rem; color: var(--navy-900); }
.step-card p { font-size: .88rem; color: var(--text-muted); }

/* ── Use Cases ──────────────────────────────────────────────── */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.use-case-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border: 1px solid rgba(14,165,233,.12);
    transition: all var(--transition);
    overflow: hidden;
    position: relative;
}
.use-case-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(14,165,233,.15) 0%, transparent 70%);
}
.use-case-card:hover {
    border-color: rgba(14,165,233,.3);
    transform: translateY(-4px);
}
.use-case-icon {
    width: 44px; height: 44px;
    background: rgba(14,165,233,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-400);
    margin-bottom: 1rem;
}
.use-case-card h4 { color: var(--white); margin-bottom: .5rem; }
.use-case-card p { font-size: .875rem; color: var(--gray-400); }

/* ── Why It Matters ─────────────────────────────────────────── */
.matters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.matters-list { margin-top: 1.5rem; }
.matters-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.matters-item:last-child { border-bottom: none; }
.matters-item-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(22,211,238,.06));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    flex-shrink: 0;
    margin-top: .1rem;
}
.matters-item h4 { margin-bottom: .25rem; color: var(--navy-900); }
.matters-item p { font-size: .88rem; color: var(--text-muted); }
.matters-visual {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(14,165,233,.12);
}
.stat-bar-group { margin-bottom: 1.5rem; }
.stat-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--gray-300);
    margin-bottom: .4rem;
}
.stat-bar-track {
    height: 8px;
    background: rgba(255,255,255,.06);
    border-radius: 100px;
    overflow: hidden;
}
.stat-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    animation: barGrow 1.2s .3s ease both;
    transform-origin: left;
}
@keyframes barGrow {
    from { width: 0 !important; }
}

/* ── Lead Form Section ──────────────────────────────────────── */
.lead-form-section {
    background: var(--navy-950);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}
.lead-form-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(14,165,233,.08) 0%, transparent 60%);
    pointer-events: none;
}
.lead-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
.lead-form-info h2 { color: var(--white); margin-bottom: 1rem; }
.lead-form-info p { color: var(--gray-300); margin-bottom: 2rem; }
.trust-items { margin-top: 2rem; }
.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-item:last-child { border-bottom: none; }
.trust-icon {
    width: 32px; height: 32px;
    background: rgba(14,165,233,.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-400);
    flex-shrink: 0;
}
.trust-item span { font-size: .875rem; color: var(--gray-300); }

/* ── Form Styles ────────────────────────────────────────────── */
.card-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.25rem; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: .35rem;
    letter-spacing: .01em;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    color: var(--text-body);
    background: var(--gray-50);
    transition: all var(--transition);
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: var(--shadow-blue);
}
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; cursor: pointer; }
.form-error { font-size: .8rem; color: #EF4444; margin-top: .3rem; }

.alert {
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: .9rem;
    font-weight: 500;
}
.alert-success { background: #F0FDF4; border: 1px solid #86EFAC; color: #15803D; }
.alert-error   { background: #FFF1F2; border: 1px solid #FCA5A5; color: #B91C1C; }

/* ── How It Works Page Diagram ───────────────────────────────── */
.hw-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 3rem 0;
    position: relative;
}
.hw-node {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all var(--transition);
}
.hw-node:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.hw-node-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-500);
    opacity: .2;
    line-height: 1;
    margin-bottom: .25rem;
}
.hw-node h4 { color: var(--navy-900); margin-bottom: .4rem; font-size: 1rem; }
.hw-node p { font-size: .84rem; color: var(--text-muted); }

/* Arrow between nodes */
.hw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-400);
    font-size: 1.5rem;
    opacity: .5;
}

/* ── Solutions Cards ─────────────────────────────────────────── */
.solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.solution-block:last-child { border-bottom: none; }
.solution-block.reverse { direction: rtl; }
.solution-block.reverse > * { direction: ltr; }
.solution-icon-large {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(22,211,238,.06));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    margin-bottom: 1.5rem;
}
.solution-block h3 { margin-bottom: .75rem; color: var(--navy-900); }
.solution-block p { color: var(--text-muted); margin-bottom: 1.25rem; }
.solution-feature-list { margin-top: 1rem; }
.solution-feature-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    color: var(--gray-700);
    margin-bottom: .5rem;
}
.solution-feature-list li::before {
    content: '→';
    color: var(--blue-500);
    font-weight: 700;
}
.solution-visual {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(14,165,233,.15);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.metric-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.metric-card {
    background: rgba(14,165,233,.06);
    border: 1px solid rgba(14,165,233,.15);
    border-radius: var(--radius-sm);
    padding: 1rem;
}
.metric-val {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue-400);
}
.metric-lbl { font-size: .72rem; color: var(--gray-400); margin-top: .15rem; }

/* ── About Page ──────────────────────────────────────────────── */
.about-hero {
    background: var(--navy-950);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(14,165,233,.15) 0%, transparent 60%);
    pointer-events: none;
}
.about-hero h1 { color: var(--white); margin-bottom: 1.25rem; position: relative; z-index: 1; }
.about-hero p { color: var(--gray-300); max-width: 600px; margin: 0 auto 2rem; position: relative; z-index: 1; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}
.value-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.value-card-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(22,211,238,.06));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    margin-bottom: 1rem;
}
.value-card h4 { margin-bottom: .5rem; }
.value-card p { font-size: .875rem; color: var(--text-muted); }

.team-quote {
    background: var(--navy-950);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.team-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px; left: 30px;
    font-size: 12rem;
    font-family: Georgia, serif;
    color: rgba(14,165,233,.08);
    line-height: 1;
}
.team-quote p {
    font-size: 1.25rem;
    color: var(--gray-100);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}
.team-quote cite {
    font-size: .85rem;
    color: var(--blue-400);
    font-style: normal;
    font-weight: 600;
}

/* ── Contact Page ────────────────────────────────────────────── */
.contact-hero {
    background: var(--navy-950);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(14,165,233,.12) 0%, transparent 60%);
}
.contact-hero h1 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.contact-hero p  { color: var(--gray-300); max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-detail-icon {
    width: 44px; height: 44px;
    background: rgba(14,165,233,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    flex-shrink: 0;
}
.contact-detail-label { font-size: .78rem; color: var(--text-muted); margin-bottom: .2rem; }
.contact-detail-value { font-weight: 600; color: var(--navy-900); }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 50%, #0C1D42 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: var(--space-xl) 0;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(14,165,233,.2) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; position: relative; z-index: 1; }
.cta-banner p { color: var(--gray-300); max-width: 500px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
    background: var(--navy-950);
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(14,165,233,.1) 0%, transparent 60%);
}
.page-hero h1 { color: var(--white); position: relative; z-index: 1; margin-bottom: .75rem; }
.page-hero p { color: var(--gray-300); max-width: 580px; position: relative; z-index: 1; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
    background: var(--navy-950);
    color: var(--white);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-tagline {
    font-size: .875rem;
    color: var(--gray-400);
    margin: 1rem 0 1.5rem;
    max-width: 260px;
}
.footer-col h4 {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a {
    font-size: .875rem;
    color: var(--gray-400);
    transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.contact-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    color: var(--gray-400);
    margin-bottom: .6rem;
}
.contact-list a { color: var(--gray-400); transition: color var(--transition); }
.contact-list a:hover { color: var(--white); }
.social-links { display: flex; gap: .5rem; }
.social-link {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition);
}
.social-link:hover { background: var(--blue-500); color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: .8rem;
    color: var(--gray-500);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--gray-500); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* ── Admin Styles ────────────────────────────────────────────── */
.admin-body {
    background: var(--gray-100);
    min-height: 100vh;
    font-family: var(--font-body);
}
.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--navy-950);
}
.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.admin-login-card .logo-wrap { text-align: center; margin-bottom: 2rem; }
.admin-login-card h2 { text-align: center; margin-bottom: .4rem; }
.admin-login-card .subtitle { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 2rem; }

.admin-header {
    background: var(--navy-900);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-header .logo-text { color: var(--white); }
.admin-header .logo-tag { color: var(--blue-300); }
.admin-header-actions { display: flex; align-items: center; gap: 1rem; }
.admin-badge {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(14,165,233,.15);
    color: var(--blue-400);
    border: 1px solid rgba(14,165,233,.25);
    border-radius: 100px;
    padding: .25rem .7rem;
}
.admin-logout {
    font-size: .82rem;
    color: var(--gray-400);
    transition: color var(--transition);
}
.admin-logout:hover { color: var(--white); }

.admin-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}
.admin-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.admin-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}
.admin-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-900);
}
.admin-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

.admin-table-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}
.admin-table-header h3 { font-size: 1rem; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}
th {
    background: var(--gray-50);
    padding: .75rem 1rem;
    text-align: left;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}
td {
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-body);
    vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }
.td-email { color: var(--blue-600); }
.td-date { font-size: .8rem; color: var(--text-muted); white-space: nowrap; }
.badge {
    display: inline-flex;
    padding: .2rem .6rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
}
.badge-blue { background: rgba(14,165,233,.1); color: var(--blue-600); }
.msg-preview {
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
    font-size: .82rem;
}
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 1rem; opacity: .3; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
.animate-fade-up {
    animation: fadeInUp .6s ease both;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
    .steps-flow     { grid-template-columns: repeat(2, 1fr); }
    .steps-flow::before { display: none; }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid    { grid-template-columns: repeat(2, 1fr); }
    .solution-block { grid-template-columns: 1fr; gap: 2rem; }
    .solution-block.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .hero-grid         { grid-template-columns: 1fr; }
    .hero-visual       { display: none; }
    .about-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
    .matters-grid      { grid-template-columns: 1fr; }
    .lead-form-grid    { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid      { grid-template-columns: 1fr; }
    .values-grid       { grid-template-columns: 1fr; }
    .form-row          { grid-template-columns: 1fr; }
    .cta-banner        { padding: 2.5rem 1.5rem; }
    .admin-stat-row    { grid-template-columns: 1fr; }
    .footer-grid       { grid-template-columns: 1fr 1fr; }
    .use-cases-grid    { grid-template-columns: 1fr; }
    .benefits-grid     { grid-template-columns: 1fr; }
    .steps-flow        { grid-template-columns: 1fr; }
    .metric-cards      { grid-template-columns: 1fr; }

    /* Mobile nav */
    .main-nav {
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        padding: 1rem;
        transform: translateY(-110%);
        transition: transform var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-md);
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; gap: .25rem; }
    .main-nav a { display: block; padding: .6rem 1rem; }
    .header-cta { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .diagram-flow { grid-template-columns: 1fr 1fr; }
    .hw-diagram { grid-template-columns: 1fr; }
}
