/* ============================================================================
   VERIFY-OTP.CSS — Ritorica OTP & Verification Product Page

   TABLE OF CONTENTS
   ─────────────────────────────────────────────────────────────────────────────
   01. SECTION 1  — Hero
   02. SECTION 2  — Stats Bar
   03. SECTION 3  — Why OTP Matters
   04. SECTION 4  — Delivery Channels
   05. SECTION 5  — How It Works
   06. SECTION 6  — Key Features
   07. SECTION 7  — Industries
   08. SECTION 8  — CTA Banner
   09. RESPONSIVE  — Tablet (≤1100px)
   10. RESPONSIVE  — Mobile (≤768px)
   11. RESPONSIVE  — Small Mobile (≤480px)
   ─────────────────────────────────────────────────────────────────────────────
============================================================================ */


/* ============================================================================
   01. SECTION 1 — HERO
============================================================================ */

.otp-hero {
    padding: 32px 24px;
    background: var(--color-bg);
}

.otp-hero__container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 52% 1fr;
    align-items: stretch;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 2px 24px rgba(64, 114, 214, 0.07);
}

.otp-hero__content {
    padding: 64px 56px 64px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.otp-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(64, 114, 214, 0.08);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    width: fit-content;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.otp-hero__title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
    margin: 0;
}

.otp-hero__title span {
    color: var(--color-text);
}

.otp-hero__desc {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0;
}

.otp-hero__btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s;
}

