/* ════════════════════════════════════════════════
   Assist ATS — Shared Stylesheet
   Design tokens: design-spec.md
   ════════════════════════════════════════════════ */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT Sans', sans-serif;
    color: #172643;
    line-height: 1.5;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Sans Caption', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ── */
nav {
    position: sticky;
    top: 0;
    background-color: #172643;
    padding: 12px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    height: 40px;
}

/* Secondary logo (white vertical variant) — hidden by default, shown on dark heroes via utility */
.logo-white {
    display: none;
    height: 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: bold;
  color: #e1ff00;
  font-size: 18px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 16px;
}

.nav-links a {
    color: #e1ff00;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.nav-links a:hover,
.nav-links a.active {
    text-decoration: underline;
}

.cta-button {
    background-color: #e1ff00;
    color: #000000;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: #d1e800;
}

/* ── Hero Section ── */
.hero {
    background-color: #ffffff;
    padding: 80px 48px;
    text-align: center;
}

.personalization-label {
    background-color: #e1ff00;
    color: #172643;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Dark hero variant ── */
.hero-dark {
    background-color: #172643;
    color: #ffffff;
    padding: 96px 48px;
    text-align: center;
}

.hero-dark h1 {
    color: #e1ff00;
    font-size: 48px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-dark p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* ── Section defaults ── */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 48px;
}

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

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* ── Partner Logos ── */
.partners {
    background-color: #eeeeee;
    padding: 48px;
    text-align: center;
}

.partners h2 {
    margin-bottom: 32px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.partner-logo {
    width: 180px;
    height: 120px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #172643;
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo img {
    width: 90%;
    max-height: 80px;
    object-fit: contain;
}

/* ── Why/features grid (homepage) ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.why-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-col-heading {
    font-size: 17px;
    font-weight: 400;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    flex: 1;
}

.why-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #172643;
    margin: 0 0 12px;
    text-align: center;
}

.why-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ── Features Section ── */
.features {
    background-color: #ffffff;
    padding: 80px 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* ── Challenge / Pain Point Cards ── */
.challenge-card,
.pain-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.challenge-card h3,
.pain-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #172643;
}

.challenge-card p,
.pain-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.challenges-grid,
.pain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Value Cards (Our Story) ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    background-color: #ffffff;
    border: 2px solid #e1ff00;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #172643;
}

.value-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* ── Mission Block (Our Story) ── */
.mission-block {
    background-color: #172643;
    color: #ffffff;
    padding: 64px 48px;
    text-align: center;
}

.mission-block h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: #e1ff00;
}

.mission-block p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

/* ── Solutions ── */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.solution-item {
    text-align: center;
    padding: 24px;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background-color: #e1ff00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.solution-icon img {
    max-width: 48px;
    max-height: 48px;
}

.solution-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.solution-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* ── Accent sections ── */
.accent-section {
    background-color: #3b3bad;
    color: #ffffff;
    padding: 80px 48px;
}

.accent-section .section-title,
.accent-section h2 {
    color: #ffffff;
}

.accent-section p {
    color: rgba(255,255,255,0.9);
}

.accent-section .challenge-card,
.accent-section .pain-card {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

.accent-section .challenge-card h3,
.accent-section .pain-card h3 {
    color: #e1ff00;
}

.accent-section .challenge-card p,
.accent-section .pain-card p {
    color: rgba(255,255,255,0.85);
}

.light-section {
    background-color: #eeeeee;
    padding: 80px 48px;
}

/* ── Screenshot sections ── */
.screenshot-section {
    padding: 64px 48px;
    background-color: #ffffff;
    text-align: center;
}

.screenshot-frame {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-frame p {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.screenshots-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    padding: 64px 48px;
    background-color: #f8f8f8;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshots-row .screenshot-frame {
    flex: 1 1 220px;
    max-width: 260px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── Pain/Solution flow ── */
.pain-points {
    background-color: #f8f9fa;
    padding: 80px 48px;
}

.solution-flow {
    background-color: #ffffff;
    padding: 80px 48px;
}

/* ── CTA Section ── */
.cta-section {
    background-color: #3b3bad;
    color: #ffffff;
    padding: 80px 48px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* ── Contact Form ── */
.contact {
    background-color: #ffffff;
    padding: 80px 48px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-group input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #e1ff00;
    box-shadow: 0 0 0 3px rgba(225, 255, 0, 0.15);
}

/* ── Footer ── */
footer {
    background-color: #172643;
    color: #ffffff;
    text-align: center;
    padding: 28px 24px;
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 0.9rem;
}

footer p {
    opacity: 0.8;
}

.footer {
    background-color: #172643;
    color: #ffffff;
    text-align: center;
    padding: 28px 24px;
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }

    .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: bold;
  color: #e1ff00;
  font-size: 18px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 8px 8px;
    }

    .hero {
        padding: 48px 24px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-dark {
        padding: 64px 24px;
    }

    .hero-dark h1 {
        font-size: 36px;
    }

    .features,
    .pain-points,
    .solution-flow,
    .accent-section,
    .light-section,
    .screenshot-section {
        padding: 48px 24px;
    }

    .cta-section {
        padding: 48px 24px;
    }

    .contact {
        padding: 48px 24px;
    }

    .mission-block {
        padding: 48px 24px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-row {
        padding: 48px 24px;
    }
}
