/* ===== Premium Light Theme Variables & Reset ===== */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-light: #F1F5F9;
    --bg-card: #FFFFFF;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --accent-primary: #000000;
    /* Pure black for primary authority */
    --accent-success: #10B981;
    /* Vibrant green for advantage/pricing */
    --accent-success-light: #D1FAE5;

    --border-color: #E2E8F0;
    --border-light: #F1F5F9;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
    /* Clean floating shadow style */

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-light {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.w-100 {
    width: 100%;
    display: block;
    text-align: center;
}

/* ===== Container & Typography ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
.font-bold {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

.section-header {
    margin-bottom: 48px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 12px auto 0;
}

.highlight {
    color: var(--accent-success);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ===== Navbar (Light & Sticky) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-lang-toggle {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.lang-btn:hover {
    background: var(--bg-secondary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 140px;
    padding: 8px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-dropdown li:hover {
    background: var(--bg-secondary);
}

.nav-toggle {
    display: none;
}

/* ===== Hero Section ===== */
.hero {
    padding: 160px 0 100px;
    background-color: var(--bg-primary);
    background-image: url('img/bg-pattern.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 8px;
    padding-left: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.hero-search-box:focus-within {
    border-color: var(--text-primary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 12px;
    display: flex;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    border-radius: var(--radius-pill);
    padding: 12px 30px;
}

.hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.tag-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tag:hover {
    background: #fff;
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.hero-illustration {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
}

.landmarks {
    display: inline-flex;
    gap: 100px;
    align-items: flex-end;
}

/* ===== Spotlight Section (Turkey Focus) ===== */
.spotlight {
    padding: 80px 0;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-success {
    background: var(--accent-success-light);
    color: #047857;
    /* Darker green text */
}

.spotlight-content h2 {
    margin-bottom: 16px;
}

.spotlight-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent-success);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
}

.premium-mockup {
    background: #fff;
    border-radius: 30px;
    padding: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    max-width: 320px;
    margin: 0 auto;
}

.premium-screen {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 24px;
    min-height: 400px;
    border: 1px solid var(--border-light);
}

.mock-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.mock-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-plan-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mock-flag {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.mock-plan-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.mock-plan-data {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-success);
}

.mock-plan-validity {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mock-btn {
    background: var(--accent-success);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

/* ===== Destinations Grid ===== */
.destinations {
    padding: 100px 0;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.dest-card {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.dest-card:hover {
    border-color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dest-icon {
    font-size: 2rem;
    margin-right: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.dest-info {
    flex: 1;
}

.dest-info h3 {
    font-size: 1.1rem;
}

.dest-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.region-card {
    background: var(--bg-secondary);
}

/* ===== Pricing Grid (White Cards with Green Accent) ===== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.plan-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    border-color: var(--accent-success);
    transform: translateY(-8px);
}

.plan-card.recommended {
    border-color: var(--accent-success);
    border-width: 2px;
    box-shadow: var(--shadow-md);
}

.badge-recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-success);
    color: #fff;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.plan-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.plan-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-title .flag {
    font-size: 1.8rem;
}

.plan-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.plan-data {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.plan-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 8px 0 16px;
}

/* ===== How it Works ===== */
.how-it-works {
    padding: 100px 0;
    background: #fff;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.step-box {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 24px;
}

.step-box h3 {
    margin-bottom: 16px;
}

.step-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Footer (esim.io style Dark) ===== */
.footer-dark {
    background: var(--accent-primary);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo-text,
.footer-logo .logo-icon {
    color: #fff;
}

.footer-brand p {
    color: #A1A1AA;
    font-size: 0.95rem;
    max-width: 300px;
}

.app-buttons {
    display: flex;
    gap: 12px;
}

.store-badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #A1A1AA;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A1A1AA;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #A1A1AA;
    text-decoration: none;
    font-weight: 600;
}

.social-links a:hover {
    color: #fff;
}

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

/* ===== Responsive Mobile ===== */
@media (max-width: 900px) {

    .spotlight-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}