/* === Insighttech — Production Build (Blue palette, responsive) === */
:root {
    --bg: #0b0f1a;
    --bg-soft: #0f1524;
    --card: #11192b;
    --text: #e6edf7;
    --muted: #9fb0c9;
    --brand-start: #0ea5e9;
    --brand-end: #2563eb;
    --ring: rgba(37, 99, 235, .35);
    --step-1: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
}

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

html,
body {
    height: 100%
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative
}

body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-image: url('insighttech_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none
}

body::after {
    content: '';
    position: fixed;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-image: url('insighttech_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.06;
    z-index: -1;
    pointer-events: none
}

a {
    color: inherit;
    text-decoration: none
}

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

/* Light Theme */
body.light {
    --bg: #f6f7fb;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --text: #0e1320;
    --muted: #5b6b85;
    --ring: rgba(14, 165, 233, .2)
}

body.light::before {
    opacity: 0.02
}

body.light::after {
    opacity: 0.015
}

body.light .navbar {
    background: rgba(255, 255, 255, .98);
    border-bottom: 2px solid rgba(14, 165, 233, .3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1)
}

body.light .nav-links a {
    color: var(--muted)
}

body.light .chip {
    border: 1px solid rgba(0, 0, 0, .12);
    color: var(--muted)
}

body.light .btn {
    border: 1px solid rgba(0, 0, 0, .12)
}

body.light .card {
    border: 1px solid rgba(0, 0, 0, .08)
}

body.light .input,
body.light textarea,
body.light select {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .12);
    color: var(--text)
}

body.light .input:focus,
body.light textarea:focus,
body.light select:focus {
    border-color: var(--brand-start)
}

body.light .social-links a {
    background: linear-gradient(135deg, rgba(14, 165, 233, .15), rgba(37, 99, 235, .08));
    border: 2px solid rgba(14, 165, 233, .3);
    color: var(--brand-start);
    box-shadow: 0 4px 15px rgba(14, 165, 233, .15)
}

body.light .social-links a:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, .25), rgba(37, 99, 235, .15));
    border-color: rgba(14, 165, 233, .5);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(14, 165, 233, .3)
}

body.light .address-info h5 {
    color: var(--text)
}

body.light .address-info p {
    color: var(--muted)
}

body.light .contact-intro p {
    color: var(--muted)
}

body.light .case {
    border: 1px solid rgba(0, 0, 0, .08);
    background: linear-gradient(135deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .01))
}

body.light .tag {
    border: 1px solid rgba(0, 0, 0, .12);
    color: var(--brand-start)
}

body.light .kicker {
    color: var(--brand-start)
}

body.light .badge {
    background: rgba(14, 165, 233, .1);
    border: 1px solid rgba(14, 165, 233, .2);
    color: var(--brand-start)
}

body.light .hero-card {
    background: linear-gradient(180deg, rgba(14, 165, 233, .08), rgba(37, 99, 235, .04));
    border: 1px solid rgba(0, 0, 0, .08)
}

body.light .about-card {
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, .08)
}

body.light .about-card:hover {
    border-color: rgba(14, 165, 233, .2)
}

