:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --container: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

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

.section {
    padding: 96px 0;
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

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

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
}

.logo-sub {
    font-weight: 500;
    color: var(--primary);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

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

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero.jpg') center/cover no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(37, 99, 235, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 32px 24px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.0625rem;
}

.intro-text strong {
    color: var(--text);
}

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

.stat {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

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

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

.tip-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.tip-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text);
}

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

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

.destination-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.destination-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover img {
    transform: scale(1.05);
}

.destination-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 70%, transparent 100%);
    color: white;
}

.destination-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 10px;
}

.destination-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.destination-content p {
    font-size: 0.9375rem;
    opacity: 0.9;
    line-height: 1.5;
}

.card-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 520px;
}

.card-gradient {
    background-size: cover;
    background-position: center;
}

.gradient-outback {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%);
}

.gradient-food {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}

/* Plan */
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.plan-content p {
    color: var(--text-light);
    font-size: 1.0625rem;
    margin-bottom: 24px;
}

.plan-list {
    list-style: none;
    margin-bottom: 32px;
}

.plan-list li {
    padding: 10px 0;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.plan-visual {
    display: flex;
    justify-content: center;
}

.plan-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    width: 100%;
    border: 1px solid var(--border);
}

.plan-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.plan-card ol {
    padding-left: 20px;
    color: var(--text-light);
}

.plan-card li {
    padding: 8px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--text);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

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

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 64px 0 24px;
}

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

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

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

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

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Cookie consent */
.cookie-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cookie-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.hide {
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1100px;
    width: 100%;
    background: var(--text);
    color: white;
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cookie-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
    color: white;
}

.cookie-banner-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

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

.cookie-banner-text a:hover {
    color: white;
}

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

.cookie-banner-actions .cookie-btn {
    flex: 0 0 auto;
    min-width: auto;
}

.cookie-banner-actions .cookie-btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-banner-actions .cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.cookie-floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9997;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.cookie-floating-btn.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.cookie-floating-btn:hover {
    background: var(--bg-alt);
    transform: scale(1.05);
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cookie-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-inner {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 32px;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.show .cookie-modal-inner {
    transform: translateY(0) scale(1);
}

.cookie-modal-header {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.cookie-modal-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-title h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.cookie-modal-title p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.5;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cookie-category-locked {
    opacity: 0.85;
}

.cookie-category-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.cookie-category-info p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background 0.25s ease;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:focus-visible + .cookie-toggle-slider {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-modal-actions.hidden {
    display: none;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex: 1 1 auto;
    min-width: 120px;
}

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

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

.cookie-btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.cookie-btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--text-light);
}

.cookie-btn-text {
    background: transparent;
    color: var(--primary);
    padding-left: 12px;
    padding-right: 12px;
}

.cookie-btn-text:hover {
    color: var(--primary-dark);
    background: var(--primary-light);
}

.cookie-modal-footer-text {
    margin-top: 18px;
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
}

.cookie-modal-footer-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-modal-footer-text a:hover {
    color: var(--primary-dark);
}

.footer-links a.cookie-settings-link {
    color: var(--primary);
}

@media (max-width: 900px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }

    .cookie-banner-content {
        align-items: flex-start;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        min-width: auto;
    }

    .cookie-floating-btn {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 640px) {
    .cookie-modal {
        padding: 16px;
        align-items: flex-end;
    }

    .cookie-modal-inner {
        padding: 24px;
        max-height: calc(100vh - 32px);
    }

    .cookie-modal-header {
        gap: 14px;
    }

    .cookie-modal-icon {
        width: 44px;
        height: 44px;
    }

    .cookie-modal-title h2 {
        font-size: 1.125rem;
    }

    .cookie-modal-actions {
        flex-direction: column;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .tips-grid,
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-top: 1px solid var(--border);
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.25rem;
    }

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

    .intro-grid,
    .plan-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-stats {
        order: -1;
    }

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

    .card-large {
        grid-column: span 1;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}
