@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap");

/*==================================================
  Zee Links — Design System 2026
  Security-ops aesthetic: light editorial surfaces,
  deep midnight hero/CTA bands, cyan AI accent.
==================================================*/

:root {
    --primary: #1d4ed8;
    --primary-dark: #1739ab;
    --primary-soft: #e8eeff;
    --secondary: #070d1c;
    --secondary-2: #101a33;
    --accent: #06b6d4;
    --accent-soft: #dffaff;
    --success: #10b981;
    --warning: #f59e0b;

    --bg: #ffffff;
    --bg-alt: #f5f8fc;
    --bg-dark: #070d1c;
    --text: #0b1220;
    --text-muted: #55617a;
    --line: #e4e9f2;
    --line-dark: rgba(255, 255, 255, .12);

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 26px;
    --container: 1240px;
    --shadow: 0 18px 48px -24px rgba(11, 18, 32, .28);
    --shadow-lg: 0 32px 80px -32px rgba(11, 18, 32, .4);
    --glow: 0 0 0 1px rgba(6, 182, 212, .35), 0 18px 60px -20px rgba(6, 182, 212, .45);
    --transition: .32s cubic-bezier(.4, 0, .2, 1);

    --font-head: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .logo-text h2 {
    font-family: var(--font-head);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--text);
    font-weight: 700;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section-padding { padding: 5.5rem 0; }
.bg-soft { background: var(--bg-alt); }

/*========== Buttons ==========*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .95rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .97rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 14px 30px -14px rgba(29, 78, 216, .8); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.btn-whatsapp { background: #22c55e; color: #fff; }
.btn-whatsapp:hover { background: #16a34a; color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--secondary); }
.btn-light:hover { background: var(--accent-soft); color: var(--secondary); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/*========== Header ==========*/
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 999;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.header.sticky { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 18, 32, .5); }

.logo { display: flex; align-items: center; gap: .7rem; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo-text h2 { font-size: 1.15rem; margin: 0; }
.logo-text span { display: block; font-size: .68rem; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }

.navbar ul { display: flex; align-items: center; gap: .25rem; }
.navbar a {
    display: block;
    padding: .5rem .72rem;
    font-size: .93rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 999px;
}
.navbar a:hover, .navbar a.active { color: var(--primary); background: var(--primary-soft); }
.navbar a.nav-ai { color: #0e7490; }
.navbar a.nav-ai:hover { background: var(--accent-soft); color: #0e7490; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.social-btn {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--text-muted);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
.whatsapp-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    background: #22c55e; color: #fff;
    padding: .6rem 1.05rem; border-radius: 999px;
    font-weight: 600; font-size: .9rem;
}
.whatsapp-btn:hover { background: #16a34a; color: #fff; }
.mobile-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
}

/*========== Hero ==========*/
.hero {
    position: relative;
    min-height: min(92vh, 860px);
    display: flex;
    align-items: center;
    padding: 9rem 0 5rem;
    background: var(--bg-dark);
    color: #fff;
    overflow: hidden;
}
.hero-background { position: absolute; inset: 0; z-index: 0; }
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .55;
}
.hero-background::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(1000px 520px at 15% 25%, rgba(6, 182, 212, .3), transparent 60%),
        linear-gradient(115deg, rgba(7, 13, 28, .95) 12%, rgba(7, 13, 28, .78) 52%, rgba(7, 13, 28, .92));
}
.grid-overlay {
    position: absolute; inset: 0; z-index: 1; opacity: .3;
    background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 60% 40%, #000, transparent 75%);
}
.bg-circle { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 1; }
.circle-1 { width: 420px; height: 420px; background: rgba(6, 182, 212, .28); top: -120px; right: -80px; }
.circle-2 { width: 340px; height: 340px; background: rgba(29, 78, 216, .35); bottom: -120px; left: -60px; }
.circle-3 { width: 240px; height: 240px; background: rgba(6, 182, 212, .18); top: 45%; left: 45%; }

