/* ======================================
   NomadHub - Minimal Neumorphic Design
   Clean & Lightweight Stylesheet
   ====================================== */

/* ============ CSS Variables ============ */
:root {
    /* Colors - Soft & Minimal */
    --color-primary: #FF8B5A;
    --color-primary-light: #FFBFA0;
    --color-primary-gradient: linear-gradient(180deg, #FFBFA0 0%, #FF8B5A 100%);

    --bg-main: #E8ECF0;
    --bg-card: #FFFFFF;
    --bg-card-soft: rgba(255, 255, 255, 0.7);

    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;

    --border-soft: rgba(255, 255, 255, 0.8);

    /* Neumorphic shadows */
    --shadow-neu: 20px 20px 60px #c5c9cd, -20px -20px 60px #ffffff;
    --shadow-neu-sm: 8px 8px 24px #c5c9cd, -8px -8px 24px #ffffff;
    --shadow-neu-inset: inset 6px 6px 12px #c5c9cd, inset -6px -6px 12px #ffffff;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-main: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============ Container ============ */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 139, 90, 0.35);
    background: #FF7A45;
    color: white;
}

.btn-outline {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--text-light);
}

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

.btn-dark {
    background: var(--text-dark);
    color: white;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.25);
}

/* ============ Header ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    background: rgba(232, 236, 240, 0.9);
    backdrop-filter: blur(20px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: color var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

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

/* ============ Hero Section ============ */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-text {
    max-width: 480px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-card);
}

.hero-badge .status-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
}

/* Hero Visual - Neumorphic Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-neu-sm);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 480px;
}

.window-shape {
    width: 120px;
    height: 180px;
    background: var(--color-primary-gradient);
    border-radius: 60px;
    box-shadow: inset 0 2px 20px rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.checklist {
    flex: 1;
}

.checklist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.checklist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.checklist-item .check {
    color: #22C55E;
    font-weight: 600;
}

.checklist-item .pending {
    color: var(--text-light);
}

.checklist-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--spacing-sm);
    padding: 12px 16px;
    background: #F0FDF4;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.checklist-note .dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

/* ============ Partners Logo Section ============ */
.partners-section {
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.partners-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    padding: 0 var(--spacing-xl);
}

.partner-logo {
    height: 32px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.partner-logo:hover {
    opacity: 0.7;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============ Section Base ============ */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    max-width: 540px;
    margin: 0 auto var(--spacing-xl);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.section-description {
    font-size: 1rem;
    color: var(--text-gray);
}

/* ============ Tools Section ============ */
.tools-section {
    background: var(--bg-main);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.tool-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
}

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

.tool-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.tool-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.tool-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.tool-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-main);
    color: var(--text-gray);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.tool-tag.active {
    background: #22C55E;
    color: white;
}

.tool-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* ============ Experiences Section ============ */
.experiences-section {
    background: var(--bg-main);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
}

.exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-card);
}

.exp-badge .status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

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

.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.exp-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.exp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.exp-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.exp-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.exp-tag-city {
    background: rgba(255, 139, 90, 0.9);
    color: white;
}

.exp-body {
    padding: var(--spacing-md);
}

.exp-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.exp-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exp-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.exp-meta-item {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-exp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--text-dark);
    color: white;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-exp:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 139, 90, 0.3);
}

.exp-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.exp-footer-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* ============ Resources Section ============ */
.resources-section {
    background: white;
    border-radius: var(--radius-xl);
    margin: 0 var(--spacing-md);
    padding: var(--spacing-2xl);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-sm);
}

.resource-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.resource-card:hover {
    background: var(--bg-main);
}

.resource-logo {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.resource-logo img {
    width: 24px;
    height: 24px;
}

.resource-logo-fallback {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.resource-content {
    flex: 1;
}

.resource-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.resource-category {
    font-size: 0.8rem;
    color: var(--text-light);
}

.resource-arrow {
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.resource-card:hover .resource-arrow {
    color: var(--text-dark);
    transform: translateX(4px);
}

/* ============ Newsletter Section ============ */
.newsletter-section {
    padding: var(--spacing-2xl) 0;
}

.newsletter-card {
    background: var(--text-dark);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    color: white;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.newsletter-description {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    background: white;
    color: var(--text-dark);
}

.newsletter-form .btn:hover {
    background: var(--bg-main);
}

/* ============ Support Section ============ */
.support-section {
    background: var(--bg-main);
    padding: var(--spacing-2xl) 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.support-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
}

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

.support-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5EE 0%, #FFE8DC 100%);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
}

.support-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.support-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.support-card .btn-primary {
    width: 100%;
}

.support-card .btn-outline {
    width: 100%;
}

/* ============ Footer ============ */
.footer {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer .logo {
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* ============ Language Switcher ============ */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    box-shadow: var(--shadow-card-hover);
}

.lang-arrow {
    font-size: 0.6rem;
    color: var(--text-light);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.lang-option:hover {
    background: var(--bg-main);
    color: var(--text-dark);
}

.lang-option.active {
    background: var(--bg-main);
    color: var(--text-dark);
}

.lang-flag {
    font-size: 1rem;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .resources-section {
        margin: 0;
        border-radius: 0;
    }

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

    .exp-image {
        height: 180px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============ Animations ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}