/* ═══════════════════════════════════════════════════════════════
   Independent Technologies Limited — Website Styles
   Color palette from brand:
     Navy:     #0d1b2a  (deep)  #1b2838 (mid)  #243447 (light)
     Blue:     #2d5fa0  (primary)  #3b6fb5 (bright)  #5a8fd4 (accent)
     Gray:     #6b7d8d  (steel)  #8a9baa (silver)  #c0c8d0 (chrome)
     White:    #e8edf2  (off-white)  #ffffff
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy-deep:    #0d1b2a;
    --navy-mid:     #1b2838;
    --navy-light:   #243447;
    --blue-primary: #2d5fa0;
    --blue-bright:  #3b6fb5;
    --blue-accent:  #5a8fd4;
    --blue-glow:    #4a9eff;
    --gray-steel:   #6b7d8d;
    --gray-silver:  #8a9baa;
    --gray-chrome:  #c0c8d0;
    --white-off:    #e8edf2;
    --white:        #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body:    'Inter', sans-serif;

    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--navy-deep);
    color: var(--white-off);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--blue-glow); }

img { max-width: 100%; height: auto; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Navigation ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 111, 181, 0.15);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--navy-deep);
    border: 2px solid rgba(192, 200, 208, 0.3);
    transition: transform 0.3s, border-color 0.3s;
}

.nav-logo:hover {
    transform: scale(1.08);
    border-color: var(--blue-accent);
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: var(--white);
}

.nav-brand-text span {
    color: var(--blue-accent);
}

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

.nav-links a {
    color: var(--gray-chrome);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-accent);
    transition: width 0.3s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 28px !important;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
    border-radius: 8px;
    color: var(--white) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    border: 1px solid rgba(90, 143, 212, 0.3);
    transition: all 0.3s !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 95, 160, 0.4);
    background: linear-gradient(135deg, var(--blue-bright), var(--blue-accent));
}

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.3) 0%,
        rgba(13, 27, 42, 0.6) 60%,
        rgba(13, 27, 42, 0.95) 100%
    );
}

/* Animated grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(59, 111, 181, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 111, 181, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--navy-deep);
    margin-bottom: 2.5rem;
    border: 3px solid rgba(192, 200, 208, 0.25);
    box-shadow:
        0 0 40px rgba(45, 95, 160, 0.3),
        0 0 80px rgba(45, 95, 160, 0.1);
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-chrome) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-silver);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(90, 143, 212, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(45, 95, 160, 0.45);
    color: var(--white);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--gray-chrome);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(192, 200, 208, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-outline:hover {
    border-color: var(--blue-accent);
    color: var(--white);
    background: rgba(45, 95, 160, 0.1);
    transform: translateY(-3px);
}

/* ── Section shared ───────────────────────────────────────────── */
section {
    padding: 7rem 0;
    position: relative;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blue-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--blue-accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-silver);
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
}

/* ── About Section ────────────────────────────────────────────── */
.about {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-chrome);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(27, 40, 56, 0.6);
    border: 1px solid rgba(59, 111, 181, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    border-color: var(--blue-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(45, 95, 160, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-silver);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Product Section ──────────────────────────────────────────── */
.product {
    background: var(--navy-mid);
    position: relative;
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 95, 160, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3.5rem;
}

.product-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-logo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--navy-mid);
    border: 3px solid rgba(192, 200, 208, 0.2);
    box-shadow:
        0 0 60px rgba(45, 95, 160, 0.25),
        0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s;
}

.product-logo:hover {
    transform: scale(1.04) rotate(2deg);
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.product-info h3 span {
    color: var(--blue-accent);
}

.product-info p {
    color: var(--gray-chrome);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem 1.2rem;
    background: rgba(13, 27, 42, 0.5);
    border: 1px solid rgba(59, 111, 181, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-list li:hover {
    border-color: var(--blue-accent);
    background: rgba(45, 95, 160, 0.08);
    transform: translateX(6px);
}

.feature-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.feature-text strong {
    color: var(--white);
    display: block;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.feature-text span {
    color: var(--gray-silver);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ── Services Section ─────────────────────────────────────────── */
.services {
    background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3.5rem;
    justify-content: center;
}

.service-card {
    flex: 0 1 calc(33.333% - 1.34rem);
    min-width: 300px;
    background: rgba(27, 40, 56, 0.4);
    border: 1px solid rgba(59, 111, 181, 0.12);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    border-color: rgba(59, 111, 181, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--gray-silver);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── CTA / Contact Section ────────────────────────────────────── */
.contact {
    background: var(--navy-deep);
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(45, 95, 160, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.15rem;
    color: var(--gray-silver);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(90, 143, 212, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(45, 95, 160, 0.5);
    color: var(--white);
}

.contact-note {
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--gray-steel);
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
    background: rgba(13, 27, 42, 0.8);
    border-top: 1px solid rgba(59, 111, 181, 0.1);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--navy-deep);
    opacity: 0.7;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--gray-steel);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-steel);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--blue-accent); }

/* ── Scroll Animations ────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Divider ──────────────────────────────────────────────────── */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 111, 181, 0.2), transparent);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 968px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .product-showcase { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .product-logo { width: 250px; height: 250px; }
    .services-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2rem; }
    .hero-logo { width: 100px; height: 100px; }
    .nav-links { display: none; }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .about-stats { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
    .contact h2 { font-size: 2rem; }
    section { padding: 4rem 0; }
}
