/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent-gray: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-gray: #f8f8f8;
    --border-gray: #e0e0e0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background: var(--primary-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 96px;
    width: auto;
}

/* SVG logo styling - ensures SVGs scale properly */
.logo-img svg,
.footer-logo svg {
    height: 100%;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--primary-black);
}

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

.nav-link {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-black);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary-black);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 2rem 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-background {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 48%, rgba(0,0,0,0.05) 49%, rgba(0,0,0,0.05) 51%, transparent 52%),
        linear-gradient(45deg, transparent 48%, rgba(0,0,0,0.05) 49%, rgba(0,0,0,0.05) 51%, transparent 52%);
    background-size: 40px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.geometric-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    stroke: var(--primary-black);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-black);
    color: var(--primary-white);
}

.btn-primary:hover {
    background: var(--accent-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
}

.btn-secondary:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-lead {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--accent-gray);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.expertise-item {
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-black);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.expertise-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-white);
}

.expertise-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.expertise-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   Products Section
   ======================================== */
.products {
    background: var(--primary-white);
}

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

.product-card {
    background: var(--primary-white);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-black), transparent);
    transform: translateX(-100%);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-black);
}

.product-card:hover::before {
    transform: translateX(100%);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-white);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-gray);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-gray);
}

.product-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition);
}

.product-link:hover {
    gap: 0.5rem;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--bg-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    min-width: 50px;
    height: 50px;
    background: var(--primary-black);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-white);
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--primary-white);
    transition: var(--transition);
}

/* Prevent placeholder text from overlapping with floating labels */
.form-input::placeholder {
    color: transparent;
}
.form-input:focus::placeholder {
    color: transparent;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-black);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--primary-white);
    padding: 0 0.5rem;
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-gray);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 96px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1); /* Makes logo white in dark footer */
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--primary-white);
        box-shadow: var(--shadow-md);
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 100px 1.5rem 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   overrides
   ======================================== */

:root {
    /* Core brand feel – adjust these to your taste */
    --ec-bg: #020617;            /* Deep slate / near-black */
    --ec-bg-soft: #020617;
    --ec-surface: #020617;       /* Card background */
    --ec-surface-soft: #020617;
    --ec-border-subtle: rgba(148, 163, 184, 0.18);

    --ec-text: #e5e7eb;
    --ec-text-soft: #9ca3af;
    --ec-text-muted: #6b7280;

    /* Accent – “ether field” green / teal vibe */
    --ec-accent: #22c55e;
    --ec-accent-soft: rgba(34, 197, 94, 0.18);

    --ec-radius-lg: 1.25rem;
    --ec-radius-xl: 1.75rem;
    --ec-blur-soft: 40px;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.14), transparent 60%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 55%),
        var(--ec-bg);
    color: var(--ec-text);
    -webkit-font-smoothing: antialiased;
}

section {
    position: relative;
    overflow: hidden;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--ec-accent);
    font-weight: 600;
}

.section-title {
    color: #f9fafb;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--ec-text-soft);
    max-width: 680px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    background: radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.16), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(15, 118, 110, 0.18), transparent 55%),
                var(--ec-bg);
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #f9fafb;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 0.975rem;
    color: var(--ec-text-soft);
    max-width: 32rem;
}

.gradient-text {
    background: linear-gradient(120deg, #a7f3d0, #22c55e, #38bdf8);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.hero-visual {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-background {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    border-radius: var(--ec-radius-xl);
    background:
        radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(34, 197, 94, 0.26), transparent 55%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(5, 15, 30, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow:
        0 24px 80px rgba(15, 23, 42, 0.9),
        0 0 60px rgba(34, 197, 94, 0.3);
    overflow: hidden;
}

/* Circuit lines */
.geometric-background::before,
.geometric-background::after {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.25);
    mask-image: radial-gradient(circle at top, black 30%, transparent 90%);
}

.geometric-background::after {
    inset: 28%;
    border-color: rgba(34, 197, 94, 0.45);
    opacity: 0.75;
    filter: blur(0.3px);
}

/* Floating nodes inside the ether */
.geometric-background .node {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #bbf7d0;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.9);
}

/* If you want some default nodes even without HTML, you can fake them: */
.geometric-background::marker { content: ""; } /* noop just to avoid validator complaints */

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.75;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: var(--ec-text-muted);
    animation: ec-bounce 1.8s infinite;
}

