@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

/* CSS Variables - Apple Style Dark */
:root {
    --primary: #2997ff;
    --primary-hover: #0071e3;
    --secondary: #34c759;
    --bg-main: #000000;
    --bg-light: rgba(29, 29, 31, 0.6);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(20, 20, 22, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

.glass:hover::before {
    left: 200%;
    transition: all 0.7s ease;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(270deg, var(--primary), #5e5ce6, var(--secondary), var(--primary));
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-main);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: var(--transition);
    padding: 20px 0;
    background: transparent;
    overflow: visible !important;
}

/* Override .glass overflow on navbar to prevent Safari clipping */
.navbar.glass {
    overflow: visible !important;
}

.navbar.glass::before {
    display: none;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    background: rgba(29, 29, 31, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.navbar.scrolled .logo {
    color: #fff;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
    text-decoration: none;
}

.navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active-link {
    color: var(--primary);
    font-weight: 600;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

/* Global Premium Blobs */
.global-blobs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.g-blob {
    position: absolute;
    filter: blur(120px);
    -webkit-filter: blur(120px);
    opacity: 0.5;
    border-radius: 50%;
    animation: floatBlob 20s infinite alternate ease-in-out;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.g-blob-1 {
    top: -20%;
    left: -10%;
    width: min(70vw, 900px);
    height: min(70vw, 900px);
    background: rgba(41, 151, 255, 0.15);
    animation-delay: 0s;
}

.g-blob-2 {
    bottom: -20%;
    right: -10%;
    width: min(60vw, 800px);
    height: min(60vw, 800px);
    background: rgba(94, 92, 230, 0.15);
    animation-delay: -5s;
}

.g-blob-3 {
    top: 30%;
    left: 40%;
    width: min(50vw, 700px);
    height: min(50vw, 700px);
    background: rgba(52, 199, 89, 0.1);
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 10%) scale(1.1);
    }
}

/* Dark Hero */
.dark-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(29, 29, 31, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.dark-hero::before {
    content: '';
    position: absolute;
    top: 0%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.3), rgba(94, 92, 230, 0.3));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(80px);
    animation: morphBlob 15s alternate infinite ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.dark-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.2), rgba(41, 151, 255, 0.2));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(80px);
    animation: morphBlob2 12s alternate infinite ease-in-out;
    z-index: 0;
    pointer-events: none;
}

@keyframes morphBlob {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }

    100% {
        border-radius: 70% 30% 50% 50% / 30% 40% 70% 60%;
        transform: rotate(45deg) scale(1.1);
    }
}

@keyframes morphBlob2 {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }

    100% {
        border-radius: 30% 70% 70% 30% / 50% 60% 30% 60%;
        transform: rotate(-45deg) scale(1.2);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 0.875rem;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #2997ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #2997ff;
}

.dark-hero h1 {
    color: #ffffff;
    font-size: 3.5rem;
    text-align: left;
    margin-bottom: 24px;
}

.text-hero-highlight {
    background: linear-gradient(270deg, #2997ff, #5e5ce6, #34c759, #2997ff);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.dark-hero p {
    color: #94a3b8;
    text-align: left;
    font-size: 1.125rem;
    max-width: 90%;
    margin-bottom: 40px;
}

.dark-hero .hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 50px;
}

.btn-hero-primary {
    background: #2997ff;
    color: #fff;
}

