/* Variables and Scope Reset */
:root {
    --primary: #DC2626; 
    --primary-light: #EF4444;
    --dark: #1E293B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease;
}

.fly-now-later-main * { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
.page-template-page-fly-now-later {
    font-family: var(--font-body) !important;
    color: var(--dark) ;
    background-color: var(--light);
    line-height: 1.5;
}
.fly-now-later-main p{
	font-family: var(--font-body) !important;
	font-weight:400;
	font-size:initial;
}
.fly-now-later-main h1, .fly-now-later-main h2, .fly-now-later-main h3, .fly-now-later-main h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}
.highlight { color: var(--primary); }
.hero-gradient {
    background: linear-gradient(90deg, var(--primary), #FF7E5F, var(--primary));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s linear infinite;
    display: inline-block;
}
@keyframes shine {
    to { background-position: 200% center; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.fly-now-later-main a { text-decoration: none; }

/* Utilities */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 { font-size: 2.25rem; margin-bottom: 12px; }
.section-title p { color: var(--gray); font-size: 1.1rem; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.2s; }

/* Layout Adjustments */
.fly-now-later-main section { padding: 40px 0; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(220,38,38,0.05), rgba(30,41,59,0.05));
    position: relative;
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-light);
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text-area { flex: 1; max-width: 600px; }
.hero-text-area h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-text-area p { font-size: 1.15rem; color: var(--gray); margin-bottom: 30px; }
.hero-visual {
    flex: 1; display: flex; justify-content: flex-end; align-items: center; position: relative; max-width: 450px;
}
.hero-features-list {
    display: flex; flex-direction: column; gap: 12px; z-index: 2; width: 100%; max-width: 380px; position: relative;
}
.feature-badge {
    background: var(--white); padding: 12px 20px; border-radius: 8px;
    font-weight: 600; font-size: 1rem; box-shadow: var(--shadow-sm);
    display: flex; align-items: center; gap: 15px; color: var(--dark);
    border: 1px solid var(--gray-light); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}
.feature-badge:hover {
    transform: translateX(-5px); box-shadow: var(--shadow-md); border-color: var(--primary);
}
.feature-badge i {
    color: var(--primary); font-size: 1.15rem; width: 20px; text-align: center;
}
.floating-plane {
    position: absolute; right: -40px; font-size: 16rem; color: var(--primary); opacity: 0.05;
    transform: rotate(-15deg); z-index: 1; pointer-events: none;
}

/* Banks Section */
.banks { background: var(--light); }
.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Adjusted width to fit 3 easily */
    gap: 24px;
    align-items: stretch;
}
.bank-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.bank-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Stacked Line-by-Line Bank Formatting */
.bank-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.bank-logo-wrap {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bank-logo {
    max-height: 100%;
    max-width: 80%;
    object-fit: contain;
}
.bank-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 4px 0;
}
.bank-min {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 600;
    background: var(--light);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
}

.bank-fee {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: -4px;
}

/* Bank Plan Items */
.bank-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    margin-top: auto; /* Pushes to bottom */
}
.plan-item {
    background: var(--light);
    padding: 12px 8px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--gray-light);
}
.plan-months {
    display: block; font-size: 0.85rem; color: var(--gray); font-weight: 600; margin-bottom: 4px;
}
.plan-rate {
    display: block; font-size: 1.15rem; font-weight: 800; color: var(--dark);
}
.plan-rate.zero { color: var(--primary); }

/* How To Book Steps */
.how-to-book {
    background: var(--white);
    border-top: 1px solid var(--gray-light);
}
.booking-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
}
.book-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    max-width: 200px;
}
.step-icon {
    width: 75px;
    height: 75px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: var(--transition);
}
.book-step:hover .step-icon {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
    transform: translateY(-5px);
}
.step-badge {
    position: absolute;
    top: 0;
    right: 50px;
    background: var(--dark);
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--white);
}
.book-step h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}
.book-step p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
}
.step-divider {
    flex-grow: 1;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--gray-light), var(--gray-light) 6px, transparent 6px, transparent 12px);
    margin-top: 35px;
    min-width: 30px;
}

