/* ═══════════════════════════════════════
   ITS MOLD — Global Styles
   ═══════════════════════════════════════ */

:root {
    --blue-dark: #1a3a5c;
    --blue: #2471a3;
    --blue-light: #5dade2;
    --green: #4caf50;
    --green-dark: #388e3c;
    --orange: #f57c00;
    --orange-light: #ff9800;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray: #6b7280;
    --gray-dark: #374151;
    --text: #1f2937;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

a { transition: all 0.2s ease; }

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

/* ─── TOP BAR ─── */
.top-bar {
    background: var(--blue-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 0.4rem 2rem;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.top-bar a:hover { color: var(--white); }

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-right {
    font-weight: 600;
    color: var(--white);
}

/* ─── HEADER ─── */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    text-decoration: none;
    color: var(--gray-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

nav a:hover {
    color: var(--blue);
    background: rgba(36, 113, 163, 0.06);
}

nav a.active {
    color: var(--blue);
}

.nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 8px !important;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: var(--blue-dark) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-dark);
    margin: 6px 0;
    transition: 0.3s;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(36, 113, 163, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(36, 113, 163, 0.4);
}

.btn-outline {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-green {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.4);
}

/* ─── SECTION HELPERS ─── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    background: rgba(36, 113, 163, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ─── PAGE HERO BANNER ─── */
.page-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* ─── CTA BANNER ─── */
.cta-banner {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── FOOTER ─── */
footer {
    background: #0f2137;
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

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

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-license {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .section-header h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    nav.active { display: flex; }
    .nav-cta { margin-left: 0 !important; }
    .mobile-toggle { display: block; }
    .page-hero h1 { font-size: 2rem; }
    .page-hero { padding: 6rem 2rem 3rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }
    .top-bar-left { gap: 1rem; }
    .cta-banner h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .section-header h2 { font-size: 1.6rem; }
    .top-bar-left { flex-direction: column; gap: 0.25rem; }
}
