/* ============================================================
   INKIDIA LANDING PAGE — OWL Component Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.inkidia-app *,
.inkidia-app *::before,
.inkidia-app *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── INSTANT COVER: hides header/footer immediately on first paint, before OWL mounts ─── */
#inkidia-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
}

.inkidia-app {
    --brand: #6C3BFF;
    --brand-dark: #4f28d4;
    --brand-light: #ede9ff;
    --accent: #FF5C5C;
    --green: #22c55e;
    --text: #0f0f1a;
    --muted: #6b7280;
    --bg: #ffffff;
    --card: #f8f7ff;
    --radius: 16px;
    --shadow: 0 4px 32px rgba(108, 59, 255, 0.10);
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    /*
     * BIDI ISOLATION: critical to prevent Odoo's html[dir="rtl"] from bleeding in.
     * direction: ltr sets the base direction.
     * unicode-bidi: isolate creates a fully self-contained bidi context —
     * no bidi inheritance from parent html/body elements.
     */
    direction: ltr;
    unicode-bidi: isolate;

    /* MOD: Force Full Screen to hide Odoo Header/Footer */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ─── RTL MODE — OWL reactively sets dir="rtl" on .inkidia-app when AR is selected ─── */
.inkidia-app[dir="rtl"] {
    direction: rtl;
    unicode-bidi: isolate;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ─── FLOATING CTA (Vertical) ─── */
#floating-cta {
    position: fixed;
    right: 20px;
    bottom: 40px;
    transform: scale(0);
    z-index: 1000;
    background: rgba(255, 92, 92, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(255, 92, 92, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: ik-cta-blink 2s infinite;
    opacity: 0;
    pointer-events: none;
}

#floating-cta.visible {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

[dir="rtl"] #floating-cta {
    right: auto;
    left: 20px;
}

@keyframes ik-cta-blink {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(255, 92, 92, 0.4);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 48px rgba(255, 92, 92, 0.6);
    }
}

#floating-cta svg {
    transform: rotate(90deg);
    margin-bottom: 8px;
}

[dir="rtl"] #floating-cta svg {
    transform: rotate(-90deg);
}

/* ─── LOGO BAR ─── */
.ik-logo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px 0;
    position: relative;
}

.ik-logo-bar .logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -0.5px;
}

.ik-logo-bar .badge {
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50px;
    padding: 3px 8px;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
    position: absolute;
    top: 18px;
    right: 20px;
    display: flex;
    gap: 8px;
}

[dir="rtl"] .lang-switcher {
    right: auto;
    left: 20px;
}

.lang-btn {
    background: var(--card);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* ─── SCREEN SYSTEM ─── */
.ik-screen {
    display: none;
    width: 100%;
    animation: ikFadeIn 0.4s ease;
}

.ik-screen.active {
    display: block;
}

@keyframes ikFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── PROGRESS BAR ─── */
.ik-progress-wrap {
    padding: 16px 20px 0;
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.ik-progress-wrap.visible {
    display: block;
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.step-dot.done {
    background: var(--green);
    color: #fff;
}

.step-dot.active {
    background: var(--brand);
    color: #fff;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    transition: background 0.3s;
}

.step-line.done {
    background: var(--green);
}

.step-label {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 6px;
}

/* ─── VERTICAL PROGRESS BAR (INLINE TIMELINE) ─── */
.ik-timeline-item {
    position: relative;
    padding-left: 60px; /* LTR */
}

[dir="rtl"] .ik-timeline-item {
    padding-left: 0;
    padding-right: 60px; /* RTL */
}

/* On mobile, slightly less padding */
@media (max-width: 768px) {
    .ik-timeline-item {
        padding-left: 45px;
    }
    [dir="rtl"] .ik-timeline-item {
        padding-right: 45px;
    }
}

.ik-timeline-indicator {
    position: absolute;
    top: 0;
    left: 0;
    bottom: -60px; /* Span over the margin-bottom to connect to next section */
    width: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

[dir="rtl"] .ik-timeline-indicator {
    left: auto;
    right: 0;
}

.v-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 2;
    transition: all 0.3s;
    flex-shrink: 0;
}

.v-dot.active {
    background: var(--green);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.v-dot.done {
    background: var(--green);
    color: #fff;
}

.v-line {
    width: 3px;
    flex-grow: 1;
    background: #e5e7eb;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: all 0.3s;
}

.v-line.active {
    background: var(--green);
}


/* ─── CONTAINERS ─── */
.ik-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px 100px;
}

/* ─── SCREEN 0: PROFILE ─── */
.hero-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--brand);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-label-ar {
    font-size: 1.2em;
    line-height: 1.7;
}

.ik-screen-0 h1 {
    text-align: center;
    font-size: clamp(26px, 6vw, 38px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 8px;
}

.ik-screen-0 h1 span {
    color: var(--brand);
}

.ik-screen-0 .sub {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 32px;
}

.profile-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-card {
    background: var(--card);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.profile-card:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-card .emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.profile-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.profile-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px;
    background: var(--card);
    border-radius: 12px;
}

.trust-item {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-item strong {
    color: var(--text);
}

/* ─── SCREEN 1: VALUE PROP ─── */
.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

[dir="rtl"] .profile-badge svg {
    transform: scaleX(-1);
    margin-left: 6px;
    margin-right: 0;
}

.ik-screen-1 h2 {
    font-size: clamp(22px, 5.5vw, 32px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--text);
}

.ik-screen-1 h2 span {
    color: var(--brand);
}

.ik-screen-1 .hook {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--card);
    border-radius: 12px;
    padding: 14px 16px;
}

.benefits-list .icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-list .text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.benefits-list .text span {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.social-proof-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.avatars {
    display: flex;
}

.avatars .av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
    font-weight: 700;
}

.avatars .av:first-child {
    margin-left: 0;
}

.proof-text {
    font-size: 12px;
    color: var(--muted);
}

.proof-text strong {
    color: var(--text);
}

.stars {
    color: #f59e0b;
    font-size: 13px;
}

/* ─── SCREEN 2: VIDEO ─── */
.ik-screen-2 h2 {
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--text);
}

.ik-screen-2 .sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
}

.video-player-wrap {
    position: relative;
    background: #0f0f1a;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.video-thumb-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.video-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.play-btn svg {
    color: var(--brand);
    margin-left: 4px;
}

.video-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    color: #fff;
    text-align: left;
}

