/* ============================================
   When Will The Transfer Arrive — UK Edition
   Professional Banking Calculator Styles
   ============================================ */

/* Font fallback to prevent CLS */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
    size-adjust: 107.64%;
}

/* CSS Custom Properties */
:root {
    --primary: #0A2540;
    --primary-light: #1A3A5C;
    --secondary: #00D4AA;
    --secondary-dark: #00B894;
    --accent: #635BFF;
    --accent-light: #7A73FF;
    --surface: #FFFFFF;
    --surface-alt: #F6F9FC;
    --surface-dark: #E3E8EE;
    --text-primary: #0A2540;
    --text-secondary: #425466;
    --text-muted: #8792A2;
    --border: #E3E8EE;
    --border-light: #F0F3F7;
    --success: #00D4AA;
    --warning: #FFB347;
    --error: #FF6B6B;
    --info: #635BFF;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.1);
    --shadow-lg: 0 8px 30px rgba(10, 37, 64, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 37, 64, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-main: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --max-width: 1200px;
    --header-height: 72px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--surface-alt);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-light);
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--surface);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 800;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #fff;
}

.header-badge {
    background: rgba(99, 91, 255, 0.2);
    color: var(--accent-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(99, 91, 255, 0.3);
}

/* Language Switcher */
.lang-switcher select {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 28px 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff80' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all 0.2s;
}

.lang-switcher select:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.lang-switcher select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.2);
}

.lang-switcher select option {
    background: var(--primary);
    color: white;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(165deg, var(--primary) 0%, var(--primary-light) 50%, #1e4976 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--secondary), #00F5C8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 212, 170, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ============ CALCULATOR ============ */
.calculator-section {
    margin-top: -48px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.calculator-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
}

.calculator-header {
    text-align: center;
    margin-bottom: 36px;
}

.calculator-header h2 {
    margin-bottom: 8px;
}

.calculator-header p {
    font-size: 0.95rem;
}

/* Calculator Tabs */
.calc-tabs {
    display: flex;
    gap: 4px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 32px;
}

.calc-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: none;
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
}

.calc-tab:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.5);
}

.calc-tab.active {
    background: var(--surface);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.calc-tab-icon {
    font-size: 1.15rem;
}

.calc-tab-content {
    display: none;
}

.calc-tab-content.active {
    display: block;
}

/* Direction Toggle */
.direction-toggle {
    display: flex;
    gap: 4px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 24px;
}

.direction-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
}

.direction-btn:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.5);
}

.direction-btn.active {
    background: var(--surface);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.direction-arrow {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group select,
.form-group input {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--surface);
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    min-height: 52px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23425466' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.form-group select:hover,
.form-group input:hover {
    border-color: var(--text-muted);
}

.form-group select option:disabled {
    color: var(--text-muted);
}

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

/* Calculate Button */
.calculate-btn {
    grid-column: 1 / -1;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    overflow: hidden;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 91, 255, 0.35);
}

.calculate-btn:hover::before {
    left: 100%;
}

.calculate-btn:active {
    transform: translateY(0);
}

/* ============ RESULTS ============ */
.result-section {
    margin-top: 32px;
}

.result-section.hidden {
    display: none;
}

.result-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    overflow: hidden;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.result-icon {
    font-size: 2rem;
}

.result-title h3 {
    color: white;
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.speed-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.speed-instant {
    background: rgba(0, 212, 170, 0.2);
    color: #00F5C8;
}

.speed-sameday {
    background: rgba(99, 91, 255, 0.2);
    color: #A5A0FF;
}

.speed-nextday {
    background: rgba(255, 179, 71, 0.2);
    color: #FFD093;
}

.speed-standard {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.result-main {
    padding: 32px 28px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.arrival-date {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.arrival-time {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
}

.result-details {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light);
}

.detail-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-note {
    display: flex;
    gap: 12px;
    padding: 20px 28px;
    background: rgba(99, 91, 255, 0.04);
    border-bottom: 1px solid var(--border-light);
}

.result-note .note-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.result-note p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.bank-notes {
    padding: 20px 28px;
}

.bank-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.bank-note:last-child {
    border-bottom: none;
}

.bank-note strong {
    color: var(--text-primary);
}

.result-disclaimer {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(255, 179, 71, 0.08);
    border: 1px solid rgba(255, 179, 71, 0.2);
    border-radius: var(--radius-md);
}

.result-disclaimer p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.error-card {
    text-align: center;
    padding: 32px;
}

.error-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.error-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Animation */
.animate-in {
    animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ INFO SECTIONS ============ */
.info-section {
    padding: 80px 0;
}

.info-section:nth-child(even) {
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
}

/* Payment Systems Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.payment-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.payment-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.payment-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.payment-card-icon.instant {
    background: rgba(0, 212, 170, 0.1);
}

.payment-card-icon.standard {
    background: rgba(99, 91, 255, 0.1);
}

.payment-card-icon.priority {
    background: rgba(255, 179, 71, 0.1);
}

.payment-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.payment-card p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.payment-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 6px 0;
    border-top: 1px solid var(--border-light);
}

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

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

/* Banks Grid */
.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.bank-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: center;
    transition: all 0.2s;
}

.bank-chip:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    counter-reset: step;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    counter-increment: step;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--surface);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
}

.faq-answer-inner p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============ CONTENT SECTION ============ */
.content-section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.content-main h2 {
    margin-bottom: 16px;
}

.content-main h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.content-main p {
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.content-main ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.content-main li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.6;
}

.content-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.sidebar-card li:last-child {
    border-bottom: none;
}

/* Ad placeholder */
.ad-placeholder {
    background: var(--surface-alt);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-lg);
    }

    .header-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 40px 0 64px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .calculator-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }

    .calc-tabs {
        flex-direction: row;
    }

    .calc-tab {
        padding: 12px 12px;
        font-size: 0.85rem;
    }

    .calculator-form {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .result-header {
        padding: 20px;
    }

    .result-main {
        padding: 24px 20px;
    }

    .result-details {
        padding: 20px;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }

    .result-note {
        padding: 16px 20px;
    }

    .bank-notes {
        padding: 16px 20px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .banks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .calculator-card {
        padding: 20px 16px;
    }

    .banks-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .bank-chip {
        padding: 12px 8px;
        font-size: 0.78rem;
    }
}

/* ============ UTILITY ============ */
.logo-dot {
    color: var(--secondary);
}

.hidden-initial {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 20px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.cookie-banner-text a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: #00F5C8;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--secondary);
    color: var(--primary);
}

.cookie-btn-accept:hover {
    background: #00F5C8;
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .calculate-btn,
    .ad-placeholder {
        display: none;
    }

    .result-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
