/* ============================================================
   xValidateAI - Complete Homepage Styles
   Brand: Navy #0D2040 | Accent #0f3357 | White #ffffff
   ============================================================ */

/* ---- Animations ---- */
.xv-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.xv-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ---- Common Section Styles ---- */
.xv-section { padding: 96px 0; background: #fff; }
.xv-section--light { background: #F0F7FF; }

.xv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.xv-section__header {
    text-align: center;
    margin-bottom: 64px;
}
.xv-section__header::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #0f3357;
    margin: 20px auto 0;
    border-radius: 2px;
}
.xv-section__header--light::after { background: rgba(255,255,255,0.4); }

.xv-section__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #0f3357;
    margin-bottom: 12px;
}
.xv-section__label--light { color: rgba(255,255,255,0.7); }

.xv-section__title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: #0D2040;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.xv-section__title--white { color: #ffffff; }

.xv-section__sub {
    font-size: 18px;
    color: #334155;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}
.xv-section__sub--light { color: rgba(255,255,255,0.75); }

/* ============================================================
   HERO
   ============================================================ */
.xv-hero {
    position: relative;
    background: #ffffff;
    padding: 110px 0 80px;
    overflow: hidden;
    text-align: center;
}

.xv-hero__bg-dots {
    position: absolute;
    top: -60px; right: -60px;
    width: 480px; height: 480px;
    background-image: radial-gradient(circle, #0f3357 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.06;
    pointer-events: none;
    border-radius: 50%;
}

.xv-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EEF4FF;
    color: #0f3357;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 99px;
    border: 1px solid #C7D8F0;
    margin-bottom: 32px;
    letter-spacing: 0.2px;
}

.xv-hero__headline {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    color: #0D2040;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.xv-hero__headline-accent {
    color: #0f3357;
    position: relative;
}
.xv-hero__headline-accent::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 3px;
    background: #0f3357;
    border-radius: 2px;
    opacity: 0.4;
}

.xv-hero__sub {
    font-size: 19px;
    color: #334155;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.xv-hero__ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.xv-hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 32px 40px;
    background: #F8FAFC;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    max-width: 760px;
    margin: 0 auto;
}

.xv-hero__stat {
    text-align: center;
}
.xv-hero__stat-num {
    font-size: 36px;
    font-weight: 900;
    color: #0D2040;
    display: block;
    line-height: 1;
}
.xv-hero__stat-prefix,
.xv-hero__stat-suffix {
    font-size: 28px;
    font-weight: 800;
    color: #0D2040;
}
.xv-hero__stat-label {
    display: block;
    font-size: 13px;
    color: #64748B;
    margin-top: 6px;
    font-weight: 500;
}
.xv-hero__stat-divider {
    width: 1px;
    height: 48px;
    background: #E2E8F0;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.xv-problem__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.xv-problem__card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #0f3357;
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.xv-problem__card:hover {
    box-shadow: 0 8px 32px rgba(13,32,64,0.1);
    transform: translateY(-4px);
}

.xv-problem__icon {
    font-size: 32px;
    margin-bottom: 14px;
    line-height: 1;
}
.xv-problem__card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0D2040;
    margin-bottom: 10px;
}
.xv-problem__card p {
    font-size: 14px;
    color: #334155;
    line-height: 1.65;
}

.xv-problem__callout {
    background: #0D2040;
    color: #fff;
    text-align: center;
    padding: 24px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

/* ============================================================
   SOLUTION
   ============================================================ */
.xv-solution__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.xv-solution__card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-top: 4px solid #0D2040;
    border-radius: 12px;
    padding: 32px 28px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.xv-solution__card:hover {
    box-shadow: 0 12px 40px rgba(13,32,64,0.1);
    transform: translateY(-4px);
}
.xv-solution__card--featured {
    border-top-color: #0f3357;
    box-shadow: 0 8px 32px rgba(15,51,87,0.12);
}

.xv-solution__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.xv-solution__num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0f3357;
    background: #EEF4FF;
    padding: 4px 10px;
    border-radius: 4px;
}
.xv-solution__icon { font-size: 32px; }

.xv-solution__card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0D2040;
    margin-bottom: 8px;
    line-height: 1.3;
}
.xv-solution__desc {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 20px;
    font-style: italic;
}
.xv-solution__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.xv-solution__list li {
    font-size: 14px;
    color: #334155;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.xv-solution__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0f3357;
    font-weight: 600;
}

.xv-solution__tagline {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #0f3357;
    font-style: italic;
}

