* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #10b981;
    --accent-dark: #059669;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* ===== HEADER ===== */
.site-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.logo-icon {
    font-size: 28px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-list a {
    padding: 8px 16px;
    border-radius: var(--radius);
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--primary);
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--primary);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    z-index: 100;
    overflow: hidden;
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--bg);
    color: var(--primary);
}

.lang-option.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: white;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.swift-checker-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 700px;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
}

.swift-form .input-group {
    display: flex;
    gap: 12px;
}

.swift-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.swift-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.swift-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-lighter);
}

.swift-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.swift-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.input-hint {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-lighter);
}

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

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.hero-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.hero-btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* ===== STATS ===== */
.stats-section {
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

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

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== INFO SECTION ===== */
.info-section {
    padding: 60px 0;
}

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

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.tip-box {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
}

.tip-icon {
    margin-right: 6px;
}

.swift-structure {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.structure-part {
    padding: 12px 16px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    font-family: monospace;
}

.structure-part span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

.bank-code { background: #dbeafe; color: #1e40af; }
.country-code { background: #dcfce7; color: #166534; }
.location-code { background: #fef3c7; color: #92400e; }
.branch-code { background: #f3e8ff; color: #7e22ce; }

/* ===== COUNTRIES ===== */
.countries-section {
    padding: 60px 0;
    background: var(--bg);
}

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

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
}

.view-all {
    font-weight: 600;
    color: var(--primary);
}

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

.countries-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-light);
}

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

.country-flag {
    font-size: 32px;
    margin-bottom: 8px;
}

.country-flag-lg {
    font-size: 48px;
    margin-bottom: 12px;
}

.country-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.country-count {
    font-size: 13px;
    color: var(--text-lighter);
}

/* ===== FEATURES ===== */
.features-section {
    padding: 60px 0;
}

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

.feature-item {
    text-align: center;
    padding: 32px 20px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 48px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 40px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.content-main {
    min-width: 0;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

/* ===== CHECKER CARD ===== */
.checker-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

/* ===== SEARCH TABS ===== */
.search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 4px;
}

.search-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-tab:hover {
    color: var(--text);
    background: var(--bg-card);
}

.search-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

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

/* ===== BANK SEARCH RESULTS ===== */
.bank-search-results {
    margin-top: 24px;
}

.bank-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.bank-result-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.bank-result-info {
    flex: 1;
    min-width: 0;
}

.bank-result-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bank-result-location {
    font-size: 13px;
    color: var(--text-light);
}

.bank-view-codes-btn {
    flex-shrink: 0;
    margin-left: 16px;
    padding: 8px 16px;
    font-size: 13px;
}

.bank-codes-results .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.back-to-search-btn {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.back-to-search-btn:hover {
    background: var(--border);
}

.loading-spinner {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESULTS ===== */
.results-section {
    margin-bottom: 32px;
}

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

.results-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
}

.result-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.result-badge.valid {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.result-badge.invalid {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.result-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.result-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.result-bank {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.result-swift {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius);
}

.result-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

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

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.swift-code-value {
    font-family: monospace;
    font-weight: 600;
    color: var(--primary);
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    opacity: 0.5;
    transition: var(--transition);
}

.copy-btn:hover {
    opacity: 1;
}

.result-share {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.results-note {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    padding: 16px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: var(--radius);
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.swift-code-example {
    font-family: monospace;
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
}

/* ===== TIPS ===== */
.tips-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.tips-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.tip-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius);
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== FINDER ===== */
.finder-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.finder-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-lighter);
    background: var(--bg);
}

.step.active {
    background: var(--primary);
    color: white;
}

.step.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: currentColor;
    color: white;
}

.step.active .step-number {
    background: white;
    color: var(--primary);
}

.step.completed .step-number {
    background: var(--success);
    color: white;
}

.step-arrow {
    color: var(--text-lighter);
    font-size: 20px;
}

.finder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.finder-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.finder-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
    appearance: auto;
}

.finder-select:focus {
    outline: none;
    border-color: var(--primary);
}

.finder-field.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.finder-btn {
    width: 100%;
    justify-content: center;
}

/* ===== RESULTS TABLE ===== */
.results-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.results-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-table tr:hover {
    background: rgba(37, 99, 235, 0.02);
}

.results-table .bank-name {
    font-weight: 600;
    color: var(--secondary);
}

.swift-code-cell {
    font-family: monospace;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}

.swift-code-cell:hover {
    text-decoration: underline;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--primary-dark);
    color: white;
}

/* ===== BANKS LIST ===== */
.banks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.bank-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.bank-name {
    font-size: 16px;
    font-weight: 600;
}

.bank-name a {
    color: var(--secondary);
}

.bank-name a:hover {
    color: var(--primary);
}

.bank-branches {
    font-size: 13px;
    color: var(--text-lighter);
    margin-top: 4px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    margin-bottom: 24px;
}

.search-bar form {
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary);
}

/* ===== CONTACT ===== */
.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 14px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== STATIC CONTENT ===== */
.static-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.static-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--secondary);
}