.otp-hero__btn:hover { background: #2f5bbf; }

.otp-hero__note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Right panel — animated OTP phone mockup */
.otp-hero__visual {
    background: linear-gradient(135deg, #eef3fc 0%, #dde8fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}

.otp-hero__phone {
    background: var(--color-white);
    border-radius: 24px;
    padding: 28px 24px;
    width: 260px;
    box-shadow: 0 8px 40px rgba(64, 114, 214, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.otp-hero__phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
}

.otp-hero__phone-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
}

.otp-hero__phone-msg {
    background: #f4f7fd;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.otp-hero__phone-code {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    background: rgba(64, 114, 214, 0.06);
    border-radius: 10px;
    padding: 12px;
}

.otp-hero__phone-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.otp-hero__phone-timer span {
    color: #e53935;
    font-weight: 600;
}

.otp-hero__channels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.otp-hero__channel-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1.5px solid;
}

.otp-hero__channel-badge--sms   { color: #1565c0; border-color: #1565c0; background: #e3f2fd; }
.otp-hero__channel-badge--wa    { color: #2e7d32; border-color: #2e7d32; background: #e8f5e9; }
.otp-hero__channel-badge--tg    { color: #0277bd; border-color: #0277bd; background: #e1f5fe; }
.otp-hero__channel-badge--fc    { color: #6a1b9a; border-color: #6a1b9a; background: #f3e5f5; }
.otp-hero__channel-badge--voice { color: #e65100; border-color: #e65100; background: #fff3e0; }


/* ============================================================================
   02. SECTION 2 — STATS BAR
============================================================================ */

.otp-stats {
    background: var(--color-primary);
    padding: 0 24px;
}

.otp-stats__container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.otp-stats__item {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.otp-stats__item:last-child { border-right: none; }

.otp-stats__value {
    display: block;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 6px;
}

.otp-stats__label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
}


/* ============================================================================
   03. SECTION 3 — WHY OTP MATTERS
============================================================================ */

.otp-why {
    padding: 80px 24px;
    background: var(--color-bg);
}

.otp-why__container {
    max-width: 1440px;
    margin: 0 auto;
}

.otp-why__top {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

.otp-why__title {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.2;
}

.otp-why__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
}

.otp-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.otp-why__card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(64, 114, 214, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.otp-why__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(64, 114, 214, 0.12);
}

.otp-why__card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.otp-why__card-icon img { width: 48px; height: 48px; object-fit: contain; }

.otp-why__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 10px;
}

.otp-why__card-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0;
}


/* ============================================================================
   04. SECTION 4 — DELIVERY CHANNELS
============================================================================ */

.otp-channels {
    padding: 80px 24px;
    background: var(--color-white);
}

.otp-channels__container {
    max-width: 1440px;
    margin: 0 auto;
}

.otp-channels__header {
    text-align: center;
    margin-bottom: 48px;
}

.otp-channels__title {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 12px;
}

.otp-channels__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

.otp-channels__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.otp-channels__card {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.otp-channels__card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(64, 114, 214, 0.1);
}

.otp-channels__card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
}

.otp-channels__card-icon--sms   { background: #e3f2fd; }
.otp-channels__card-icon--wa    { background: #e8f5e9; }
.otp-channels__card-icon--tg    { background: #e1f5fe; }
.otp-channels__card-icon--fc    { background: #f3e5f5; }
.otp-channels__card-icon--voice { background: #fff3e0; }

.otp-channels__card-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px;
}

.otp-channels__card-desc {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 12px;
}

.otp-channels__card-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(64, 114, 214, 0.08);
    color: var(--color-primary);
}


/* ============================================================================
   05. SECTION 5 — HOW IT WORKS
============================================================================ */

.otp-how {
    padding: 80px 24px;
    background: var(--color-bg);
}

.otp-how__container {
    max-width: 1440px;
    margin: 0 auto;
}

.otp-how__header {
    text-align: center;
    margin-bottom: 56px;
}

.otp-how__title {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 12px;
}

.otp-how__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

.otp-how__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.otp-how__steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(64,114,214,0.2) 100%);
    z-index: 0;
}

.otp-how__step {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 28px 28px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 16px rgba(64, 114, 214, 0.06);
}

.otp-how__step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.otp-how__step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px;
}

.otp-how__step-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0;
}

.otp-how__step-time {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(64, 114, 214, 0.08);
    color: var(--color-primary);
}


/* ============================================================================
   06. SECTION 6 — KEY FEATURES
============================================================================ */

.otp-features {
    padding: 80px 24px;
    background: var(--color-white);
}

.otp-features__container {
    max-width: 1440px;
    margin: 0 auto;
}

.otp-features__header {
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.otp-features__title {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.2;
}

.otp-features__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
}

.otp-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.otp-features__item {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.otp-features__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(64, 114, 214, 0.09);
}

.otp-features__item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(64, 114, 214, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.otp-features__item-icon svg { width: 22px; height: 22px; }

.otp-features__item-body {}

.otp-features__item-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px;
}

.otp-features__item-desc {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0;
}


/* ============================================================================
   07. SECTION 7 — INDUSTRIES
============================================================================ */

.otp-industries {
    padding: 80px 24px;
    background: var(--color-bg);
}

.otp-industries__container {
    max-width: 1440px;
    margin: 0 auto;
}

.otp-industries__header {
    text-align: center;
    margin-bottom: 48px;
}

.otp-industries__title {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 12px;
}

.otp-industries__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

.otp-industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.otp-industries__card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(64, 114, 214, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid var(--color-primary);
}

.otp-industries__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(64, 114, 214, 0.12);
}

.otp-industries__card-emoji {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.otp-industries__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px;
}

.otp-industries__card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.otp-industries__card-list li {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.otp-industries__card-list li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}


/* ============================================================================
   08. SECTION 8 — CTA BANNER
============================================================================ */

.otp-cta {
    padding: 80px 24px;
    background: var(--color-white);
}

.otp-cta__inner {
    max-width: 1440px;
    margin: 0 auto;
    background: var(--color-primary);
    border-radius: 20px;
    padding: 64px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.otp-cta__blob {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.otp-cta__blob--left  { left: -80px; top: -80px; }
.otp-cta__blob--right { right: -80px; bottom: -80px; }

.otp-cta__title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 16px;
    position: relative;
}

.otp-cta__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.65;
    position: relative;
}

.otp-cta__btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.2s;
    position: relative;
}

.otp-cta__btn:hover { opacity: 0.92; }


/* ============================================================================
   09. RESPONSIVE — Tablet (≤1100px)
============================================================================ */

@media (max-width: 1100px) {
    .otp-hero__container   { grid-template-columns: 1fr; }
    .otp-hero__visual      { min-height: 260px; padding: 32px; }
    .otp-hero__content     { padding: 48px 40px; }
    .otp-stats__container  { grid-template-columns: repeat(2, 1fr); }
    .otp-stats__item       { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .otp-stats__item:nth-child(2n) { border-right: none; }
    .otp-why__top          { grid-template-columns: 1fr; gap: 20px; }
    .otp-why__grid         { grid-template-columns: repeat(2, 1fr); }
    .otp-channels__grid    { grid-template-columns: repeat(3, 1fr); }
    .otp-how__steps        { grid-template-columns: 1fr; }
    .otp-how__steps::before { display: none; }
    .otp-features__header  { grid-template-columns: 1fr; gap: 16px; }
    .otp-features__grid    { grid-template-columns: repeat(2, 1fr); }
    .otp-industries__grid  { grid-template-columns: repeat(2, 1fr); }
    .otp-cta__inner        { padding: 48px 40px; }
}


/* ============================================================================
   10. RESPONSIVE — Mobile (≤768px)
============================================================================ */

@media (max-width: 768px) {
    .otp-hero__content  { padding: 40px 28px; }
    .otp-why__grid      { grid-template-columns: 1fr; }
    .otp-channels__grid { grid-template-columns: repeat(2, 1fr); }
    .otp-features__grid { grid-template-columns: 1fr; }
    .otp-industries__grid { grid-template-columns: 1fr; }
    .otp-cta__inner     { padding: 40px 24px; }
}


/* ============================================================================
   11. RESPONSIVE — Small Mobile (≤480px)
============================================================================ */

@media (max-width: 480px) {
    .otp-stats__container  { grid-template-columns: 1fr; }
    .otp-channels__grid    { grid-template-columns: 1fr; }
    .otp-hero__phone       { width: 100%; max-width: 240px; }
}