/* Light Theme Footer Social Links */
body.light .brand-text {
    background: linear-gradient(135deg, #0ea5e9, #2563eb, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

body.light .brand-text:hover {
    background: linear-gradient(135deg, #00d4ff, #0ea5e9, #2563eb);
    -webkit-background-clip: text;
    background-clip: text
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(11, 15, 26, .98);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(14, 165, 233, .3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
    min-height: 60px
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 60px
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 900;
    padding: 0
}

.brand-text {
    font-size: 1.8rem;
    letter-spacing: .5px;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end), #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    margin: 0;
    transition: .3s
}

.brand-text:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00d4ff, var(--brand-start), var(--brand-end));
    -webkit-background-clip: text;
    background-clip: text
}

.nav-links {
    display: flex;
    gap: 26px;
    list-style: none
}

.nav-links a {
    color: var(--muted);
    font-weight: 700;
    font-size: 1.1rem
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    font-weight: 700;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 1rem
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    font-weight: 800;
    background: transparent;
    cursor: pointer;
    font-size: 1rem
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
    color: #fff
}

.btn-ghost {
    background: transparent;
    color: var(--text)
}

.btn:hover {
    transform: translateY(-1px);
    transition: .2s
}

/* Mobile drawer + overlay */
.mobile-menu-btn {
    display: none;
}

.mobile-only-item {
    display: none;
}

.nav-link-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.mobile-menu-header {
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo {
    width: 32px;
    height: 32px;
}

.mobile-brand-text {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.close-menu-btn:hover {
    color: var(--brand-start);
    transform: rotate(90deg);
}

.mobile-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
    z-index: 9998;
}

body.nav-open .nav-overlay {
    display: block
}

/* Hero */
.hero {
    padding: 80px 0 80px;
    background: var(--bg);
    text-align: center
}

.hero-content {
    max-width: 800px;
    margin: 0 auto
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text)
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 30px;
    line-height: 1.6
}

.hero-cta {
    margin-top: 30px
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-top: 20px
}

.hero-logo img {
    width: 480px;
    height: 480px;
    border-radius: 20px;
    transition: .3s
}

.hero-logo img:hover {
    transform: scale(1.1)
}

/* Sections */
.section {
    padding: 84px 0
}

.section-header {
    text-align: center;
    margin-bottom: 50px
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text)
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6
}

.section-header .view-all {
    color: var(--brand-start);
    font-weight: 700;
    text-decoration: none;
    margin-left: 20px
}

/* Legal Page */
.legal-page {
    padding: calc(var(--nav-h, 60px) + 40px) 0 120px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.legal-content header {
    margin-bottom: 40px;
    text-align: center;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-content .meta {
    font-size: .95rem;
    color: var(--muted);
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 12px;
}

.legal-content address {
    font-style: normal;
    line-height: 1.7;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px
}

.product-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: .3s;
    position: relative;
    overflow: hidden
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
    border-color: rgba(14, 165, 233, .3)
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, .2), rgba(37, 99, 235, .1));
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--brand-start)
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text)
}

.product-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: .95rem
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px
}

.service-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 30px;
    transition: .3s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2)
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, .2), rgba(37, 99, 235, .1));
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--brand-start)
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text)
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px
}

.service-link {
    color: var(--brand-start);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.service-link:hover {
    color: var(--brand-end)
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px
}

.blog-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 30px;
    transition: .3s
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2)
}

.blog-category {
    display: inline-block;
    background: rgba(14, 165, 233, .15);
    color: var(--brand-start);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 15px
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.4
}

.blog-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: .95rem
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto
}

.about-intro {
    text-align: center;
    margin-bottom: 50px
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px
}

.about-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: .3s;
    position: relative;
    overflow: hidden
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
    border-color: rgba(14, 165, 233, .3)
}

.about-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, .2), rgba(37, 99, 235, .1));
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--brand-start)
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text)
}

.about-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: .95rem
}

/* Showcase / case studies */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.case {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02))
}

.case img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: saturate(1.05)
}

.case-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.ai-image {
    background: linear-gradient(135deg, rgba(14, 165, 233, .2), rgba(37, 99, 235, .1))
}

.network-image {
    background: linear-gradient(135deg, rgba(37, 99, 235, .2), rgba(14, 165, 233, .1))
}

.case-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, .3);
    z-index: 1
}

.case .txt {
    padding: 18px
}

.tag {
    display: inline-block;
    font-size: .75rem;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #bfe6ff;
    margin-bottom: 10px
}

/* CTA band */
.cta-band {
    margin: 84px 0;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(1000px 400px at -10% 50%, rgba(14, 165, 233, .18), transparent),
        radial-gradient(1000px 400px at 120% 20%, rgba(37, 99, 235, .22), transparent),
        #0e1423;
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    gap: 22px
}

.cta-band h4 {
    font-size: 1.6rem
}

.cta-band p {
    color: var(--muted)
}

/* Contact / Footer */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.form {
    background: var(--card);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08)
}