/* ============================================================
   AGRI SECTION WRAPPER
   ============================================================ */
.xv-agri-section {
    background: #0D2040;
    padding: 96px 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.xv-how__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 48px;
}

.xv-how__step {
    text-align: center;
    padding: 28px 16px;
    position: relative;
}

.xv-how__step-num {
    display: inline-block;
    width: 36px; height: 36px;
    background: #0D2040;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    line-height: 36px;
    margin-bottom: 12px;
}

.xv-how__step-connector {
    position: absolute;
    top: 46px; right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0f3357, #C7D8F0);
    z-index: 0;
}
.xv-how__step:last-child .xv-how__step-connector { display: none; }

.xv-how__step-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
}
.xv-how__step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0D2040;
    margin-bottom: 8px;
}
.xv-how__step p {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
}

.xv-how__sample {
    max-width: 520px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 32px rgba(13,32,64,0.08);
}
.xv-how__sample-header {
    background: #0D2040;
    color: #fff;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
}
.xv-how__sample-body { background: #fff; }
.xv-how__sample-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 14px;
}
.xv-how__sample-row:last-child { border-bottom: none; }
.xv-how__sample-label { color: #64748B; font-weight: 500; }
.xv-how__sample-value { font-weight: 600; color: #0D2040; }
.xv-how__sample-value--success { color: #10B981; }
.xv-how__sample-value--highlight {
    background: #EEF4FF;
    color: #0f3357;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
}

/* ============================================================
   WHY NOW
   ============================================================ */
.xv-why__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.xv-why__card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}
.xv-why__card:hover { box-shadow: 0 8px 32px rgba(13,32,64,0.1); }

.xv-why__card-left {
    background: #0D2040;
    color: #fff;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.xv-why__icon { font-size: 36px; }
.xv-why__stat { font-size: 40px; font-weight: 900; color: #fff; line-height: 1; }
.xv-why__stat-label { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; text-align: center; line-height: 1.4; }

.xv-why__card-right {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.xv-why__card-right h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0D2040;
    margin-bottom: 12px;
}
.xv-why__card-right p {
    font-size: 15px;
    color: #334155;
    line-height: 1.75;
}

.xv-why__callout {
    text-align: center;
    font-size: 20px;
    color: #0f3357;
    font-style: italic;
    font-weight: 600;
    padding: 24px;
    background: #EEF4FF;
    border-radius: 12px;
    border: 1px solid #C7D8F0;
}

/* ============================================================
   COMPETITION
   ============================================================ */
.xv-competition__table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 24px rgba(13,32,64,0.06);
    margin-bottom: 40px;
}

.xv-competition__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 700px;
}
.xv-competition__table thead tr {
    background: #0D2040;
}
.xv-competition__table th {
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.xv-competition__table th:first-child { border-radius: 0; }
.xv-competition__table td {
    padding: 14px 20px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
}
.xv-competition__table tbody tr:nth-child(even) td { background: #F8FAFC; }
.xv-competition__table tbody tr:hover td { background: #EEF4FF; }

.xv-competition__col--highlight {
    background: #EEF4FF !important;
    border-left: 3px solid #0f3357 !important;
    font-weight: 700 !important;
    color: #0D2040 !important;
}
.xv-competition__table thead .xv-competition__col--highlight {
    background: #0f3357 !important;
    color: #fff !important;
}

.xv-check { font-size: 16px; }
.xv-check--yes  { color: #10B981; }
.xv-check--no   { color: #EF4444; }
.xv-check--partial { color: #F59E0B; }

.xv-competition__statement {
    text-align: center;
    font-size: 18px;
    color: #334155;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-style: italic;
}
.xv-competition__statement strong { color: #0D2040; }

/* ============================================================
   STATS COUNTERS
   ============================================================ */
.xv-stats {
    background: #0D2040;
    padding: 72px 0;
}
.xv-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.xv-stats__num {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.xv-stats__label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    line-height: 1.5;
    max-width: 160px;
    margin: 0 auto;
}

/* ============================================================
   TEAM
   ============================================================ */
.xv-team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 860px;
    margin: 0 auto 40px;
}

.xv-team__card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-top: 4px solid #0D2040;
    border-radius: 16px;
    padding: 40px 36px;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.xv-team__card:hover {
    box-shadow: 0 12px 40px rgba(13,32,64,0.1);
    transform: translateY(-4px);
}

.xv-team__avatar {
    width: 72px; height: 72px;
    background: #0D2040;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    letter-spacing: 1px;
}

.xv-team__name {
    font-size: 22px;
    font-weight: 700;
    color: #0D2040;
    margin-bottom: 6px;
}
.xv-team__title {
    font-size: 14px;
    color: #0f3357;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.xv-team__divider {
    height: 2px;
    background: #E2E8F0;
    border-radius: 2px;
    margin-bottom: 20px;
}
.xv-team__list {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.xv-team__list li {
    font-size: 14px;
    color: #334155;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.xv-team__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0f3357;
    font-weight: 700;
}
.xv-team__contact {
    font-size: 13px;
    color: #0f3357;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed #0f3357;
    padding-bottom: 2px;
}
.xv-team__contact:hover { color: #0D2040; border-color: #0D2040; }

.xv-team__advisory {
    text-align: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 20px 28px;
    max-width: 700px;
    margin: 0 auto;
}
.xv-team__advisory p {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.xv-cta {
    background: linear-gradient(135deg, #0D2040 0%, #1E3A5F 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}
.xv-cta__headline {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.xv-cta__sub {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.xv-cta__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.xv-cta__step {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 32px 28px;
    width: 240px;
    text-align: center;
    transition: background 0.25s ease;
}
.xv-cta__step:hover { background: rgba(255,255,255,0.12); }
.xv-cta__step-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.xv-cta__step-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.xv-cta__step h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.xv-cta__step p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}
.xv-cta__step-arrow {
    font-size: 28px;
    color: rgba(255,255,255,0.3);
    align-self: center;
    padding: 0 4px;
}

.xv-cta__metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.xv-cta__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.xv-cta__metric-icon { font-size: 24px; }
.xv-cta__metric strong { font-size: 16px; font-weight: 700; color: #fff; }
.xv-cta__metric span  { font-size: 13px; color: rgba(255,255,255,0.6); }
.xv-cta__metric-divider {
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.15);
}

.xv-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.xv-cta__contact {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.xv-cta__contact a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.xv-cta__contact a:hover { color: #fff; }
.xv-cta__contact-divider { color: rgba(255,255,255,0.3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .xv-problem__grid { grid-template-columns: repeat(2, 1fr); }
    .xv-solution__grid { grid-template-columns: repeat(2, 1fr); }
    .xv-how__steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .xv-how__step-connector { display: none; }
    .xv-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .xv-why__card { grid-template-columns: 160px 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    .xv-hero { padding: 80px 0 60px; }
    .xv-hero__headline { font-size: 32px; }
    .xv-hero__sub { font-size: 16px; }
    .xv-hero__ctas { flex-direction: column; align-items: center; }
    .xv-hero__stats { gap: 20px; padding: 24px; }
    .xv-hero__stat-divider { width: 40px; height: 1px; }
    .xv-hero__stat-num { font-size: 28px; }

    .xv-section { padding: 64px 0; }
    .xv-section__header { margin-bottom: 40px; }
    .xv-section__title { font-size: 26px; }
    .xv-section__sub { font-size: 16px; }

    .xv-problem__grid { grid-template-columns: 1fr; }
    .xv-solution__grid { grid-template-columns: 1fr; }

    .xv-how__steps { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 40px; }
    .xv-how__step { text-align: left; padding: 20px; border-bottom: 1px solid #E2E8F0; display: flex; gap: 16px; align-items: flex-start; }
    .xv-how__step-icon { font-size: 28px; flex-shrink: 0; }
    .xv-how__step-num { display: none; }

    .xv-why__card { grid-template-columns: 1fr; }
    .xv-why__card-left { padding: 20px; flex-direction: row; gap: 16px; text-align: left; }
    .xv-why__stat { font-size: 28px; }
    .xv-why__card-right { padding: 20px 24px; }

    .xv-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .xv-stats__num { font-size: 32px; }

    .xv-team__grid { grid-template-columns: 1fr; }
    .xv-team__card { padding: 28px 24px; }

    .xv-cta__steps { flex-direction: column; align-items: center; }
    .xv-cta__step-arrow { display: none; }
    .xv-cta__step { width: 100%; max-width: 340px; }
    .xv-cta__metrics { flex-direction: column; gap: 16px; }
    .xv-cta__metric-divider { display: none; }
    .xv-cta__buttons { flex-direction: column; align-items: center; }

    .xv-agri-section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .xv-container { padding: 0 16px; }
    .xv-stats__grid { grid-template-columns: 1fr; }
    .xv-hero__stat-divider { display: none; }
    .xv-hero__stats { flex-direction: column; gap: 16px; padding: 20px; }
}