.static-content h2:first-child {
    margin-top: 0;
}

.static-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #000; }
.share-linkedin { background: #0a66c2; }
.share-whatsapp { background: #25d366; }
.share-copy { background: var(--text-light); }

/* ===== SOCIAL ICONS ===== */
.social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-2px);
    color: white;
}

.social-facebook { background: #1877f2; }
.social-twitter { background: #000; }
.social-linkedin { background: #0a66c2; }
.social-whatsapp { background: #25d366; }
.social-telegram { background: #0088cc; }

.social-icons-sm .social-icon { width: 32px; height: 32px; }
.social-icons-sm .social-icon svg { width: 16px; height: 16px; }

/* ===== AD CONTAINERS ===== */
.ad-container {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.ad-placeholder-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ===== RECENT LIST ===== */
.recent-list {
    list-style: none;
}

.recent-list li {
    margin-bottom: 8px;
}

.recent-list a {
    display: block;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: var(--radius);
    font-family: monospace;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    transition: var(--transition);
}

.recent-list a:hover {
    background: rgba(37, 99, 235, 0.1);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--secondary);
    color: white;
}

.footer-donate {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.donate-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.donate-text {
    font-weight: 600;
    font-size: 15px;
}

.donate-buttons {
    display: flex;
    gap: 12px;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.donate-paypal {
    background: #0070ba;
    color: white;
}

.donate-paypal:hover {
    background: #005ea6;
    color: white;
}

.donate-coffee {
    background: #ffdd00;
    color: #000 !important;
}

.donate-coffee:hover {
    background: #ffcc00;
    color: #000;
}

.footer-main {
    padding: 60px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-small {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright, .credit {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 16px 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

.cookie-notice.active {
    display: block;
}

.cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cookie-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

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

.cookie-icon {
    font-size: 24px;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-accept {
    background: var(--accent);
    color: white;
}

.cookie-accept:hover {
    background: var(--accent-dark);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .content-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .content-sidebar > * {
        flex: 1;
        min-width: 250px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .finder-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .finder-actions {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        padding: 16px;
    }
    .main-nav.active {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        gap: 4px;
    }
    .nav-list a {
        display: block;
        padding: 12px 16px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .swift-form .input-group {
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .result-details {
        grid-template-columns: 1fr;
    }
    .finder-grid {
        grid-template-columns: 1fr;
    }
    .finder-actions {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    .static-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-section {
        padding: 40px 0 60px;
    }
    .hero-title {
        font-size: 24px;
    }
    .swift-checker-box {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-card {
        padding: 16px;
    }
    .stat-number {
        font-size: 22px;
    }
    .countries-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .bank-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .page-title {
        font-size: 28px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left {
    display: flex;
    align-items: center;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-donate {
    color: #94a3b8;
    font-size: 12px;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.topbar-donate:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* ===== SHARE ICONS ===== */
.share-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}
.share-icon {
    color: #94a3b8;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.share-icon:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}
.footer .share-icons .share-icon {
    color: #64748b;
}
.footer .share-icons .share-icon:hover {
    color: var(--primary);
    background: rgba(37,99,235,0.1);
}

/* ===== PAGINATION ===== */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.pagination-inner {
    display: flex;
    align-items: center;
    gap: 4px;
}
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}
.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37,99,235,0.05);
}
.pagination-active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination-active:hover {
    color: white;
    background: var(--primary-dark);
}
.pagination-dots {
    padding: 0 6px;
    color: var(--text-lighter);
    font-size: 13px;
}

/* ===== RECAPTCHA ===== */
.recaptcha-group {
    margin-bottom: 16px;
}
.recaptcha-group .g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
}

/* ===== CONTACT EMAIL ===== */
.contact-email {
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--border-light);
    border-radius: var(--radius);
    font-size: 14px;
}
.contact-email a {
    color: var(--primary);
    word-break: break-all;
}

/* ===== RESULTS HEADER ===== */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.results-header .result-count {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 640px) {
    .topbar-inner {
        flex-direction: column;
        gap: 6px;
    }
    .topbar-left {
        display: none;
    }
    .pagination-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
}