.input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: #0b1120;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, .12);
    outline: none
}

.input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px var(--ring);
    border-color: transparent
}

label {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 6px;
    display: block
}

.form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.form .group {
    margin-bottom: 14px
}

.success {
    margin-top: 12px;
    background: rgba(34, 197, 94, .15);
    border: 1px solid rgba(34, 197, 94, .35);
    padding: 12px 14px;
    border-radius: 12px
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin: 15px 0
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(14, 165, 233, .2), rgba(37, 99, 235, .1));
    border: 2px solid rgba(14, 165, 233, .4);
    color: var(--brand-start);
    transition: .3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, .2)
}

.social-links a:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, .3), rgba(37, 99, 235, .2));
    border-color: rgba(14, 165, 233, .6);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(14, 165, 233, .4)
}

footer {
    padding: 60px 0 30px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, .06);
    margin-top: 84px;
    background: var(--bg-soft)
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px
}

.footer-section {
    text-align: center
}

.footer-section h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text)
}

/* Footer Logo */
.footer-logo {
    margin-top: 20px
}

.footer-logo img {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    transition: .3s
}

.footer-logo img:hover {
    transform: translateY(-2px)
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px
}

.company-info h4 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text)
}

.company-info p {
    margin-bottom: 8px;
    color: var(--muted)
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px
}

.link-group h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text)
}

.link-group ul {
    list-style: none;
    padding: 0
}

.link-group li {
    margin-bottom: 8px
}

.link-group a {
    color: var(--muted);
    text-decoration: none;
    transition: .2s
}

.link-group a:hover {
    color: var(--brand-start)
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(14, 165, 233, .15), rgba(37, 99, 235, .08));
    border: 1px solid rgba(14, 165, 233, .3);
    color: var(--brand-start);
    transition: .3s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(14, 165, 233, .1)
}

.footer-social-link:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, .25), rgba(37, 99, 235, .15));
    border-color: rgba(14, 165, 233, .5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, .2)
}

.footer-social-link i {
    font-size: 1.1rem;
    font-weight: 600
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.footer-bottom p {
    color: var(--muted);
    font-size: .9rem
}

/* Responsive */
@media (max-width: 980px) {
    .mobile-menu-btn {
        display: inline-flex;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only-item {
        display: block;
    }

    .mobile-menu-header {
        display: flex;
    }

    .nav-inner {
        gap: 10px;
    }

    :root {
        --nav-h: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 380px);
        background: rgba(11, 15, 26, .98);
        backdrop-filter: blur(16px);
        border-left: 1px solid rgba(255, 255, 255, .08);
        padding: 24px;
        flex-direction: column;
        gap: 18px;
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        height: 100dvh;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    body.light .nav-links {
        background: rgba(255, 255, 255, .96);
    }

    body.nav-open .nav-links {
        transform: translateX(0);
    }

    body.nav-open {
        overflow: hidden;
        touch-action: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-social-links {
        justify-content: center;
    }

    body::before {
        width: 300px;
        height: 300px;
    }

    body::after {
        width: 150px;
        height: 150px;
    }

    .legal-page {
        padding: calc(var(--nav-h, 64px) + 24px) 0 80px;
    }

    .legal-content {
        padding: 36px;
    }
}


@media (max-width:768px) {
    .brand-text {
        font-size: 1.5rem
    }

    .brand h1 {
        font-size: 1.2rem
    }

    .brand {
        gap: 10px
    }

    .nav-links a {
        font-size: 1rem
    }

    .hero {
        padding-top: 70px
    }

    .hero-logo img {
        width: 400px;
        height: 400px
    }

    .legal-content {
        padding: 32px
    }
}

@media (max-width: 520px) {
    .brand-text {
        font-size: 1.3rem
    }

    .brand h1 {
        font-size: .95rem
    }

    .chip {
        padding: 8px 10px
    }

    .btn {
        padding: 10px 14px
    }

    .hero p {
        font-size: 1rem
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        padding: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .blog-card {
        padding: 20px;
    }

    .about-card {
        padding: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-logo img {
        width: 320px;
        height: 320px
    }

    body::before {
        width: 200px;
        height: 200px;
        opacity: 0.06;
    }

    body::after {
        width: 100px;
        height: 100px;
        opacity: 0.04;
    }

    .legal-page {
        padding: calc(var(--nav-h, 60px) + 12px) 0 60px;
    }

    .legal-content {
        padding: 24px;
    }
}

/* Career Page Styles */
.career-page {
    padding-top: var(--nav-h, 60px);
}

/* Career Hero */
.career-hero {
    padding: 100px 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent 40%);
    position: relative;
    overflow: hidden;
}

.career-hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.career-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.career-hero p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end), #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.career-hero-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.visual-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, var(--brand-start), transparent 60%);
    opacity: 0.2;
    animation: spin 10s linear infinite;
}

.visual-icon {
    font-size: 8rem;
    color: var(--brand-start);
    opacity: 0.8;
    filter: drop-shadow(0 0 30px rgba(14, 165, 233, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Culture Section */
.culture-section {
    background: var(--bg-soft);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
}

.culture-card:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.culture-card .icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(37, 99, 235, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--brand-start);
}

.culture-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.culture-card p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Positions Section */
.positions-list {
    max-width: 900px;
    margin: 40px auto 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.position-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}

.position-card:hover {
    border-color: var(--brand-start);
    background: linear-gradient(90deg, var(--card), rgba(14, 165, 233, 0.05));
    transform: translateX(5px);
}

.position-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}

.position-meta {
    display: flex;
    gap: 12px;
}

.position-meta .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.general-application {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.general-application p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 600;
}

.general-application .link {
    color: var(--brand-start);
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .career-hero-visual {
        display: none;
    }

    .career-hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .position-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .position-action {
        width: 100%;
    }

    .position-action .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Page Styles */
.contact-page {
    padding-top: var(--nav-h, 60px);
}

.contact-hero {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.08), transparent 60%);
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text);
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: 0.3s;
}

.info-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-5px);
}

