/* ===================================
   Currency Converter Australia
   Modern, Clean Design for AUS Market
   =================================== */

/* CSS Variables */
:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #E6F0FA;
    --secondary: #00A86B;
    --secondary-light: #E6F7F1;
    --accent: #FFB800;
    --accent-light: #FFF5D6;

    --text-primary: #1A1A2E;
    --text-secondary: #4A4A68;
    --text-muted: #7A7A94;

    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-alt: #F1F5F9;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text .au {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

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

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.stat {
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 100px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Hero Visual - Animated Globe */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.currency-globe {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe-ring {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.2;
}

.ring-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: rotate 20s linear infinite;
}

.ring-2 {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation: rotate 15s linear infinite reverse;
}

.ring-3 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation: rotate 10s linear infinite;
}

.globe-center {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-xl);
}

.floating-currency {
    position: absolute;
    background: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.fc-1 { top: 5%; left: 45%; animation-delay: 0s; }
.fc-2 { top: 25%; right: 5%; animation-delay: 0.5s; }
.fc-3 { top: 60%; right: 0; animation-delay: 1s; }
.fc-4 { bottom: 10%; left: 40%; animation-delay: 1.5s; }
.fc-5 { top: 50%; left: 0; animation-delay: 2s; }
.fc-6 { top: 15%; left: 5%; animation-delay: 2.5s; }

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Info Cards
   =================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

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

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.info-card h3 {
    margin-bottom: 12px;
}

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

/* ===================================
   Calculator
   =================================== */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.calculator {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.calc-row {
    display: flex;
    gap: 16px;
    align-items: end;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calc-input-group {
    flex: 1;
    min-width: 150px;
}

.calc-input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.calc-input-group input,
.calc-input-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    transition: var(--transition-fast);
    font-family: inherit;
}

.calc-input-group input:focus,
.calc-input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.swap-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

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

.swap-btn svg {
    width: 20px;
    height: 20px;
}

.calc-result {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    margin-bottom: 24px;
}

.result-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
}

.result-currency {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.result-rate {
    font-size: 0.95rem;
    opacity: 0.8;
}

.calc-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.calc-info {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.calc-info h3 {
    margin-bottom: 20px;
}

.calc-tips {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-tips li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.calc-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.calc-tips li strong {
    color: var(--text-primary);
}

/* ===================================
   Multi-Currency Calculator
   =================================== */
.calculator-multi {
    max-width: 100%;
}

.calc-input-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.calc-input-amount {
    flex: 1;
    min-width: 200px;
}

.calc-input-currency {
    flex: 2;
    min-width: 280px;
}

.calc-amount-display {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.calc-amount-display #display-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.calc-amount-display #display-currency {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.calc-amount-display .equals {
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.7;
    margin-left: 16px;
}

.multi-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.result-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.result-flag {
    font-size: 1.5rem;
}

.result-code {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.result-rate {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.result-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.calc-disclaimer-box {
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.disclaimer-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.disclaimer-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer-content a {
    color: var(--primary);
    text-decoration: underline;
}

.rate-status {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 12px !important;
}

.rate-status.live {
    background: var(--secondary-light);
    color: var(--secondary);
}

.rate-status.fallback {
    background: var(--accent-light);
    color: #B8860B;
}

.status-live {
    color: var(--secondary);
    font-weight: 600;
}

.status-fallback {
    color: #B8860B;
    font-weight: 600;
}

.status-loading {
    color: var(--primary);
    font-weight: 500;
}

.status-error {
    color: #DC3545;
    font-weight: 600;
}

.rate-status.loading {
    background: var(--primary-light);
    color: var(--primary);
}

.rate-status.error {
    background: #FDECEA;
    color: #DC3545;
}

.no-rates {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .calc-input-row {
        flex-direction: column;
        gap: 16px;
    }

    .calc-input-amount,
    .calc-input-currency {
        min-width: 100%;
    }

    .calc-amount-display {
        padding: 20px;
    }

    .calc-amount-display #display-amount {
        font-size: 1.75rem;
    }

    .calc-amount-display #display-currency {
        font-size: 1.125rem;
    }

    .calc-amount-display .equals {
        font-size: 1.5rem;
    }

    .multi-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .result-card {
        padding: 16px;
    }

    .result-value {
        font-size: 1.25rem;
    }

    .calc-disclaimer-box {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===================================
   Currency Grid
   =================================== */
.currency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

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

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

.currency-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.currency-flag {
    font-size: 2.5rem;
}

.currency-info h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.currency-code {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.currency-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.currency-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fact {
    background: var(--bg-alt);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===================================
   Tips Grid
   =================================== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

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

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

.tip-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
}

.tip-card h3 {
    margin-bottom: 12px;
    padding-right: 60px;
}

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

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

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: var(--bg-alt);
}

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

.faq-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===================================
   Trends Section
   =================================== */
.trends-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow);
}

.trend-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.trend-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.trend-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.trend-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.trend-chart {
    margin-bottom: 32px;
}

.chart-placeholder {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    height: 200px;
    margin-bottom: 16px;
}

.bar {
    width: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: var(--transition);
}

.bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

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

.trend-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.insight {
    text-align: center;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.insight h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.insight p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===================================
   SEO Section
   =================================== */
.section-seo {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    columns: 1;
}

.seo-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}

@media (min-width: 768px) {
    .seo-content {
        columns: 2;
        column-gap: 48px;
    }

    .seo-content p {
        break-inside: avoid;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 40px;
}

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

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

.footer-brand .logo .au {
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 40px;
    }

    .currency-globe {
        width: 300px;
        height: 300px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat {
        padding: 12px 16px;
        min-width: 80px;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .calculator {
        padding: 24px;
    }

    .calc-row {
        flex-direction: column;
        align-items: stretch;
    }

    .calc-input-group {
        min-width: 100%;
    }

    .swap-btn {
        align-self: center;
        transform: rotate(90deg);
    }

    .result-amount {
        font-size: 2.25rem;
    }

    .currency-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .trend-insights {
        grid-template-columns: 1fr;
    }
}

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

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .currency-globe {
        width: 250px;
        height: 250px;
    }

    .globe-center {
        width: 80px;
        height: 80px;
        font-size: 1.25rem;
    }

    .floating-currency {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Animations & Utilities
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Smooth scroll anchor offset for fixed header */
:target {
    scroll-margin-top: 100px;
}

/* ===================================
   Breadcrumbs
   =================================== */
.breadcrumbs {
    background: var(--bg-alt);
    padding: 12px 0;
    margin-top: 72px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-list a {
    color: var(--text-secondary);
}

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

.breadcrumb-list .separator {
    color: var(--text-muted);
}

.breadcrumb-list .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===================================
   Navigation Dropdown
   =================================== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px 0;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
}

.dropdown-menu li a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

/* ===================================
   Tool Intro Section
   =================================== */
.tool-intro {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
}

.tool-intro h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.tool-intro p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.tool-intro p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Tool Guide Section
   =================================== */
.tool-guide {
    margin-top: 48px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.tool-guide h3 {
    margin-bottom: 24px;
}

.guide-content {
    margin-bottom: 32px;
}

.guide-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.guide-faq h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* ===================================
   Articles Grid
   =================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

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

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

.article-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card h3 {
    margin-bottom: 12px;
}

.article-card h3 a {
    color: var(--text-primary);
}

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

.article-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

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

.articles-cta {
    text-align: center;
}

/* ===================================
   Blog Listing Page
   =================================== */
.blog-hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    padding-top: 120px;
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.blog-card.featured .blog-card-content {
    color: white;
}

.blog-card.featured h2 a,
.blog-card.featured p {
    color: white;
}

.blog-card.featured .article-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.blog-card.featured .article-meta {
    color: rgba(255, 255, 255, 0.8);
}

.blog-card-content {
    padding: 32px;
}

.blog-card h2,
.blog-card h3 {
    margin-bottom: 12px;
}

.blog-card h2 a,
.blog-card h3 a {
    color: var(--text-primary);
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-cta {
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-box h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-box p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-box .btn-primary:hover {
    background: var(--bg-light);
}

/* ===================================
   Blog Post Page
   =================================== */
.blog-post {
    padding-top: 40px;
}

.post-header {
    text-align: center;
    margin-bottom: 48px;
}

.post-header h1 {
    margin: 16px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-content .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.post-content h2 {
    margin-top: 48px;
    margin-bottom: 20px;
}

.post-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.post-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.post-content ul li {
    list-style-type: disc;
}

.post-content ol li {
    list-style-type: decimal;
}

.post-content a {
    text-decoration: underline;
}

.post-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.post-tags .tag {
    background: var(--bg-alt);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.related-posts {
    margin-top: 48px;
}

/* ===================================
   Page Content (About, Contact, Legal)
   =================================== */
.page-content {
    padding-top: 40px;
}

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

.content-wrapper h1 {
    margin-bottom: 24px;
}

.content-wrapper h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-wrapper h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-wrapper p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.content-wrapper ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.content-wrapper li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    list-style-type: disc;
}

.content-wrapper .lead {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

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

.feature-list {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.feature-item {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: var(--radius);
}

.feature-item h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* ===================================
   Contact Page
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.contact-methods {
    margin: 24px 0;
}

.contact-method {
    margin-bottom: 24px;
}

.contact-method h3 {
    margin-top: 0;
    color: var(--primary);
}

.contact-note {
    background: var(--accent-light);
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 32px;
}

.contact-note h3 {
    margin-top: 0;
    color: var(--text-primary);
}

.contact-form-wrapper h2 {
    margin-top: 0;
    margin-bottom: 24px;
}

.contact-form {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

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

.faq-section {
    margin-top: 48px;
}

.faq-section h2 {
    margin-bottom: 24px;
}

/* ===================================
   Legal Pages
   =================================== */
.legal-page .content-wrapper {
    padding-bottom: 60px;
}

.legal-page h1 {
    margin-bottom: 8px;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.disclaimer-highlight {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 24px;
    margin: 32px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.disclaimer-highlight h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* ===================================
   Responsive for New Components
   =================================== */
@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 72px;
    }

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

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

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

    .tool-intro,
    .tool-guide {
        padding: 24px;
    }

    .post-content {
        padding: 0 16px;
    }

    .cta-box {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        font-size: 0.8rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 8px;
    }
}