.btn-hero-primary:hover {
    background: #0071e3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(41, 151, 255, 0.4);
    color: #fff;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-block;
    animation: textBreathe 4s ease-in-out infinite alternate;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

@keyframes textBreathe {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

/* Right Side Visuals */
.hero-visual-right {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(29, 29, 31, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    width: 260px;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 0;
    width: 280px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 5%;
    left: 20%;
    width: 250px;
    animation-delay: -4s;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #e2e8f0;
    font-weight: 600;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-blue {
    background: rgba(41, 151, 255, 0.2);
    color: #2997ff;
}

.icon-green {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
}

.icon-indigo {
    background: rgba(94, 92, 230, 0.2);
    color: #5e5ce6;
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    background: #2997ff;
}

.progress-text {
    text-align: right;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.skeleton-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sk-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.w-100 {
    width: 100%;
}

.w-80 {
    width: 80%;
    background: rgba(41, 151, 255, 0.5);
}

.w-60 {
    width: 60%;
}

.card-big-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.text-green {
    color: #34c759;
}

.card-sub-text {
    font-size: 0.875rem;
    color: #94a3b8;
}

.dec-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 10px #34c759;
}

.dot-1 {
    bottom: 20%;
    right: 20%;
}

.dot-2 {
    top: 30%;
    left: 5%;
    background: #2997ff;
    box-shadow: 0 0 10px #2997ff;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* AI Wizard */
.wizard-container {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.wizard-step {
    animation: fadeIn 0.5s ease;
    text-align: center;
}

.ai-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    margin-bottom: 10px;
}

.ai-form-grid label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .ai-form-grid {
        grid-template-columns: 1fr;
    }
}

.ai-response-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: left;
    margin-top: 24px;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.result-content {
    text-align: center;
    padding: 20px 0;
}

.result-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Calculator */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-inputs,
.calc-result {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-main);
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.2);
}

.calc-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #1d1d1f, #000000);
    border: 1px solid var(--glass-border);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0 30px;
    letter-spacing: -0.02em;
    background: linear-gradient(270deg, var(--primary), #5e5ce6, var(--primary));
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-details li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Fairs Bento Grid */
.fairs-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    align-items: center;
}

.search-bar {
    display: flex;
    align-items: center;
    padding: 8px 24px;
    width: 100%;
    max-width: 500px;
    border-radius: 980px;
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
}

.search-bar i {
    color: var(--text-muted);
    margin-right: 12px;
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 12px 0;
    width: 100%;
    font-size: 1rem;
    outline: none;
    color: var(--text-main);
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 980px;
    border: 1px solid var(--glass-border);
    background: var(--bg-light);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.fair-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    background: #1a1a1a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
}

.fair-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.fair-image-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
}

.fair-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fair-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(26, 26, 26, 1));
}

