/* ===== Melanu Technologies — Dark Navy + Cyan Futuristic Theme ===== */
:root {
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #0f1f3d;
  --navy-700: #15294d;
  --navy-600: #1e3a5f;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --cyan-200: #a5f3fc;
  --cyan-50: #ecfeff;
  --ink-50: #f8fafc;
  --ink-100: #e2e8f0;
  --ink-300: #94a3b8;
  --ink-500: #64748b;
  --white: #ffffff;
  --bg: var(--navy-900);
  --surface: var(--navy-800);
  --surface-2: var(--navy-700);
  --border: rgba(6, 182, 212, 0.18);
  --border-strong: rgba(6, 182, 212, 0.4);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(6, 182, 212, 0.25);
  --radius: 12px;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink-100); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 700; color: var(--white); line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--white); }
p { margin-bottom: 1rem; color: var(--ink-300); }
a { color: var(--cyan-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan-300); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Background grid pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(6,182,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Navigation */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(10, 22, 40, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0.75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo img { height: 44px; width: 44px; }
.logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--white); letter-spacing: -0.01em; line-height: 1.1; }
.logo-text span { display: block; font-size: 0.62rem; font-weight: 600; color: var(--cyan-400); letter-spacing: 0.12em; margin-top: 2px; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--ink-100); font-weight: 500; font-size: 0.92rem; transition: color 0.2s; padding: 0.5rem 0; display: inline-block; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan-400); }

/* Dropdown */
.has-dropdown > a::after { content: ' ▾'; font-size: 0.7em; color: var(--cyan-400); }
.dropdown-menu { position: absolute; top: 100%; left: -1rem; min-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s; box-shadow: var(--shadow-lg); list-style: none; }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { margin: 0; }
.dropdown-menu a { display: block; padding: 0.6rem 0.9rem; border-radius: 8px; font-size: 0.88rem; color: var(--ink-100); }
.dropdown-menu a:hover { background: var(--navy-700); color: var(--cyan-300); }

.nav-cta { background: var(--cyan-500); color: var(--navy-900) !important; padding: 0.55rem 1.25rem; border-radius: 8px; font-weight: 700; box-shadow: 0 0 0 1px var(--cyan-400), 0 4px 12px rgba(6,182,212,0.3); }
.nav-cta:hover { background: var(--cyan-400); color: var(--navy-900) !important; box-shadow: 0 0 0 1px var(--cyan-300), 0 6px 16px rgba(6,182,212,0.4); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: all 0.25s; font-family: inherit; text-decoration: none; }
.btn-primary { background: var(--cyan-500); color: var(--navy-900); box-shadow: 0 4px 16px rgba(6,182,212,0.3); }
.btn-primary:hover { background: var(--cyan-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,182,212,0.5); }
.btn-outline { background: transparent; color: var(--cyan-400); border: 1.5px solid var(--cyan-500); }
.btn-outline:hover { background: var(--cyan-500); color: var(--navy-900); border-color: var(--cyan-500); }

/* Hero */
.hero { padding: 5rem 0 6rem; position: relative; overflow: hidden; background: radial-gradient(ellipse at top right, rgba(6,182,212,0.15), transparent 50%), radial-gradient(ellipse at bottom left, rgba(34,211,238,0.08), transparent 50%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-eyebrow { display: inline-block; background: rgba(6,182,212,0.15); color: var(--cyan-300); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.25rem; border: 1px solid var(--border-strong); }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--cyan-400); text-shadow: 0 0 30px rgba(6,182,212,0.4); }
.hero-lead { font-size: 1.15rem; color: var(--ink-300); margin-bottom: 2rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--cyan-400); display: block; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--ink-300); margin-top: 0.25rem; }

/* Hero animated visual */
.hero-visual { position: relative; width: 100%; aspect-ratio: 1.05/1; background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border-strong); }
.hero-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(6,182,212,0.3), transparent 45%), radial-gradient(circle at 70% 80%, rgba(34,211,238,0.2), transparent 45%); z-index: 1; }
.circuit-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.circuit-line { stroke: var(--cyan-300); stroke-width: 1.5; fill: none; stroke-dasharray: 6 4; animation: dashFlow 3s linear infinite; opacity: 0.7; }
@keyframes dashFlow { to { stroke-dashoffset: -20; } }
.circuit-node { fill: var(--cyan-300); filter: drop-shadow(0 0 6px var(--cyan-400)); animation: nodePulse 2s ease-in-out infinite; }
.circuit-node.delay-1 { animation-delay: 0.4s; }
.circuit-node.delay-2 { animation-delay: 0.8s; }
.circuit-node.delay-3 { animation-delay: 1.2s; }
@keyframes nodePulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.chip-rect { fill: rgba(6,182,212,0.08); stroke: var(--cyan-400); stroke-width: 1.5; }
.chip-label { fill: var(--cyan-200); font-family: 'Plus Jakarta Sans', monospace; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-anchor: middle; }
.float-icons-overlay { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; padding: 1.5rem; gap: 0.75rem; pointer-events: none; }
.float-icon { background: rgba(6,182,212,0.1); backdrop-filter: blur(10px); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border-strong); animation: floatY 4s ease-in-out infinite; color: var(--cyan-200); font-size: 0.7rem; font-weight: 600; text-align: center; padding: 0.4rem; }
.float-icon .ico { font-size: 1.4rem; margin-bottom: 0.2rem; }
.float-icon.f1 { animation-delay: 0s; } .float-icon.f2 { animation-delay: 0.5s; } .float-icon.f3 { animation-delay: 1s; }
.float-icon.f4 { animation-delay: 1.5s; } .float-icon.f5 { animation-delay: 2s; } .float-icon.f6 { animation-delay: 2.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--navy-950); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-eyebrow { display: inline-block; color: var(--cyan-400); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }
.section-head p { font-size: 1.05rem; color: var(--ink-300); }