.info-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-start);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.info-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card .link {
    color: var(--brand-start);
    font-weight: 600;
    text-decoration: none;
}

.contact-form-wrapper {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form .input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    transition: 0.3s;
}

.contact-form .input:focus {
    border-color: var(--brand-start);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    outline: none;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Global Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Index Page Styles */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.section-header h2 {
    background: linear-gradient(135deg, var(--text), var(--muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Updated Footer Bottom Styles */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .footer-social-links {
    margin-top: 0;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer Bottom 3-Column Layout */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--muted);
    font-size: 0.9rem;
    flex: 1;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex: 1;
}

.footer-privacy {
    flex: 1;
    text-align: right;
}

.footer-privacy a {
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
}

.footer-privacy a:hover {
    color: var(--brand-start);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column-reverse;
        /* Social top on mobile usually looks better, or just column */
        gap: 15px;
        text-align: center;
    }

    .footer-copyright,
    .footer-social-links,
    .footer-privacy {
        flex: auto;
        text-align: center;
        width: 100%;
    }
}

/* Navbar Logo Updates */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end), #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }

    .navbar-logo {
        height: 32px;
    }
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.block-text {
    display: block;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end), #00d4ff);
    /* Cyan to Purple */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-gradient-hero {
    background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
    color: white;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-gradient-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
    color: white;
}

.btn-outline-hero {
    background: transparent;
    border: 2px solid #22d3ee;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-outline-hero:hover {
    background: #22d3ee;
    color: #0f172a;
}

.hero-features-row {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.feature-item-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    group: hover;
}

.feature-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(34, 211, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #22d3ee;
    transition: transform 0.3s;
}

.feature-item-small:hover .feature-icon-circle {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(147, 51, 234, 0.2));
}

.feature-label {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
    transition: color 0.3s;
}

.feature-item-small:hover .feature-label {
    color: #22d3ee;
}

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

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.hero-img-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: floatHero 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text-content {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features-row {
        justify-content: center;
    }

    .hero-modern {
        padding-top: 100px;
        min-height: auto;
    }
}