@keyframes ec-bounce {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 0.55;
    }
    50% {
        transform: translate(-50%, 6px);
        opacity: 1;
    }
}

.btn {
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    transition: all 0.18s ease-out;
}

.btn-primary {
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.7), rgba(16, 185, 129, 1));
    border-color: rgba(34, 197, 94, 0.9);
    color: #020617;
    box-shadow:
        0 12px 30px rgba(16, 185, 129, 0.35),
        0 0 12px rgba(34, 197, 94, 0.8);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 40px rgba(16, 185, 129, 0.5),
        0 0 18px rgba(34, 197, 94, 0.9);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--ec-text-soft);
}

.btn-secondary:hover {
    border-color: rgba(148, 163, 184, 0.9);
    color: #e5e7eb;
    background: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(15,23,42,1));
}

.products {
    padding: 5rem 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.12), transparent 50%),
        linear-gradient(to bottom, #020617, #020617);
}

.products-grid {
    display: grid;
    gap: 1.75rem;
}

/* Tablets & up */
@media (min-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.product-card {
    position: relative;
    padding: 1.75rem 1.5rem 1.7rem;
    border-radius: var(--ec-radius-lg);
    background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.22), transparent 60%),
                linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top, rgba(34, 197, 94, 0.18), transparent 60%),
        radial-gradient(circle at bottom, rgba(59, 130, 246, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease-out;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 1),
        0 0 32px rgba(34, 197, 94, 0.5);
}

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

.product-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: radial-gradient(circle at 30% 0, #bbf7d0, #22c55e);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.75);
    color: #020617;
}

.product-title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: #e5e7eb;
}

.product-subtitle {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ec-text-muted);
}

.product-description {
    font-size: 0.9rem;
    color: var(--ec-text-soft);
    margin-bottom: 1.1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.feature-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--ec-text-soft);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
}

.product-link {
    font-size: 0.85rem;
    color: #a7f3d0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.product-link:hover {
    text-decoration: underline;
}

/* Flagship product highlight */
.product-card-flagship {
    grid-column: 1 / -1;
    border-color: rgba(34, 197, 94, 0.45);
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 55%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
}

.flagship-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.65);
    color: #bbf7d0;
    margin-bottom: 1rem;
}

.flagship-body {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .flagship-body {
        grid-template-columns: auto 1fr auto;
        align-items: start;
        gap: 1.75rem;
    }

    .flagship-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
        padding-top: 0.25rem;
        min-width: 11rem;
    }
}

.flagship-secondary-link {
    font-size: 0.82rem;
    color: var(--ec-text-muted);
    text-decoration: none;
}

.flagship-secondary-link:hover {
    color: #e5e7eb;
    text-decoration: underline;
}

.about {
    padding: 5rem 0 3.5rem;
    background: radial-gradient(circle at 85% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
                #020617;
}

.about-content {
    max-width: 900px;
}

.about-lead {
    font-size: 1rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.about-description {
    color: var(--ec-text-soft);
    font-size: 0.95rem;
}

/* Contact section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #020617, #020617);
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.contact-content {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .contact-content {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    }
}

.contact-info .contact-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 0, rgba(34, 197, 94, 0.15), rgba(15, 23, 42, 1));
    color: #a7f3d0;
}

.contact-form-wrapper {
    padding: 1.5rem;
    border-radius: var(--ec-radius-lg);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

/* Inputs */
.form-group {
    position: relative;
    margin-bottom: 1.1rem;
}

.form-input {
    width: 100%;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-input:focus {
    border-color: rgba(34, 197, 94, 0.8);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.6);
    background: rgba(15, 23, 42, 1);
}

.form-label {
    position: absolute;
    left: 0.85rem;
    top: 0.4rem;
    font-size: 0.7rem;
    color: var(--ec-text-muted);
    pointer-events: none;
}

.footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: #020617;
    padding: 2.5rem 0 1.75rem;
    color: var(--ec-text-muted);
}

.footer-tagline {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--ec-text-soft);
}