/* Sector cards (image-only, NO icon overlay) */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.sector-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; cursor: pointer; }
.sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--cyan-500); }
.sector-img-wrap { height: 180px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); }
.sector-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sector-card:hover .sector-img-wrap img { transform: scale(1.05); }
.sector-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(10,22,40,0.7)); }
.sector-body { padding: 1.5rem; }
.sector-body h3 { margin-bottom: 0.5rem; color: var(--white); }
.sector-body p { font-size: 0.92rem; color: var(--ink-300); margin-bottom: 0; }

/* Generic Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: all 0.3s; }
.card:hover { border-color: var(--cyan-500); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.card-icon { width: 48px; height: 48px; background: rgba(6,182,212,0.15); border: 1px solid var(--border-strong); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--ink-300); margin-bottom: 0; }

/* Service cards with image */
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.service-card:hover { transform: translateY(-4px); border-color: var(--cyan-500); box-shadow: var(--shadow-glow); }
.service-img { height: 200px; overflow: hidden; background: var(--navy-700); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 1.75rem; }
.service-body h3 { color: var(--white); margin-bottom: 0.5rem; }
.service-body p { font-size: 0.95rem; color: var(--ink-300); margin-bottom: 1rem; }
.service-link { color: var(--cyan-400); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }

/* Carousel */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-700); aspect-ratio: 16/7; margin-bottom: 3rem; border: 1px solid var(--border); }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.carousel-slide { min-width: 100%; height: 100%; position: relative; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,13,26,0.95) 0%, rgba(6,13,26,0.3) 50%, transparent 100%); }
.carousel-caption { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 2; color: var(--white); }
.carousel-caption h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.3rem; }
.carousel-caption p { color: var(--cyan-200); font-size: 0.95rem; margin: 0; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(6,182,212,0.95); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--navy-900); z-index: 3; transition: all 0.2s; box-shadow: var(--shadow-md); }
.carousel-btn:hover { background: var(--cyan-300); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 1rem; } .carousel-btn.next { right: 1rem; }
.carousel-dots { position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.4rem; z-index: 3; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.3s; }
.carousel-dot.active { background: var(--cyan-400); width: 24px; border-radius: 4px; }