/* BNPL Section (Tabby & Tamara Cards Layout) */
.buy-now-pay-later {
    background: var(--light);
    padding: 60px 0;
}
.bnpl-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.bnpl-action-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: var(--transition);
}
.tabby-card { border-top: 4px solid #33DF93; }
.tamara-card { border-top: 4px solid #FD6B68; }

.bnpl-action-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}
.bnpl-brand-logo {
    height: 40px;
    margin-bottom: 12px;
    object-fit: contain;
}
.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}
.badge-green { background: #E6FBF2; color: #16A34A; }
.badge-orange { background: #FFF4ED; color: #EA580C; }

.bnpl-desc {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.5;
}
.bnpl-features {
    list-style: none;
    text-align: left;
    border-top: 1px solid var(--gray-light);
    padding-top: 20px;
}
.bnpl-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}
.bnpl-features i {
    color: #10B981;
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Redesigned App Offer Section */
.app-offer-new {
    padding: 60px 0;
    background: #0F172A;
    color: var(--white);
    background-image: radial-gradient(circle at 80% 50%, rgba(220,38,38,0.1) 0%, transparent 50%);
}

.app-banner-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.banner-content { flex: 1; max-width: 650px; }

.pulse-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(220,38,38,0.2);
    color: #FBBF24; padding: 8px 16px; border-radius: 30px;
    font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
    margin-bottom: 20px; border: 1px solid rgba(251,191,36,0.3);
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(251,191,36,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(251,191,36,0); }
    100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); }
}

.banner-content h2 { font-size: 2.8rem; margin-bottom: 16px; line-height: 1.2; }
.banner-content h2 span:first-child {
    color: #fff;
}
.highlight-yellow { color: #FBBF24; }
.banner-sub { font-size: 1.1rem !important; color: rgba(255,255,255,0.7); margin-bottom: 30px; max-width: 550px; }

.promo-action {
    display: flex; align-items: center; gap: 15px;
    background: rgba(255,255,255,0.05); padding: 10px;
    border-radius: 12px; border: 1px dashed rgba(255,255,255,0.2);
    width: fit-content;
    flex-wrap: wrap;
}

.code-box {
    display: flex; align-items: center; gap: 12px;
    padding: 0 10px;
}
.lbl { color: var(--gray); font-size: 0.9rem; text-transform: uppercase; }
.code-text {
    background: var(--white); color: var(--dark);
    padding: 8px 16px; border-radius: 8px;
    font-family: monospace; font-size: 1.4rem; letter-spacing: 2px;
}

.btn-copy-new {
    background: var(--primary); color: var(--white);
    border: none; padding: 12px 20px; border-radius: 8px;
    font-weight: 600; font-size: 1rem; cursor: pointer;
    transition: var(--transition);
}
.btn-copy-new:hover { background: var(--primary-light); }

.banner-actions {
    flex-shrink: 0;
    text-align: center;
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.08);
}
.download-text {
    font-size: 1.1rem; font-weight: 600; margin-bottom: 20px;color:#fff;
}

.store-links {
    display: flex; flex-direction: column; gap: 15px; margin-bottom: 24px;
}
.store-btn-img { display: inline-block; }
.store-btn-img img { height: 50px; }
.scale-hover { transition: transform 0.3s ease; }
.scale-hover:hover { transform: scale(1.05); }

.btn-direct-download {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-weight: 600;
    padding: 12px 24px; background: rgba(220,38,38,0.1);
    border-radius: 30px; transition: var(--transition);
}
.btn-direct-download:hover {
    background: var(--primary); color: var(--white);
}

/* Responsive Rules */
@media (max-width: 992px) {
    .booking-steps-container { flex-direction: column; align-items: center; gap: 30px; }
    .book-step { max-width: 300px; }
    .step-divider { display: none; }
    .step-badge { right: 110px; }
    
    .app-banner-wrapper { flex-direction: column; text-align: center; }
    .banner-content { align-items: center; display: flex; flex-direction: column; }
    .promo-action { justify-content: center; }
    .banner-actions { width: 100%; }
    .store-links { flex-direction: row; justify-content: center; }
}

@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text-area h1 { font-size: 2.5rem; }
    .hero-visual { display: none; }
    .banks-grid { grid-template-columns: 1fr; }
    .store-btn { width: 100%; justify-content: center; }
}

/* SEO Content Section Enhancements */
.seo-content-section {
    background: var(--white);
    padding: 80px 0 !important;
    border-top: 1px solid var(--gray-light);
}

.seo-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-intro {
    margin-bottom: 40px;
}

.seo-intro p {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.seo-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.seo-main-text h3 {
    font-size: 1.6rem;
    margin: 35px 0 15px;
    color: var(--dark);
}

.seo-main-text p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.seo-list {
    list-style: none;
    margin-bottom: 25px;
}

.seo-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--gray);
    font-weight: 500;
	font-size:initial;
}

.seo-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.faq-sidebar {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius-lg);
    height: fit-content;
    border: 1px solid var(--gray-light);
}

.faq-sidebar h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary);
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .seo-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