.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.footer-links a {
    color: var(--ec-text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #e5e7eb;
}

/* --- Ethercircuit: circuit pattern in navbar --- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
        rgba(2, 6, 23, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

/* Circuit overlay */
.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./circuit-pattern.svg");
    background-size: 160px 160px;
    background-repeat: repeat;
    opacity: 0.35;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: -1;
}

/* Ensure nav content stays above pattern */
.nav-container {
    position: relative;
    z-index: 1;
}

/* --- Ethercircuit: footer circuit pattern --- */

.footer {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
                #020617;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./circuit-pattern.svg");
    background-size: 160px 160px;
    background-repeat: repeat;
    opacity: 0.25;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.footer-content,
.footer-bottom {
    position: relative;
    z-index: 1;
}

/* --- Ethercircuit: Brand Guide section --- */

.brand-guide {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
        #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.brand-grid {
    display: grid;
    gap: 1.75rem;
    margin-top: 2rem;
}

@media (min-width: 900px) {
    .brand-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr);
    }
}

.brand-card {
    border-radius: 1.25rem;
    padding: 1.5rem 1.4rem 1.4rem;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 60%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.brand-card-title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #e5e7eb;
}

.brand-card-text {
    font-size: 0.9rem;
    color: var(--ec-text-soft);
    margin-bottom: 1.1rem;
}