.hero-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-content { max-width: 660px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .45rem 1rem; border-radius: 999px;
    background: rgba(6, 182, 212, .14);
    border: 1px solid rgba(6, 182, 212, .4);
    color: #7ff0ff;
    font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); color: #fff; }
.hero h1 .grad {
    background: linear-gradient(100deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin-top: 1.2rem; font-size: 1.08rem; color: rgba(233, 240, 255, .8); max-width: 56ch; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-features { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; }
.feature { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(233, 240, 255, .78); }
.feature i { color: var(--accent); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; max-width: 520px; }
.hero-stat { border-left: 2px solid rgba(6, 182, 212, .5); padding-left: .9rem; }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 1.65rem; color: #fff; }
.hero-stat span { font-size: .82rem; color: rgba(233, 240, 255, .65); }

.tech-card {
    position: relative; z-index: 2;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg);
    padding: 1rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}
.tech-card video, .tech-card img { border-radius: var(--radius); width: 100%; }
.tech-card .card-header { display: flex; align-items: center; gap: .5rem; padding: .3rem .6rem .8rem; font-size: .82rem; color: rgba(233, 240, 255, .8); font-family: var(--font-head); }
.card-header i { color: var(--accent); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .22); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); } }

.scroll-indicator { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; color: rgba(233, 240, 255, .6); }
.scroll-indicator span { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-indicator i { animation: bounce 1.8s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/*========== Section headings ==========*/
.section-heading { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-tag {
    display: inline-block; padding: .35rem .9rem; border-radius: 999px;
    background: var(--accent-soft); color: #0e7490;
    font-family: var(--font-head); font-size: .78rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem;
}
.section-heading h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-heading p { margin-top: .9rem; color: var(--text-muted); }
.heading-left { margin-left: 0; text-align: left; }

/*========== Brands strip ==========*/
.brands { padding: 2.6rem 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.brands-showcase { text-align: center; }
.brands-showcase p, .brands > .container > p { color: var(--text-muted); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.brands-slider, .brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1rem; }
.brand-item, .brand-box, .brand-list span {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.15rem; border-radius: 999px;
    border: 1px solid var(--line); background: #fff;
    font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text-muted);
    transition: var(--transition);
}
.brand-item:hover, .brand-box span:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }

/*========== Cards (shared) ==========*/
.services-grid, .why-grid, .knowledge-grid, .tools-grid, .products-grid, .portfolio-grid, .testimonial-grid, .device-grid, .ai-grid, .industry-grid, .step-grid {
    display: grid;
    gap: 1.4rem;
}
.services-grid, .why-grid, .ai-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.knowledge-grid, .tools-grid, .products-grid, .portfolio-grid, .testimonial-grid, .industry-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.device-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.step-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.service-card, .why-card, .knowledge-card, .tool-card, .product-card, .portfolio-card, .testimonial-card, .about-item, .info-card, .ai-card, .industry-card, .step-card, .coverage-box, .experience-box, .stat-box, .device-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: var(--transition);
}
.service-card, .why-card, .ai-card, .industry-card, .step-card { padding: 1.9rem 1.7rem; position: relative; overflow: hidden; }
.service-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover, .why-card:hover, .knowledge-card:hover, .tool-card:hover, .product-card:hover, .portfolio-card:hover, .about-item:hover, .device-item:hover, .ai-card:hover, .industry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, .5);
    box-shadow: var(--shadow);
}

