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

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

body {
    font-family: var(--font-body);
    color: var(--light);
    background: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--light);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

p { color: var(--muted); margin-bottom: 14px; font-weight: 300; }

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--light); }

ul { list-style: none; }

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

.no-scroll { overflow: hidden; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-px);
    position: relative;
    z-index: 1;
}

/* ── Sections ── */
.section { padding: 70px 0; position: relative; }
.dark-section { background: rgba(0,0,0,0.25); }

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    padding: 0 32px;
}
.section-tag::before,
.section-tag::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--primary);
}
.section-tag::before { left: 0; }
.section-tag::after  { right: 0; }

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

.highlight { color: var(--primary); }

.divider {
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 28px;
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--primary); font-size: 0.7rem; }
.breadcrumb .current { color: var(--primary); }

/* ── Page Hero (inner pages) ── */
.page-hero {
    min-height: 280px;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    padding-bottom: 0;
    background: linear-gradient(135deg, rgba(18,18,18,0.98) 0%, rgba(0,20,40,0.95) 50%, rgba(18,18,18,0.98) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero .container { padding-top: 50px; padding-bottom: 50px; }
.page-hero h1 { font-size: 2rem; margin-bottom: 10px; animation: fadeInDown 0.7s ease; }
.page-hero p  {
    font-size: 1rem;
    max-width: 560px;
    animation: fadeInUp 0.7s ease 0.15s both;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 13px 28px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: 0.5s;
}
.btn:hover::before { left: 100%; }

.btn-primary {
    background: rgba(0,191,255,0.18);
    color: var(--primary);
    border: 1px solid rgba(0,191,255,0.35);
    box-shadow: 0 0 18px rgba(0,191,255,0.08);
}
.btn-primary:hover {
    background: rgba(0,191,255,0.28);
    color: var(--light);
    box-shadow: var(--glow);
}
.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    position: relative;
}
.btn-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.btn-link:hover { color: var(--primary); }
.btn-link:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-link i { transition: transform 0.3s ease; }
.btn-link:hover i { transform: translateX(4px); }

/* ── Header ── */
#header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(18,18,18,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
#header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
#header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo:hover { color: var(--light); }
.logo-img { height: 36px; width: 36px; border-radius: 6px; flex-shrink: 0; }
.logo-text { line-height: 1.2; }
.logo-cruze { color: var(--primary); font-size: 1.05rem; display: block; }
.logo-is    { color: var(--light);   font-size: 0.75rem; display: block; letter-spacing: 2px; }

nav { display: flex; align-items: center; }

.nav-menu { display: flex; gap: 28px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0; left: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--primary); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); transform-origin: left; }

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    z-index: 1001;
}
.bar {
    display: block;
    width: 24px; height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    pointer-events: none;
}
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Footer ── */
#footer {
    background: rgba(10,10,10,0.95);
    padding: 70px 0 28px;
    position: relative;
}
#footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-img  { height: 36px; width: 36px; border-radius: 6px; }
.footer-brand     { line-height: 1.2; }
.footer-brand-cruze { display: block; color: var(--primary); font-family: var(--font-heading); font-weight: 700; font-size: 1rem; }
.footer-brand-is    { display: block; color: var(--light);   font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 2px; }
.footer-logo > p    { font-size: 0.88rem; opacity: 0.65; margin-top: 6px; }

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    position: relative;
}
.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: var(--primary);
}

.footer-links ul,
.footer-services ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links a,
.footer-services a { color: var(--muted); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover,
.footer-services a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    color: var(--muted);
}
.footer-contact i { color: var(--primary); }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--primary); }

.footer-legal {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 22px;
}
.footer-legal p { font-size: 0.78rem; color: var(--muted); margin: 0; opacity: 0.7; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.copyright p { font-size: 0.83rem; color: var(--muted); margin: 0; }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--muted); font-size: 1rem; transition: var(--transition); }
.footer-social a:hover { color: var(--primary); }

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 20px;
    width: 42px; height: 42px;
    background: rgba(0,191,255,0.1);
    border: 1px solid rgba(0,191,255,0.25);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}
.back-to-top.active { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover  { background: var(--primary); color: var(--dark); }

/* ── CTA Strip ── */
.cta-strip {
    background: linear-gradient(135deg, #001428 0%, #00243d 50%, #001428 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
}
.cta-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,191,255,0.08) 0%, transparent 65%);
}
.cta-content { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-content h2 { font-size: 1.9rem; margin-bottom: 16px; }
.cta-content p  { font-size: 1rem; margin-bottom: 28px; }
.cta-buttons    { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Form status ── */
.form-status { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius); display: none; font-size: 0.9rem; }
.form-status.success { background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.3); color: var(--success); display: block; }
.form-status.error   { background: rgba(244,67,54,0.1);  border: 1px solid rgba(244,67,54,0.3);  color: var(--error);   display: block; }

/* ── Responsive grid helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }

@media (min-width: 576px) {
    .section-header h2 { font-size: 2.1rem; }
    .page-hero h1 { font-size: 2.4rem; }
}
@media (min-width: 768px) {
    .section { padding: 90px 0; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .nav-menu { display: flex; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .section { padding: 100px 0; }
    .section-header h2 { font-size: 2.5rem; }
    .page-hero h1 { font-size: 3rem; }
    .hamburger { display: none !important; }
    .nav-menu { position: static !important; flex-direction: row !important; background: transparent !important; padding: 0 !important; width: auto !important; height: auto !important; }
    .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .cta-content h2 { font-size: 2.4rem; }
}

/* Mobile nav overlay */
@media (max-width: 991px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(75vw, 300px);
        height: 100vh;
        flex-direction: column;
        background: rgba(14,14,14,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: calc(var(--header-h) + 30px) 30px 40px;
        z-index: 999;
        gap: 22px;
        transition: right 0.4s ease;
        overflow-y: auto;
    }
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 1rem; }
}