/* Swatches */
.brand-swatches {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.brand-swatch {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-swatch-color {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.75);
}

.brand-swatch-name {
    font-size: 0.85rem;
    color: #f9fafb;
}

.brand-swatch-code {
    font-size: 0.8rem;
    color: var(--ec-text-muted);
}

.brand-swatch-usage {
    font-size: 0.78rem;
    color: var(--ec-text-soft);
}

/* Typography card */
.brand-typography {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.brand-type-sample {
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.brand-type-label {
    font-size: 0.75rem;
    color: var(--ec-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.2rem;
}

.brand-type-name {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.brand-type-meta {
    font-size: 0.78rem;
    color: var(--ec-text-soft);
}

.brand-type-usage {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
    font-size: 0.82rem;
    color: var(--ec-text-soft);
}

.brand-type-usage li + li {
    margin-top: 0.25rem;
}

/* Motifs list */
.brand-motifs {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
    font-size: 0.82rem;
    color: var(--ec-text-soft);
}

.brand-motifs li + li {
    margin-top: 0.3rem;
}

/* --- Demo page tweaks --- */

.demo-hero {
    min-height: 70vh;
    padding-top: 6.5rem;
}

.demo-card {
    /* reusing product-card base, just a tiny tweak if you want */
}

.demo-highlights {
    list-style: disc;
    padding-left: 1.1rem;
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--ec-text-soft);
}

.demo-highlights li + li {
    margin-top: 0.25rem;
}

.demo-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.demo-secondary-link {
    font-size: 0.8rem;
    color: var(--ec-text-muted);
    text-decoration: none;
}

.demo-secondary-link:hover {
    color: #e5e7eb;
    text-decoration: underline;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
    margin-bottom: 0.4rem;
}

.demos-section {
    padding-top: 4rem;
}

.demos-how {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.demo-steps {
    list-style: decimal;
    padding-left: 1.2rem;
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--ec-text-soft);
}

.demo-steps li + li {
    margin-top: 0.25rem;
}

/* Active nav link on demo page */
.nav-link-active {
    color: #a7f3d0;
}
/* --- Demo page tweaks --- */

.demo-hero {
    min-height: 70vh;
    padding-top: 6.5rem;
}

.demo-card {
    /* reusing product-card base, just a tiny tweak if you want */
}

.demo-highlights {
    list-style: disc;
    padding-left: 1.1rem;
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--ec-text-soft);
}

.demo-highlights li + li {
    margin-top: 0.25rem;
}

.demo-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.demo-secondary-link {
    font-size: 0.8rem;
    color: var(--ec-text-muted);
    text-decoration: none;
}

.demo-secondary-link:hover {
    color: #e5e7eb;
    text-decoration: underline;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
    margin-bottom: 0.4rem;
}

.demos-section {
    padding-top: 4rem;
}

.demos-how {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.demo-steps {
    list-style: decimal;
    padding-left: 1.2rem;
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--ec-text-soft);
}

.demo-steps li + li {
    margin-top: 0.25rem;
}

/* Active nav link on demo page */
.nav-link-active {
    color: #a7f3d0;
}

/* === Fix navbar contrast === */

/* Make brand text light on dark background */
.nav-logo .logo-text {
    color: #f9fafb;                  /* bright */
    font-weight: 600;
}

/* Invert logo so it matches footer treatment */
.navbar .logo-img,
.footer .footer-logo {
    filter: invert(1) brightness(1.2) contrast(1.1);
}

/* Nav links: light by default, accent on hover/active */
.nav-menu .nav-link {
    color: #e5e7eb;                  /* light grey */
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-menu .nav-link:hover {
    color: #a7f3d0;                  /* ether green tint */
}

.nav-menu .nav-link.nav-link-active {
    color: #a7f3d0;
}

/* Slightly soften the circuit overlay so it doesn't darken too much */
.navbar::before {
    opacity: 0.18;                   /* was 0.25–0.35, reduce for readability */
}

/* ========================================
   Legal / Policy Pages
   ======================================== */
.legal-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    background: var(--primary-white);
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-meta {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.legal-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
    color: #333;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-content a {
    color: var(--primary-black);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--text-gray);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.legal-back:hover {
    color: var(--primary-black);
}

/* ========================================
   Ethercircuit Auto Spares
   ======================================== */
.auto-spares-hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
}

.hero-subtitle-emphasis {
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.hero-body {
    font-size: 0.95rem;
    color: var(--ec-text-soft);
    line-height: 1.75;
    max-width: 36rem;
    margin-bottom: 0.85rem;
}

.auto-spares-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-spares-svg {
    width: 78%;
    max-width: 280px;
    height: auto;
}

.auto-spares-trust {
    padding: 2rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.14), transparent 60%),
                #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.trust-statement {
    text-align: center;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: #e5e7eb;
    max-width: 52rem;
    margin: 0 auto;
    line-height: 1.6;
}

.auto-spares-services {
    padding-top: 4rem;
}

.auto-spares-services-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .auto-spares-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .auto-spares-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.auto-spares-process {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.auto-spares-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
    max-width: 900px;
    margin-inline: auto;
}

@media (min-width: 900px) {
    .auto-spares-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.process-step {
    padding: 1.5rem 1.35rem;
    border-radius: var(--ec-radius-lg);
    background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.22), transparent 60%),
                linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #020617;
    background: radial-gradient(circle at 30% 0, #bbf7d0, #22c55e);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.55);
}

.process-step h3 {
    font-size: 1rem;
    color: #f9fafb;
    margin-bottom: 0.55rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--ec-text-soft);
    line-height: 1.7;
    margin: 0;
}

.auto-spares-tech {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.auto-spares-tech .about-content {
    text-align: center;
    margin-inline: auto;
}

.auto-spares-tech .product-link {
    display: inline-flex;
    margin-top: 1.25rem;
}

.auto-spares-cta {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.auto-spares-cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.auto-spares-cta-inner .section-subtitle {
    margin: 0 auto 1.75rem;
}

.whatsapp-config-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--ec-text-muted);
}

.whatsapp-cta.is-unconfigured {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.footer-division-note {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: var(--ec-text-muted);
    max-width: 22rem;
    line-height: 1.55;
}