.service-icon, .tool-icon, .why-card i, .about-item i, .knowledge-card i, .info-card i, .device-item i, .ai-card > i, .tool-hub-card > i {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}
.service-icon i, .tool-icon i { font-size: 1.25rem; color: var(--primary); }
.service-card h3, .why-card h3, .ai-card h3, .industry-card h3, .step-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.service-card p, .why-card p, .ai-card p, .industry-card p, .step-card p, .about-item p, .device-item p, .knowledge-card p, .featured-tool p { color: var(--text-muted); font-size: .95rem; }
.service-card ul, .featured-service li { margin-top: .9rem; display: grid; gap: .4rem; }
.service-card li, .featured-service li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--text-muted); }
.service-card li::before, .featured-service li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 0; color: var(--accent); font-size: .78rem;
}
.featured-service, .featured-tool { border: 1px solid rgba(6, 182, 212, .45); box-shadow: var(--glow); }
.featured-service .service-icon, .featured-tool .tool-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.featured-service .service-icon i, .featured-tool .tool-icon i { color: #fff; }

/*========== AI analytics section ==========*/
.ai-band { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.ai-band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(760px 400px at 80% 10%, rgba(6, 182, 212, .22), transparent 65%);
}
.ai-band .container { position: relative; z-index: 1; }
.ai-band h2, .ai-band h3 { color: #fff; }
.ai-band .section-heading p, .ai-band p { color: rgba(233, 240, 255, .78); }
.ai-band .ai-card, .ai-band .step-card {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .14);
}
.ai-band .ai-card > i { background: rgba(6, 182, 212, .16); color: #67e8f9; }
.ai-band .ai-card p { color: rgba(233, 240, 255, .72); }

.video-showcase { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.video-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    background: #04070f;
    box-shadow: var(--shadow-lg);
}
.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video-caption { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 1.2rem; font-size: .85rem; color: rgba(233, 240, 255, .7); }
.video-caption span { display: inline-flex; align-items: center; gap: .4rem; }
.video-caption i { color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/*========== Steps ==========*/
.step-card { text-align: left; }
.step-num {
    font-family: var(--font-head); font-size: .82rem; font-weight: 700;
    color: var(--accent); letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: .6rem;
}

/*========== Stats ==========*/
.stats { background: var(--bg-alt); padding: 3.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; }
.stat-box { text-align: center; padding: 1.6rem 1rem; }
.stat-box h2 { font-size: 2.3rem; color: var(--primary); }
.stat-box p { color: var(--text-muted); font-size: .92rem; }

/*========== About ==========*/
.about-wrapper, .contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-content h3 { font-size: 1.8rem; margin-bottom: .8rem; }
.about-content > p { color: var(--text-muted); }
.about-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.about-item { padding: 1.2rem 1.3rem; }
.about-item h4 { font-size: 1.03rem; }
.about-item i { margin-bottom: .7rem; }
.about-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.about-buttons .btn { min-width: 0; }
.about-image { position: relative; }
.image-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.image-card img { width: 100%; transition: var(--transition); }
.image-card:hover img { transform: scale(1.04); }
.experience-box {
    position: absolute; bottom: -22px; left: -18px;
    padding: 1.1rem 1.4rem; text-align: center;
    background: var(--secondary); color: #fff; border: none;
    box-shadow: var(--shadow-lg);
}
.experience-box h2 { color: #fff; font-size: 2rem; }
.experience-box span { font-size: .82rem; color: rgba(233, 240, 255, .75); }

/*========== Products / tools / knowledge ==========*/
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-alt); }
.product-content { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-content h3 { font-size: 1.05rem; }
.product-content p { font-size: .9rem; color: var(--text-muted); }
.product-brand, .product-badge, .project-type, .tool-label {
    display: inline-block; padding: .2rem .65rem; border-radius: 999px;
    font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    background: var(--primary-soft); color: var(--primary); width: fit-content;
}
.product-badge { background: var(--accent-soft); color: #0e7490; }
.product-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.product-buttons .btn { padding: .6rem 1rem; font-size: .85rem; }
.products-footer { text-align: center; margin-top: 2.4rem; }

.tool-card, .knowledge-card { padding: 1.7rem 1.5rem; display: block; }
.tool-card h3, .knowledge-card h3 { font-size: 1.06rem; margin-bottom: .4rem; color: var(--text); }
.tool-hub-card > i { margin-bottom: 1rem; }

/*========== Portfolio ==========*/
.portfolio-card { overflow: hidden; }
.portfolio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: var(--transition); }
.portfolio-content { padding: 1.2rem 1.3rem 1.5rem; }
.portfolio-content h3 { font-size: 1.06rem; margin: .5rem 0 .35rem; }
.portfolio-content p { color: var(--text-muted); font-size: .92rem; }

/*========== Testimonials ==========*/
.testimonial-card { padding: 1.7rem 1.6rem; }
.testimonial-card h4 { margin-top: 1rem; font-size: 1rem; }
.testimonial-card p { color: var(--text-muted); font-size: .95rem; }
.stars { color: var(--warning); font-size: .9rem; margin-bottom: .8rem; }

/*========== Coverage ==========*/
.coverage { padding-top: 0; }
.coverage-box { padding: 2rem; text-align: center; }
.coverage-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.coverage-tags span { padding: .4rem .9rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .85rem; color: var(--text-muted); }

/*========== Contact ==========*/
.contact-info { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; }
.info-card i { margin: 0; width: 46px; height: 46px; flex: 0 0 46px; font-size: 1.05rem; }
.info-card h4 { font-size: 1rem; }
.info-card p, .info-card a { font-size: .93rem; color: var(--text-muted); }
.contact-form form {
    display: grid; gap: 1rem;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow);
}
.form-group { display: grid; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: .85rem 1rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .95rem; color: var(--text);
    background: #fff; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-section iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.15); }

/*========== CTA bands ==========*/
.cta, .inner-cta { padding: 4.5rem 0; background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.cta::before, .inner-cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(680px 340px at 20% 20%, rgba(6, 182, 212, .28), transparent 60%);
}
.cta-box, .inner-cta .container { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.cta-box h2, .inner-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-box p, .inner-cta p { color: rgba(233, 240, 255, .78); margin-top: .8rem; }
.cta-buttons, .inner-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.inner-cta .btn-outline { border-color: rgba(255, 255, 255, .3); color: #fff; }
.inner-cta .btn-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }

/*========== Breadcrumbs ==========*/
.breadcrumbs {
    padding: 6.5rem 0 .6rem;
    font-size: .85rem; color: var(--text-muted);
    max-width: var(--container); margin: 0 auto;
    padding-left: 1.25rem; padding-right: 1.25rem;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs + main.knowledge-page, .breadcrumbs + main.article-page, .breadcrumbs + .knowledge-page, .breadcrumbs + .article-page { padding-top: 1rem; }
.breadcrumbs + .tool-page .tool-hero, .breadcrumbs + main.tool-page .tool-hero { padding-top: 1.5rem; }
.knowledge-page > .container > h2 { margin-top: 2rem; }
.knowledge-intro { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.knowledge-intro h2 { font-size: 1.9rem; }
.knowledge-intro p { color: var(--text-muted); }

.related-guides { margin-top: 2.5rem; padding: 1.6rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.related-guides h2 { font-size: 1.15rem; margin-bottom: .8rem; }
.related-guides ul { display: grid; gap: .45rem; }
.related-guides li a { font-size: .95rem; }

/*========== Footer ==========*/
.footer { background: var(--secondary); color: rgba(233, 240, 255, .72); padding: 4rem 0 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; }
.footer-column h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1rem; }
.footer-column p { font-size: .92rem; }
.footer-column ul { display: grid; gap: .5rem; }
.footer-column li, .footer-column a { font-size: .92rem; color: rgba(233, 240, 255, .68); }
.footer-column a:hover { color: var(--accent); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid var(--line-dark); color: #fff;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #04070f; }
.footer hr { border: none; border-top: 1px solid var(--line-dark); margin: 2.4rem 0 1.2rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; font-size: .87rem; }
.footer-links { display: flex; gap: 1.2rem; }

/*========== Floating actions ==========*/
.floating-whatsapp, .back-to-top {
    position: fixed; right: 1.1rem; z-index: 900;
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    border: none; cursor: pointer;
    box-shadow: var(--shadow);
}
.floating-whatsapp { bottom: 5.6rem; background: #22c55e; color: #fff; font-size: 1.4rem; }
.back-to-top { bottom: 1.1rem; background: var(--primary); color: #fff; font-size: 1rem; display: none; }
.floating-whatsapp:hover, .back-to-top:hover { transform: translateY(-3px); color: #fff; }

.mobile-bar { display: none; }

/*========== Toast ==========*/
.toast {
    position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 140%);
    padding: .85rem 1.3rem; border-radius: 999px;
    background: var(--secondary); color: #fff; font-size: .9rem;
    z-index: 1200; transition: var(--transition); box-shadow: var(--shadow-lg);
}
.toast.show { transform: translate(-50%, 0); }
.toast.success { background: #15803d; }
.toast.error { background: #b91c1c; }

/*========== 404 ==========*/
.error-page { min-height: 74vh; display: grid; place-items: center; text-align: center; padding: 8rem 1.25rem 4rem; }
.error-page .error-code { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--primary); }
.error-page h1 { font-size: 1.9rem; margin-top: .6rem; }
.error-page p { color: var(--text-muted); margin-top: .7rem; }
.error-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.error-links { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.error-links a { font-size: .9rem; }

/*========== Reveal animation ==========*/
.section-heading, .service-card, .product-card, .tool-card, .knowledge-card,
.portfolio-card, .testimonial-card, .about-item, .why-card, .ai-card, .industry-card, .step-card {
    opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease;
}
.show { opacity: 1 !important; transform: none !important; }
html:not(.js-enabled) .why-card,
html:not(.js-enabled) .section-heading,
html:not(.js-enabled) .service-card,
html:not(.js-enabled) .product-card,
html:not(.js-enabled) .tool-card,
html:not(.js-enabled) .knowledge-card,
html:not(.js-enabled) .portfolio-card,
html:not(.js-enabled) .testimonial-card,
html:not(.js-enabled) .about-item,
html:not(.js-enabled) .ai-card,
html:not(.js-enabled) .industry-card,
html:not(.js-enabled) .step-card { opacity: 1; transform: none; }

.animate-left { animation: fadeLeft .8s ease both; }
.animate-right { animation: fadeRight .9s ease both; }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .section-heading, .service-card, .product-card, .tool-card, .knowledge-card,
    .portfolio-card, .testimonial-card, .about-item, .why-card, .ai-card, .industry-card, .step-card { opacity: 1; transform: none; }
}

/*========== Responsive ==========*/
@media (max-width: 1080px) {
    .navbar a { padding: .5rem .55rem; font-size: .88rem; }
    .logo-text span { display: none; }
}

@media (max-width: 960px) {
    .hero-container, .about-wrapper, .contact-wrapper, .split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .experience-box { left: 0; bottom: -16px; }
    .mobile-toggle { display: grid; place-items: center; }
    .navbar {
        position: fixed; inset: 76px 0 auto 0;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: 0; overflow: hidden; transition: max-height .35s ease;
    }
    .navbar.active { max-height: calc(100vh - 76px); overflow-y: auto; }
    .navbar ul { flex-direction: column; align-items: stretch; gap: .1rem; padding: 1rem 1.25rem 1.4rem; }
    .navbar a { padding: .8rem .9rem; font-size: 1rem; border-radius: var(--radius-sm); }
    .whatsapp-btn span, .whatsapp-btn { font-size: .85rem; }
    .social-btn { display: none; }
    .hero { min-height: auto; padding: 7.5rem 0 4rem; }
    .section-padding { padding: 4rem 0; }
}

@media (max-width: 640px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .btn { width: 100%; justify-content: center; }
    .header-actions .whatsapp-btn { display: none; }
    .breadcrumbs { padding-top: 5.6rem; }
    body { padding-bottom: 66px; }
    .floating-whatsapp { bottom: 5.2rem; }
    .back-to-top { bottom: 5.2rem; right: auto; left: 1.1rem; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr;
        position: fixed; inset: auto 0 0 0; z-index: 950;
        background: #fff; border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px -18px rgba(11, 18, 32, .6);
    }
    .mobile-bar a {
        display: flex; align-items: center; justify-content: center; gap: .5rem;
        padding: 1rem .5rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
        color: var(--text);
    }
    .mobile-bar a + a { border-left: 1px solid var(--line); color: #16a34a; }
}
