/* ========================================
   DiscountEscape Affiliate — Premium Light Theme
   Fresh, Clean, & Inspiring Travel Aesthetic
   ======================================== */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors */
    --brand-primary: #FF4D6A; /* DiscountEscape Pink/Red */
    --brand-primary-light: #FF7B91;
    --brand-primary-dark: #cc3d55;
    --brand-secondary: #0f172a; /* Navy Slate */
    --brand-accent: #2563eb; /* Royal Blue */
    --brand-success: #10B981;

    /* Light Theme Palette */
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-soft: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-light: #e2e8f0;
    --border-focus: #FF4D6A;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #FF4D6A 0%, #E11D48 100%);
    --gradient-overlay: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.6));
    --gradient-text: linear-gradient(135deg, #FF4D6A 0%, #7C3AED 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-float: 0 15px 50px rgba(0,0,0,0.15);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none !important;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a, a:hover, a:focus, a:active {
    text-decoration: none !important;
    outline: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---- Shared Typography ---- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--brand-secondary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--gradient-brand);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(255, 77, 106, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 77, 106, 0.4);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: white;
    color: var(--brand-secondary);
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-3px);
}

.btn-primary-sm {
    padding: 10px 20px;
    background: var(--gradient-brand);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-img {
    height: 32px;
    width: auto;
}

/* ---- Hero Banner ---- */
.hero-banner {
    position: relative;
    height: 85vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 56px;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.5s ease;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 40px 24px;
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero-title .highlight {
    color: var(--brand-primary-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Features Bar ---- */
.features-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 24px;
    background: white;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--brand-secondary);
}

.feature-item .material-symbols-rounded {
    color: var(--brand-primary);
}

/* ---- Destinations ---- */
.destinations-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 24px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.dest-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.dest-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.dest-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dest-card:hover .dest-img-wrap img {
    transform: scale(1.1);
}

.dest-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--brand-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.dest-info {
    padding: 24px;
}

.dest-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--brand-secondary);
}

.dest-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.dest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--bg-soft);
}

.btn-dest-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.btn-dest-cta:hover {
    color: var(--brand-primary-dark);
    transform: translateX(5px);
}

.btn-dest-cta .material-symbols-rounded {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.btn-dest-cta:hover .material-symbols-rounded {
    color: var(--brand-primary-dark);
    transform: translateX(3px);
}

/* ---- Video Section ---- */
.video-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

body.video-mode .video-section {
    z-index: 9999 !important;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    background: #000;
    transition: all 0.4s ease;
}

.video-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    max-height: 80vh;
    display: block;
    object-fit: contain; /* Don't crop the video */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-overlay:hover {
    background: rgba(15, 23, 42, 0.2);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn .material-symbols-rounded {
    font-size: 48px;
    font-variation-settings: 'FILL' 1;
}

.video-overlay:hover .play-btn {
    transform: scale(1.1);
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 0 0 20px rgba(255, 77, 106, 0.2);
}

.video-wrapper.is-playing .video-overlay {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Focus Mode */
.video-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998; /* Just below video-section */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

body.video-mode .video-backdrop {
    opacity: 1;
    visibility: visible;
}

body.video-mode {
    overflow: hidden;
}

body.video-mode .site-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.video-mode .video-container {
    transform: scale(1.02);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 20px;
    }
    .video-container {
        max-width: 100%;
        z-index: 1001;
    }
    .video-wrapper video {
        max-height: 70vh;
    }
    .play-btn {
        width: 60px;
        height: 60px;
    }
    .play-btn .material-symbols-rounded {
        font-size: 32px;
    }
    body.video-mode .video-container {
        transform: scale(1);
    }
}

/* ---- Testimonials Slider ---- */
.testimonials-section {
    background: var(--bg-soft);
    padding: 100px 24px;
    overflow: hidden;
}

.testimonials-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px !important;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base);
    border: 1px solid var(--border-light);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 3rem;
    color: var(--brand-primary);
    opacity: 0.15;
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: 'Outfit', serif;
    font-weight: 900;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-info strong {
    display: block;
    color: var(--brand-secondary);
    font-size: 1rem;
    font-weight: 800;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--brand-primary);
    font-weight: 600;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--brand-primary) !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ---- Documentation Gallery ---- */
.docs-section {
    padding: 100px 24px;
    background: white;
    overflow: hidden;
}

.docs-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px 50px 10px !important;
}

.doc-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.doc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doc-card:hover img {
    transform: scale(1.1);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--brand-primary) !important;
    background: white;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: 900;
}

@media (max-width: 768px) {
    .doc-card {
        height: 280px;
    }
    .testimonials-section, .docs-section {
        padding: 60px 20px;
    }
}

/* ---- Form Section ---- */
.form-container-section {
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.form-card-wrapper {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-light);
}

.form-header-premium {
    text-align: center;
    margin-bottom: 40px;
}

