/* ===============================
   FONT + ROOT VARIABLES
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* BRAND COLORS */
    --primary: #93C5FD;
    --accent: #F97316;

    /* TEXT */
    --text: #E5E7EB;
    --muted: #CBD5E1;
    --text-strong: #F9FAFB;

    /* SURFACES */
    --bg: transparent;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --card-bg: rgba(17, 24, 39, 0.85);

    /* UI */
    --border-radius: 14px;
}

/* ===============================
   GLOBAL RESET
================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===============================
   BACKGROUND IMAGE
================================ */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('primos.png') center / cover no-repeat;
    z-index: -1;
    pointer-events: none;
    filter: blur(5px);
}

/* ===============================
   NAVIGATION
================================ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    padding: 0;
    margin: 0;
}

nav a {
    font-weight: 600;
    color: var(--accent);
    position: relative;
    padding-bottom: 4px;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

/* ===============================
   HERO
================================ */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--text-strong);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    color: var(--muted);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 35px;
}

#hero-tagline {
    font-style: italic;
    font-size: 1.2rem;
}

/* ===============================
   BUTTON
================================ */
.btn {
    background: var(--accent);
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.4);
}

.btn-centered-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

.btn.large {
    padding: 18px 60px;
    font-size: 1.2rem;
}

.large.main {
    font-size: 1.6rem;
}

/* ===============================
   PAGE CONTENT (NO BIG CARD)
================================ */
.container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 8%;
    background: transparent;
}

.container h1 {
    font-size: clamp(2rem, 4vw, 2.4rem);
    color: var(--text-strong);
    margin-bottom: 20px;
}

.container h3 {
    margin-top: 40px;
    font-weight: 600;
    color: #fff;
}

.container p {
    line-height: 1.8;
    color: var(--muted);
}

/* ===============================
   GRIDS
================================ */
.features,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* ===============================
   SMALL CARDS (DARK & READABLE)
================================ */
.feature,
.testimonial {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial .author {
    color: var(--text-strong);
    font-weight: 700;
}

.feature h3 {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.feature p {
    margin: 0;
}

.feature p,
.testimonial .quote {
    color: var(--muted);
    line-height: 1.6;
}

.testimonial, .feature {
    border-left: 4px solid var(--accent);
}

.role {
    font-size: 0.9rem;
    color: #9CA3AF;
}

/* ===============================
   FOOTER
================================ */
footer {
    background: #020617;
    color: var(--text-strong);
    padding: 32px 20px;
    text-align: center;
    margin-top: auto;
}

footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 18px;
    background-color: transparent;
}

footer nav a {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #CBD5E1;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 12px;
        padding: 16px 5%;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .hero {
        min-height: 75vh;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .container {
        margin: 60px auto;
        padding: 0 6%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}