[dir="rtl"] .video-caption {
    text-align: right;
}

.video-caption .tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffd166;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-block;
    margin-bottom: 4px;
}

.video-caption h4 {
    font-size: 14px;
    font-weight: 700;
}

.video-titles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.video-title-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f3f4f6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Hover effect */
.video-title-item:hover {
    background: #e5e7eb;
}

/* Base style for the index circle */
.v-idx {
    width: 24px;
    height: 24px;
    background: #d1d5db;
    color: #4b5563;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.v-label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    transition: color 0.3s ease;
    text-align: left;
    opacity: 1; /* Explicitly visible to override the old .v-label rule if any */
}

[dir="rtl"] .v-label {
    text-align: right;
}

/* ACTIVE STATE */
.video-title-item.active {
    background: var(--brand-light);
    border-color: var(--brand);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(108, 59, 255, 0.1);
}

[dir="rtl"] .video-title-item.active {
    transform: translateX(-4px);
}

.video-title-item.active .v-idx {
    background: var(--brand);
    color: #ffffff;
    animation: ik-v-pulse 2s infinite;
}

.video-title-item.active .v-label {
    color: var(--brand);
    font-weight: 800;
}

/* ACTIVE ANIMATION: Subtle pulse for the index */
@keyframes ik-v-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 59, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(108, 59, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(108, 59, 255, 0);
    }
}

.video-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ─── SCREEN 3: FORM ─── */
.landing-section {
    padding-bottom: 60px;
    border-bottom: 1px solid #f0f0f5;
    margin-bottom: 60px;
}

.mini-hook {
    background: var(--brand-light);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 40px;
    border-left: 4px solid var(--brand);
}

[dir="rtl"] .mini-hook {
    border-left: none;
    border-right: 4px solid var(--brand);
}

.mini-hook h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 8px;
}

.mini-hook p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}

.hook {
    white-space: pre-line;
}

.final-header {
    text-align: center;
    margin-bottom: 28px;
}

.final-header h2 {
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 6px;
}

.final-header h2 span {
    color: var(--green);
}

.final-header p {
    font-size: 14px;
    color: var(--muted);
}

.offer-box {
    background: #f8f9ff;
    /* light neutral background */
    border: 1px solid rgba(108, 59, 255, 0.12);
    border-radius: var(--radius);
    padding: 24px;
    /* similar to mini-hook */
    color: #1f2937;
    margin-bottom: 40px;
    /* like mini-hook */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex; /* Make it flex */
    align-items: center; /* Align items vertically */
    justify-content: center; /* Center horizontally */
    gap: 16px; /* Space between emoji and text */
    border-left: 4px solid var(--brand);
    /* mini-hook style */
}

[dir="rtl"] .offer-box {
    border-left: none;
    border-right: 4px solid var(--brand);
}

.offer-box .offer-emoji {
    font-size: 32px;
    display: block;
    margin: 0;
}

.offer-box .offer-text {
    text-align: left; /* Text alignment inside flex child */
}

[dir="rtl"] .offer-box .offer-text {
    text-align: right;
}