.form-header-premium .material-symbols-rounded {
    font-size: 3rem;
    color: var(--brand-primary);
    margin-bottom: 15px;
}

.form-header-premium h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-secondary);
    margin-bottom: 10px;
}

.form-header-premium p {
    color: var(--text-secondary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.full-width {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-secondary);
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap .material-symbols-rounded {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-muted);
    z-index: 10;
    pointer-events: none;
}

.prefix {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 14px 16px 14px 45px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    background: white;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(255, 77, 106, 0.1);
}

/* Radio Cards */
.radio-premium-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 5px;
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-ui {
    padding: 15px;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: block;
    position: relative;
}

.radio-card input:checked + .radio-ui {
    background: white;
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.radio-card input:checked + .radio-ui .radio-circle {
    border-color: var(--brand-primary);
}

.radio-card input:checked + .radio-ui .radio-circle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--brand-primary);
    font-weight: 600;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input {
    border-color: var(--brand-primary);
}

/* Checkbox */
.form-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkbox-premium {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-premium input {
    display: none;
}

.checkbox-ui {
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-premium input:checked + .checkbox-ui {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.checkbox-premium input:checked + .checkbox-ui::after {
    content: '✓';
    position: absolute;
    color: white;
    font-weight: 800;
    font-size: 14px;
    left: 4px;
    top: -2px;
}

/* Radio Small (Sub-options) */
.radio-premium-sm {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-premium-sm:hover {
    border-color: var(--brand-secondary);
    background: var(--bg-soft);
}

.radio-premium-sm input {
    display: none;
}

.radio-ui-sm {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--text-muted);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.radio-premium-sm input:checked + .radio-ui-sm {
    border-color: var(--brand-primary);
}

.radio-premium-sm input:checked + .radio-ui-sm::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
    left: 2.5px;
    top: 2.5px;
}

.radio-premium-sm input:checked ~ .radio-text {
    color: var(--brand-primary);
    font-weight: 600;
}

.radio-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.manual-bank-input {
    margin-top: 15px;
    animation: fadeIn 0.3s ease forwards;
}

.manual-bank-input input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.manual-bank-input input:focus {
    border-color: var(--brand-secondary);
}

/* Sub-options Layout */
.sub-options-container {
    display: none;
    grid-column: span 2;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1.5px dashed var(--border-light);
    margin-top: 10px;
    animation: slideDown 0.3s ease forwards;
}

.sub-options-container.is-visible {
    display: block;
}

.sub-options-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-submit-premium {
    width: 100%;
    padding: 18px;
    background: var(--gradient-brand);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 77, 106, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.btn-submit-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 77, 106, 0.4);
}

.btn-loader {
    display: none;
}

.btn-submit-premium.is-loading .btn-text {
    display: none;
}

.btn-submit-premium.is-loading .btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Success Card */
.success-wrap {
    padding: 100px 24px;
    display: flex;
    justify-content: center;
}

.success-card-premium {
    background: white;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    text-align: center;
    max-width: 550px;
    width: 100%;
}

.success-icon-premium {
    width: 80px;
    height: 80px;
    background: var(--bg-soft);
    color: var(--brand-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
}

.success-icon-premium .material-symbols-rounded {
    font-size: 3rem;
}

.voucher-revealed-premium {
    margin: 40px 0;
    padding: 30px;
    background: var(--brand-secondary);
    color: white;
    border-radius: var(--radius-lg);
}

.v-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 15px;
}

.v-code {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: monospace;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

/* Footer */
.main-footer {
    padding: 80px 24px 40px 24px;
    background: white;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

.footer-copy {
    grid-column: span 2;
    padding-top: 40px;
    border-top: 1px solid var(--bg-soft);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Trust Signals Section */
.trust-container {
    padding: 60px 20px;
    background: #fdfdfd;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.partners-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.trust-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 40px;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
}

.logo-item img {
    height: 100%;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    display: block;
}

/* Specific scaling for better alignment */
.logo-item.visa-fix {
    width: 80px;
}

.logo-item.visa-fix img {
    /* Visa blue filter approx: sepia(100%) saturate(1000%) hue-rotate(190deg) */
    filter: brightness(0) saturate(100%) invert(14%) sepia(87%) saturate(5412%) hue-rotate(231deg) brightness(85%) contrast(101%);
}

.logo-item:hover.visa-fix img {
    filter: none;
}

/* Footer tweaks */
.main-footer {
    border-top: none;
    background: #fdfdfd;
    padding-top: 40px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-banner { height: auto; min-height: 500px; padding: 60px 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { width: 100%; }
    .hero-actions a { width: 100%; }
    
    .header-container { padding: 10px 15px; gap: 15px; }
    .logo-img { height: 24px; }
    .btn-primary-sm { padding: 8px 12px; font-size: 0.75rem; white-space: nowrap; }

    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .destinations-grid { grid-template-columns: 1fr; }
    .form-card-wrapper { padding: 30px 20px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-links { justify-content: center; }
    .footer-copy { grid-column: span 1; }
}

@media (max-width: 380px) {
    .header-container { gap: 10px; }
    .logo-img { height: 20px; }
    .btn-primary-sm { padding: 6px 10px; font-size: 0.7rem; }
}

/* ---- Activation Modal ---- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    overflow-y: auto;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-overlay.is-visible .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 30px 30px 10px 30px;
    text-align: center;
    position: relative;
}

.modal-header-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.modal-header-icon .material-symbols-rounded {
    font-size: 2rem;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-secondary);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--brand-primary);
}

.activation-form {
    padding: 20px 30px 30px 30px;
}

.modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-cancel {
    flex: 1;
    padding: 18px;
    background: var(--bg-soft);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: var(--brand-secondary);
}

#submitActBtn {
    flex: 2;
}

/* Success State in Modal */
#actSuccessState {
    padding: 40px 30px;
    text-align: center;
}

.act-success-icon {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    color: var(--brand-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.act-success-icon .material-symbols-rounded {
    font-size: 3.5rem;
}

.act-success-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-secondary);
    margin-bottom: 15px;
}

.act-success-text {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.act-success-actions {
    display: flex;
    justify-content: center;
}

@media (max-width: 480px) {
    .modal-container { border-radius: 0; height: 100%; max-height: 100%; display: flex; flex-direction: column; overflow-y: auto; }
    .modal-header { padding: 30px 20px 10px 20px; }
    .activation-form { flex: 1; padding: 15px 20px 20px 20px; }
    .modal-footer { flex-direction: column-reverse; margin-top: 20px; }
}

/* ---- Voucher Validation Icons (Improved) ---- */
.input-validation-wrap {
    position: relative;
    display: block; /* Change from flex to block to avoid input stretching issues */
}

.input-validation-wrap input {
    padding-left: 45px;
    padding-right: 16px; /* Base padding */
    transition: all 0.3s ease;
}

.validation-icons {
    position: absolute;
    right: 14px;
    top: 0;
    height: 100%;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Specific overrides for validation icons to avoid being affected by left:14px broad selector */
.validation-icons .material-symbols-rounded {
    position: relative !important; 
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    font-size: 1.5rem !important;
    display: none !important;
}

.icon-valid { color: var(--brand-success); }
.icon-invalid { color: #f43f5e; } /* Premium Red */

.is-valid .icon-valid { 
    display: block !important; 
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.is-invalid .icon-invalid { 
    display: block !important; 
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.input-validation-wrap.is-valid input {
    border-color: var(--brand-success) !important;
    padding-right: 48px !important;
    background-color: rgba(16, 185, 129, 0.03) !important;
}

.input-validation-wrap.is-invalid input {
    border-color: #f43f5e !important;
    padding-right: 48px !important;
    background-color: rgba(244, 63, 94, 0.03) !important;
}

/* ---- Premium Hotel Selection Component ---- */
.hotel-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.hotel-card-premium {
    position: relative;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.hotel-card-premium:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-md);
}

.hotel-card-premium.is-selected {
    border-color: var(--brand-primary);
    background-color: rgba(255, 77, 106, 0.03);
    box-shadow: 0 0 0 4px rgba(255, 77, 106, 0.1);
}

.hotel-card-premium.is-selected::after {
    content: 'check_circle';
    font-family: 'Material Symbols Rounded';
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--brand-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hotel-card-thumb {
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: var(--bg-soft);
}

.hotel-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hotel-card-premium:hover .hotel-card-thumb img {
    transform: scale(1.1);
}

.hotel-card-body {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hotel-card-name {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-secondary);
    line-height: 1.2;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.hotel-card-addr {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.hotel-card-addr .material-symbols-rounded {
    font-size: 0.9rem;
    margin-top: 1px;
}

.hotel-card-rating {
    margin-top: auto;
    display: flex;
    gap: 2px;
}

.hotel-card-rating .material-symbols-rounded {
    font-size: 0.9rem;
    color: #fbbf24; /* Amber-400 */
    font-variation-settings: 'FILL' 1;
}

/* Skeleton Loaders */
.hotel-card-skeleton {
    height: 180px;
    background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 480px) {
    .hotel-selection-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- Terms and Conditions Box ---- */
.tnc-box {
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 15px;
    height: 150px;
    overflow-y: auto;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 10px;
}

.tnc-box p {
    margin-bottom: 10px;
}

.tnc-box p:last-child {
    margin-bottom: 0;
}

.tnc-box strong {
    color: var(--brand-secondary);
}

/* Custom Webkit Scrollbar for TnC box */
.tnc-box::-webkit-scrollbar {
    width: 6px;
}
.tnc-box::-webkit-scrollbar-track {
    background: transparent;
}
.tnc-box::-webkit-scrollbar-thumb {
    background-color: var(--border-light);
    border-radius: 10px;
}
