/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #1D4ED8;
    --secondary-hover: #172554;
    --accent: #22C55E;
    --accent-hover: #16A34A;
    --bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --text: #111827;
    --text-muted: #6B7280;
    --border-color: #E2E8F0;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Rounded corners & shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.03), 0 4px 6px -2px rgba(37, 99, 235, 0.01);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 25px 50px -12px rgba(17, 24, 39, 0.08);
    
    /* Fonts & Transitions */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Section Common Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--text);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.2);
}

.btn-outline:hover {
    background-color: rgba(37, 99, 235, 0.04);
    border-color: var(--primary);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
}

.btn-text .arrow {
    margin-left: 6px;
    transition: var(--transition-fast);
}

.btn-text:hover .arrow {
    transform: translateX(4px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   HEADER NAVIGATION (Glassmorphism)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background-color: rgba(248, 250, 252, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
}

.logo-text span {
    color: var(--primary);
    font-weight: 600;
}

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    z-index: 110;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}

.animate-pulse {
    animation: pulse 2.5s infinite ease-in-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    width: 100%;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Hero Right Side - Illustration */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 2;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.02);
}

.glow-sphere {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(34, 197, 94, 0.03) 50%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   SECTION 2: FEATURED PROMOTIONS
   ========================================================================== */
.featured-section {
    padding: 100px 0;
    background-color: var(--bg);
}

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

.promo-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(37, 99, 235, 0.15);
}

/* Visual cue for the featured middle card */
.promo-card.featured-badge {
    border-color: var(--primary);
    box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.15);
}

.promo-card.featured-badge::after {
    content: "Najlepszy Wybór";
    position: absolute;
    top: -14px;
    left: 32px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.promo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.bank-logo {
    height: 38px;
    display: flex;
    align-items: center;
}

.bank-logo svg {
    height: 100%;
    width: auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
}

.badge-active {
    background-color: rgba(34, 197, 94, 0.08);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.badge-pulse-dot::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent);
    animation: badgePulse 2s infinite ease-out;
}

@keyframes badgePulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.promo-card-body {
    flex-grow: 1;
    margin-bottom: 28px;
}

.promo-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.reward-tag {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    padding: 12px 18px;
    border-radius: 12px;
    border-left: 3px solid var(--accent);
}

.reward-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.reward-amount {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-top: 2px;
}

.promo-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.promo-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.promo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.85rem;
}

.meta-label {
    color: var(--text-muted);
}

.meta-value {
    font-weight: 600;
    color: var(--text);
}

/* ==========================================================================
   SECTION 3: HOW IT WORKS
   ========================================================================== */
.how-it-works-section {
    padding: 100px 0;
    background-color: #FFFFFF;
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    position: relative;
}

.step-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    position: relative;
    z-index: 2;
}

.step-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-icon-wrapper {
    width: 72px;
    height: 72px;
    background-color: rgba(37, 99, 235, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.step-card:hover .step-icon-wrapper {
    transform: scale(1.08) rotate(2deg);
    background-color: rgba(37, 99, 235, 0.1);
}

.step-icon {
    width: 32px;
    height: 32px;
}

.step-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text);
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.4) 50%, rgba(37, 99, 235, 0.1) 100%);
    margin-top: 68px;
    position: relative;
    max-width: 120px;
}

/* ==========================================================================
   SECTION 4: LATEST PROMOTIONS
   ========================================================================== */
.latest-section {
    padding: 100px 0;
    background-color: var(--bg);
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.article-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    overflow: hidden;
    min-height: 240px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.1);
}

