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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    padding: 12px 24px;
    background: var(--navy);
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #fff; }

:root {
    --navy: #0A1838;
    --navy-light: #1B2A55;
    --blue: #3B82F6;
    --blue-bg: rgba(59, 130, 246, 0.08);
    --teal: #14B8A6;
    --teal-bg: rgba(20, 184, 166, 0.08);
    --bg: #FFFFFF;
    --bg-alt: #F6F9FC;
    --text: #525F7F;
    --text-light: #8898AA;
    --border: #E6EBF1;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 8px rgba(10, 24, 56, 0.06);
    --shadow-lg: 0 8px 30px rgba(10, 24, 56, 0.08);
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Lexend', sans-serif;
    color: var(--navy);
    line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-light); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Lexend', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.logo-alta { color: var(--navy); }
.logo-next { color: var(--blue); }
.logo-global { color: var(--navy); margin-left: 0.35em; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.nav a:hover, .nav a.active { color: var(--navy); }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #F6F9FC 0%, #EEF4FB 40%, #E8F8F4 100%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
}

.hero-inner { max-width: 760px; }

.eyebrow {
    font-family: 'Lexend', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 20px;
}

.hero-content h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--text); margin-bottom: 36px; max-width: 640px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Services ===== */
.services { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 56px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header p { color: var(--text); margin-top: 12px; font-size: 1.05rem; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.service-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: all 0.3s ease;
}

.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-software { background: var(--blue-bg); border-color: rgba(59, 130, 246, 0.18); }
.service-marketing { background: var(--teal-bg); border-color: rgba(20, 184, 166, 0.18); }

.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-software .service-icon { background: var(--blue); color: #fff; }
.service-marketing .service-icon { background: var(--teal); color: #fff; }

.service-card h3 { margin-bottom: 6px; }
.service-tagline { color: var(--text-light); font-weight: 500; font-size: 0.95rem; margin-bottom: 14px; }
.service-desc { font-size: 0.95rem; margin-bottom: 22px; }

.service-features { list-style: none; }
.service-features li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.92rem;
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.service-software .service-features li::before { background: var(--blue); }
.service-marketing .service-features li::before { background: var(--teal); }

/* ===== Approach ===== */
.approach { padding: 100px 0; background: var(--bg-alt); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-item {
    padding: 28px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
}

.step-item h4 { margin-bottom: 8px; }
.step-item p { font-size: 0.92rem; margin-bottom: 0; }

/* ===== About ===== */
.about { padding: 100px 0; }

.about-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-label {
    font-family: 'Lexend', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 8px;
}

.stat-value {
    font-family: 'Lexend', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

/* ===== Contact ===== */
.contact-section { padding: 100px 0; background: var(--bg-alt); }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }

.contact-form-wrap {
    padding: 40px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-intro { margin-bottom: 28px; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--navy);
    background: var(--bg);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-group textarea { resize: vertical; }

.form-note { margin-top: 16px; font-size: 0.82rem; text-align: center; color: var(--text-light); }

.info-card { margin-bottom: 28px; }
.info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.info-card p { font-size: 0.92rem; margin-bottom: 4px; }
.info-card a { color: var(--blue); font-weight: 500; }
.info-card a:hover { color: var(--navy); }

/* ===== Footer ===== */
.footer {
    padding: 56px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }

.footer-brand p { font-size: 0.8rem; color: var(--text-light); margin-top: 12px; line-height: 1.6; }

.footer-links { display: flex; gap: 56px; }

.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h5 { margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: var(--text); }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-light); }

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .nav.open { display: flex; }
    .nav .btn { width: fit-content; }

    .hero { padding: 120px 0 72px; }
    .hero-sub { font-size: 1rem; }

    .service-grid { grid-template-columns: 1fr; }
    .service-card { padding: 28px; }

    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: 1fr 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { flex-wrap: wrap; gap: 32px; }
}