/* Product Cards */
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.product-card:hover { box-shadow: var(--shadow-glow); transform: translateY(-3px); border-color: var(--cyan-500); }
.product-header { background: linear-gradient(135deg, var(--cyan-500), #0891b2); color: var(--navy-900); padding: 1.25rem 1.5rem; }
.product-header h3 { color: var(--navy-900); margin: 0; font-size: 1.15rem; }
.product-body { padding: 1.5rem; }
.product-list { list-style: none; }
.product-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--ink-100); display: flex; align-items: center; gap: 0.5rem; }
.product-list li:last-child { border: none; }
.product-list li::before { content: '▸'; color: var(--cyan-400); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info-card { background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); color: var(--white); border-radius: var(--radius); padding: 2.5rem; position: sticky; top: 90px; border: 1px solid var(--border-strong); }
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: rgba(6,182,212,0.2); border: 1px solid var(--border-strong); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-item-label { font-size: 0.8rem; color: var(--cyan-300); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item a, .contact-item-value { color: var(--white); font-weight: 500; font-size: 0.95rem; display: block; }
.contact-item a:hover { color: var(--cyan-300); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.form-card h2 { color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-100); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: inherit; color: var(--white); background: var(--navy-900); transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-500); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(6,182,212,0.15); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-msg { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.9rem; display: none; }
.form-msg.success { background: rgba(34,197,94,0.15); color: #4ade80; display: block; border: 1px solid rgba(34,197,94,0.3); }
.form-msg.error { background: rgba(239,68,68,0.15); color: #f87171; display: block; border: 1px solid rgba(239,68,68,0.3); }

/* Floating buttons */
.floating-contacts { position: fixed; bottom: 1.5rem; right: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; z-index: 99; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.4rem; box-shadow: var(--shadow-lg); transition: transform 0.2s; border: none; cursor: pointer; text-decoration: none; }
.float-btn:hover { transform: scale(1.1); color: var(--white); }
.float-whatsapp { background: #25D366; }
.float-call { background: var(--cyan-500); color: var(--navy-900); }
.float-bot { background: var(--navy-700); border: 1px solid var(--cyan-500); color: var(--cyan-300); }

/* AI Chatbot */
.chatbot { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 380px; max-width: calc(100vw - 3rem); height: 540px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; z-index: 200; overflow: hidden; border: 1px solid var(--border-strong); }
.chatbot.open { display: flex; }
.chatbot-head { background: linear-gradient(135deg, var(--cyan-500), #0891b2); color: var(--navy-900); padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.chatbot-head-info { display: flex; align-items: center; gap: 0.75rem; }
.chatbot-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-900); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.chatbot-head h4 { color: var(--navy-900); margin: 0; font-size: 1rem; }
.chatbot-head small { font-size: 0.75rem; color: rgba(10,22,40,0.8); }
.chatbot-head small::before { content: '● '; color: var(--navy-800); }
.chatbot-close { background: rgba(10,22,40,0.2); border: none; color: var(--navy-900); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.chatbot-body { flex: 1; padding: 1rem; overflow-y: auto; background: var(--navy-900); scroll-behavior: smooth; }
.chat-msg { margin-bottom: 0.75rem; display: flex; animation: fadeUp 0.3s ease forwards; }
.chat-msg.bot .bubble { background: var(--surface); color: var(--ink-100); border-radius: 14px 14px 14px 4px; border: 1px solid var(--border); }
.chat-msg.user { justify-content: flex-end; }
.chat-msg.user .bubble { background: var(--cyan-500); color: var(--navy-900); border-radius: 14px 14px 4px 14px; }
.bubble { padding: 0.65rem 0.95rem; font-size: 0.92rem; max-width: 85%; line-height: 1.45; }
.bubble a { color: var(--cyan-300); text-decoration: underline; }
.chat-msg.user .bubble a { color: var(--navy-900); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300); animation: typingBounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; } .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-quick { padding: 0.5rem 1rem; display: flex; gap: 0.4rem; flex-wrap: wrap; background: var(--surface); border-top: 1px solid var(--border); }
.chat-quick button { background: rgba(6,182,212,0.15); color: var(--cyan-300); border: 1px solid var(--border); padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.78rem; cursor: pointer; font-family: inherit; font-weight: 500; transition: all 0.2s; }
.chat-quick button:hover { background: var(--cyan-500); color: var(--navy-900); border-color: var(--cyan-500); }
.chat-input-row { display: flex; gap: 0.5rem; padding: 0.75rem; background: var(--surface); border-top: 1px solid var(--border); }
.chat-input { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.9rem; font-family: inherit; outline: none; background: var(--navy-900); color: var(--white); }
.chat-input::placeholder { color: var(--ink-500); }
.chat-input:focus { border-color: var(--cyan-500); }
.chat-send { background: var(--cyan-500); color: var(--navy-900); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; flex-shrink: 0; font-weight: 700; }
.chat-send:hover { background: var(--cyan-300); }

/* Footer */
footer { background: var(--navy-950); color: var(--ink-300); padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a { color: var(--ink-300); font-size: 0.9rem; }
footer a:hover { color: var(--cyan-400); }
.footer-brand p { color: var(--ink-500); font-size: 0.9rem; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: var(--ink-500); }

/* Page header */
.page-header { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: var(--white); padding: 4rem 0 3rem; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-header::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(6,182,212,0.2), transparent 40%), radial-gradient(circle at 80% 50%, rgba(34,211,238,0.15), transparent 40%); }
.page-header > .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p { color: var(--cyan-200); font-size: 1.1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-300); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-300); }
.breadcrumb a:hover { color: var(--cyan-300); }

/* Solutions hero (BLDC, Auto) */
.solution-hero { padding: 5rem 0; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); position: relative; overflow: hidden; }
.solution-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(6,182,212,0.15), transparent 50%); }
.solution-hero .container { position: relative; z-index: 2; }
.solution-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.solution-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-strong); }
.solution-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* App tag list */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.tag { background: rgba(6,182,212,0.12); color: var(--cyan-300); padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.85rem; border: 1px solid var(--border); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* Responsive */
@media (max-width: 880px) {
  .hero-grid, .solution-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 1.5rem; border-bottom: 1px solid var(--border); display: none; gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .carousel { aspect-ratio: 4/3; }
  .carousel-caption h3 { font-size: 1.1rem; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 1rem; background: transparent; border: none; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .form-card, .contact-info-card { padding: 1.75rem; }
  .chatbot { width: calc(100vw - 2rem); right: 1rem; bottom: 1rem; height: 500px; }
}