.offer-box .offer-text strong {
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    color: var(--brand);
}

.offer-box .offer-text span {
    font-size: 13px;
    color: #4b5563;
}

.timer-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
    justify-content: center;
}

.timer-wrap .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: ikPulse 1.5s infinite;
}

@keyframes ikPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.ik-countdown {
    font-weight: 700;
    color: var(--accent);
}

.ik-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

[dir="rtl"] .ik-form {
    text-align: right;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(108, 59, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Add red star after label if the field inside is required */
.ik-form .form-group:has(input[required])>label::after,
.ik-form .form-group:has(select[required])>label::after {
    content: " *";
    color: #e11d48;
    /* red */
    font-weight: 700;
}

.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-wrap input[type=checkbox] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
    margin-top: 2px;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
}

.checkbox-wrap label {
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
}

/* ─── PACK SELECTION CHECKBOXES ─── */
.ik-checkbox-group {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    background: #fdfdff;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.ik-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.ik-check-item input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--brand);
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    margin: 0;
    border: 1px solid #ddd;
    background-color: #fff;
}

.checkbox-wrap a {
    color: var(--brand);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(108, 59, 255, 0.35);
    letter-spacing: 0.3px;
    font-family: inherit;
}

[dir="rtl"] .btn-primary svg {
    transform: scaleX(-1);
    margin-right: 0;
    margin-left: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(108, 59, 255, 0.4);
}

.btn-primary:active {
    transform: scale(0.98);
}

.no-cc {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.sec-badge {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ─── SUCCESS SCREEN ─── */
.ik-screen-success {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green), #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    animation: ikPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes ikPopIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ik-screen-success h2 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
}

.ik-screen-success p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.next-steps {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    text-align: left;
}

[dir="rtl"] .next-steps {
    text-align: right;
}

.next-steps h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f5;
}

.next-step-item:last-child {
    border: none;
}

.step-num {
    width: 24px;
    height: 24px;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.next-step-item p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}

/* ─── PRICING SECTION ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.price-card {
    background: #fff;
    border: 2px solid #edf2f7;
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-height: 320px;
    cursor: default;
    transition: none !important;
}

.price-card.highlight {
    border-color: var(--brand);
    box-shadow: 0 10px 25px rgba(108, 59, 255, 0.1);
}

.price-card h3 {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 12px;
    color: #1a202c;
    line-height: 1.2;
}

.price-card .subjects {
    color: #718096;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.price-tag {
    font-size: 20px;
    font-weight: 900;
    color: var(--brand);
    margin-top: auto;
}

.avg-cost {
    background: #fdf2f2;
    color: #c53030;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    border: 1px dashed #feb2b2;
}

.payment-methods-box {
    text-align: right;
}

[dir="ltr"] .payment-methods-box {
    text-align: left;
}

.payment-group h5 {
    font-weight: 800;
    font-size: 15px;
    color: #1a202c;
    margin-bottom: 8px;
}

.payment-group p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 5px;
}

.confirm-msg {
    color: #2b6cb0 !important;
    font-weight: 600;
    font-style: italic;
}

.payment-details {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .price-card {
        padding: 24px 8px !important;
        min-height: 198px !important;
    }

    .price-card h3 {
        font-size: 13px !important;
    }

    .price-card .subjects {
        display: block !important;
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }

    .price-tag {
        font-size: 14px !important;
    }
}

/* ─── MODAL ─── */
.ik-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ikFadeIn 0.3s ease;
}

@keyframes ikFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ik-modal {
    background: #fff;
    width: 650px;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: ikModalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes ikModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ik-modal-header {
    padding: 18px 25px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ik-modal-header h3 {
    margin: 0;
    font-weight: 800;
    font-size: 17px;
    color: var(--brand);
}

.ik-modal-header .close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.ik-modal-body {
    padding: 25px;
    overflow-y: auto;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.ik-modal-body p {
    margin-bottom: 15px;
}

.ik-modal-body strong {
    color: #1a202c;
}

.ik-modal-footer {
    padding: 15px 25px;
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: center;
}

/* RTL Adjustments for modal */
[dir="rtl"] .ik-modal-body {
    text-align: right;
}

/* ─── READ MORE STUDENT ─── */
.ik-text-btn {
    background: none;
    border: none;
    color: var(--brand);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}

.ik-text-btn:hover {
    opacity: 0.8;
}

.student-more-content {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.student-more-content p {
    margin-bottom: 12px;
}

.student-more-content strong {
    color: #1a202c;
    display: block;
    margin-bottom: 8px;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.custom-list li {
    margin-bottom: 8px;
    padding-inline-start: 10px;
}

[dir="rtl"] .student-more-content {
    text-align: right;
}