.fair-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    margin-bottom: 0;
    background: rgba(52, 199, 89, 0.15);
    border: 1px solid rgba(52, 199, 89, 0.3);
    display: inline-block;
    padding: 6px 12px;
    color: var(--secondary);
    border-radius: 980px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.fair-logo-wrapper {
    position: absolute;
    bottom: -20px;
    left: 24px;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #1a1a1a;
    padding: 4px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.fair-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.fair-content {
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fair-card h3 {
    margin-bottom: 6px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.fair-sector {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fair-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fair-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.fair-stats .stat-item span {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

.fair-stats .stat-item small {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fair-stats .stat-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.fair-stats .incentive-stat {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    margin-top: 4px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.fair-stats .incentive-stat div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fair-stats .incentive-stat i {
    color: var(--secondary);
    margin-bottom: 0;
    font-size: 1.5rem;
}

.fair-stats .incentive-stat span {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 800;
}

.fair-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.fair-meta span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fair-meta i {
    width: 20px;
    color: var(--primary);
    font-size: 1.1rem;
    text-align: center;
}

.fair-card .btn-outline {
    margin-top: auto;
    width: 100%;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px;
    font-weight: 500;
    border-radius: 980px;
}

.fair-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Countdown */
.countdown-section {
    background: linear-gradient(135deg, #1d1d1f, #000000);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.time-box {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.time-box span {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    animation: textBreathe 3s ease-in-out infinite alternate;
}

.time-box small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 5px;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    background: var(--bg-light);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.news-date {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.read-more:hover {
    color: var(--primary);
}

/* Newsletter */
.newsletter-box {
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    background: var(--bg-light);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form .form-control {
    border-radius: 980px;
    padding: 16px 24px;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(41, 151, 255, 0.15);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(41, 151, 255, 0.5);
}

.step-icon {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-card h3 {
    margin-bottom: 12px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    user-select: none;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    background: rgba(41, 151, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form-wrapper {
    padding: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.flex-1 {
    flex: 1;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.premium-form .form-control {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    margin-bottom: 5px;
}

.premium-form .form-control:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

#contact-status.success {
    color: var(--secondary);
    background: rgba(52, 199, 89, 0.1);
    padding: 10px;
    border-radius: 8px;
}

#contact-status.error {
    color: #ff453a;
    background: rgba(255, 69, 58, 0.1);
    padding: 10px;
    border-radius: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dark-hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .dark-hero p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .dark-hero .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .wizard-container {
        padding: 20px;
    }

    /* Hero Mobile Refinements */
    .dark-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .dark-hero h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .hero-stats .stat-item:last-child {
        grid-column: 1 / -1;
    }

    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }
}
/* ========== MOBILE MENU BUTTON ========== */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10;
    padding: 0;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .nav-links {
        display: none !important;
    }
    .navbar .btn-primary {
        display: none;
    }
}

/* ========== MOBILE MENU OVERLAY (created by JS, appended to body) ========== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-overlay-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-overlay-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-overlay-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
}

.mobile-menu-overlay-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mobile-menu-overlay-link:hover,
.mobile-menu-overlay-link:active {
    background: rgba(41, 151, 255, 0.08);
    color: var(--primary);
}

.mobile-menu-overlay-link i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--primary);
    opacity: 0.7;
}

/* Mobile fixes */
@media (max-width: 768px) {
.section { padding: 60px 0; }
.section-header h2 { font-size: 1.8rem; }
.hero { padding-top: 120px; }
.calc-inputs, .calc-result { padding: 20px; }
.contact-form-wrapper { padding: 20px; }
.newsletter-box { padding: 30px 15px; }
.step-card { padding: 30px 15px; }
.bento-grid { grid-template-columns: 1fr; }
.form-row { flex-direction: column; gap: 0; }
.footer-grid { gap: 30px; }
}
@media (max-width: 480px) {
.section-header h2 { font-size: 1.5rem; }
.hero-stats { grid-template-columns: 1fr; }
.wizard-container { padding: 15px; }
.ai-form-grid { grid-template-columns: 1fr; }
}

/* Ensure responsive images */
img { max-width: 100%; height: auto; }
.fair-card h3 { font-size: 1.25rem; }
@media (max-width: 768px) { .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
 padding: 0 15px; } .bento-grid { padding: 0 10px; } .contact-grid { padding: 0 10px; } }







/* --- RELATED EXPOS --- */
.related-expos-section {
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
}

.related-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 100%;
    background-color: var(--secondary, #00c896);
    border-radius: 4px;
}

.related-expos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-fair-card {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255,255,255,0.08);
}

.related-fair-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(var(--secondary-rgb, 0,200,150), 0.3);
}

.related-fair-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.related-img-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background-color: rgba(255,255,255,0.05);
}

.related-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-fair-card:hover .related-img-wrapper img {
    transform: scale(1.05);
}

.related-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    z-index: 2;
}

.related-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-fair-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-action {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary, #0087cb);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.related-fair-card:hover .related-action {
    gap: 0.7rem;
}

@media screen and (max-width: 900px) {
    .related-expos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .related-expos-grid {
        grid-template-columns: 1fr;
    }
    .related-title {
        font-size: 1.3rem;
    }
}


/* ====================================
   Teşvik Uygunluk Testi Page
   ==================================== */

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0.1em;
}

.page-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.page-hero .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Content Article Styles */
.article-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 3rem 0 1rem;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 2rem 0 0.75rem;
}

.article-body a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.article-body a:hover {
    color: var(--primary);
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.step-card-custom {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.step-card-custom:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.step-card-custom .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 200, 150, 0.12);
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.step-card-custom h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.step-card-custom p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.criteria-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
}

.criteria-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.criteria-card .criteria-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    display: block;
}

.criteria-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.criteria-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: rgba(0, 200, 150, 0.06);
    border: 1px solid rgba(0, 200, 150, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-box .info-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Page FAQ */
.page-faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.page-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.page-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.page-faq-item.active {
    border-color: var(--secondary);
}

.page-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
}

.page-faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.page-faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.page-faq-item.active .page-faq-question i {
    transform: rotate(180deg);
    color: var(--secondary);
}

.page-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.page-faq-item.active .page-faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.page-faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-section a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Wizard Embed Section */
.wizard-embed-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wizard-embed-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 2rem;
}

/* Tesvik Uygunluk Testi Responsive */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .info-box {
        flex-direction: column;
        gap: 0.75rem;
    }
}