.article-image-area {
    width: 280px;
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

/* Modern gradient mesh replacements for generic blog stock photos */
.grad-blue-purple {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
}

.grad-green-teal {
    background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
}

.grad-orange-red {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(17, 24, 39, 0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

.article-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bank-logo-sm {
    height: 22px;
    display: flex;
    align-items: center;
}

.bank-logo-sm svg {
    height: 100%;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.article-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
}

.article-title a:hover {
    color: var(--primary);
}

.article-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.article-reward {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reward-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reward-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

/* ==========================================================================
   SECTION 5: WHY TRUST US?
   ========================================================================== */
.trust-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

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

.trust-card {
    background-color: var(--bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
}

.trust-card:hover {
    background-color: #FFFFFF;
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.trust-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.trust-icon-box svg {
    width: 100%;
    height: 100%;
}

.trust-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.trust-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 6: NEWSLETTER
   ========================================================================== */
.newsletter-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.newsletter-card {
    background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(29, 78, 216, 0.2);
    text-align: center;
}

.newsletter-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.newsletter-form {
    width: 100%;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.input-group input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 12px 18px;
    outline: none;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group .btn {
    border-radius: 12px;
}

.newsletter-spam-notice {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.form-feedback {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 24px;
    transition: var(--transition);
}

.form-feedback.success {
    color: #22C55E;
}

.form-feedback.error {
    color: #EF4444;
}

/* ==========================================================================
   SECTION 7: FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--text);
    color: #F8FAFC;
    padding: 80px 0 40px 0;
    border-top: 1px solid #1F2937;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo-text {
    color: #FFFFFF;
}

.footer-brand .logo-text span {
    color: #FFFFFF;
}

.brand-tagline {
    color: #9CA3AF;
    font-size: 0.95rem;
    margin-top: 20px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #9CA3AF;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #F3F4F6;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-links-list a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid #1F2937;
    padding-top: 40px;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.copyright {
    color: #6B7280;
    font-size: 0.85rem;
}

.disclaimer {
    color: #4B5563;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ==========================================================================
   DRAWER / MODAL COMPONENT (Slide in from right)
   ========================================================================== */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 480px;
    max-width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 160;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer.active {
    right: 0;
}

.drawer-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-fast);
}

.drawer-close:hover {
    color: var(--text);
}

.drawer-header {
    padding: 36px 36px 24px 36px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-bank-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.drawer-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.drawer-reward-badge {
    display: inline-block;
    background-color: rgba(34, 197, 94, 0.08);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 36px;
}

.drawer-steps-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.drawer-steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.drawer-step-item {
    position: relative;
    padding-left: 48px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.drawer-step-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    background-color: rgba(37, 99, 235, 0.06);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.drawer-info-box {
    background-color: rgba(37, 99, 235, 0.04);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.drawer-footer {
    padding: 24px 36px;
    border-top: 1px solid var(--border-color);
    background-color: #F8FAFC;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Desktop First Approach)
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .step-connector {
        display: none;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        width: 100%;
        max-width: 480px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 40px;
    }
    
    .step-card:last-child {
        border-bottom: none;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Mobile Menu Drawer Layout */
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #6B7280;
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #6B7280;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background-color: #FFFFFF;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 105;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px 32px;
        gap: 24px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text);
        width: 100%;
        padding: 8px 0;
        display: block;
    }
    
    .main-header.menu-open {
        height: 100vh !important;
        background-color: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .main-header.menu-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(17, 24, 39, 0.4);
        z-index: 100;
        backdrop-filter: blur(2px);
    }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 24px);
        padding-bottom: 48px;
    }
    
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-image-area {
        width: 100%;
        height: 180px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-card {
        padding: 48px 24px;
    }
    
    .newsletter-title {
        font-size: 1.85rem;
    }
    
    .input-group {
        flex-direction: column;
        background-color: transparent;
        border: none;
        padding: 0;
    }
    
    .input-group input {
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        margin-bottom: 12px;
    }
    
    .input-group .btn {
        width: 100%;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ==========================================================================
   ARTICLE MODAL COMPONENT
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 90%;
    max-width: 760px;
    max-height: 85vh;
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    z-index: 210;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-fast);
    z-index: 10;
}

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

.modal-header {
    padding: 32px 32px 20px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-bank-logo {
    height: 32px;
}

.modal-bank-logo svg {
    height: 100%;
    width: auto;
}

.modal-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 40px;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.modal-body h2 {
    font-size: 1.35rem;
    color: var(--text);
    margin: 28px 0 16px 0;
    font-weight: 700;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 8px;
}

.modal-article-title {
    font-size: 1.85rem;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.modal-article-lead {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.modal-article-summary {
    background-color: var(--bg);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.summary-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.summary-item {
    font-size: 0.95rem;
    color: var(--text);
}

.referral-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(34, 197, 94, 0.02) 100%);
    border: 1px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 28px 0;
    text-align: center;
}

.referral-box h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.code-copy-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 12px;
    margin-top: 12px;
}

.ref-code {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.btn-copy-code {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-copy-code:hover {
    background-color: var(--primary-hover);
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--border-color);
    background-color: #F8FAFC;
}

.article-steps-ordered {
    padding-left: 20px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.article-steps-ordered li {
    margin-bottom: 12px;
    padding-left: 4px;
}

@media (max-width: 768px) {
    .modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-article-title {
        font-size: 1.45rem;
    }
    
    .summary-box {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 620px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-text {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.6;
    text-align: left;
}

.cookie-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   HERO PROMOTIONS COLUMN
   ========================================================================== */
.hero-visual-featured {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.hero-featured-header {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
}

.hero-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.hero-promo-card-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.hero-promo-bank-logo {
    height: 18px;
    display: flex;
    align-items: center;
}

.hero-promo-bank-logo svg {
    height: 100%;
}

.hero-promo-card-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

.hero-promo-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 90px;
}

.hero-promo-reward-badge {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-promo-card {
        padding: 12px;
    }
}
