/* ========================================
   BinMate - CSS Styles
   Emotional, Swiss-inspired design
   ======================================== */

.switzerland-edge-badge {
    position: absolute;
    top: -5px;
    right: -1px;
    z-index: 1000;
    width: 120px;
    height: 120px;
    display: block;
}

.switzerland-edge-badge img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 0px;
}

:root {
    --primary-green: #2e7d5b;
    --primary-green-dark: #1b5e3f;
    --primary-green-light: #e8f5ef;
    --accent-warm: #f0e6d3;
    --accent-gold: #c9a96e;
    --white: #ffffff;
    --black: #1a1a1a;
    --cream: #faf8f5;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;

    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(46, 125, 91, 0.15);

    --transition-fast: 150ms ease;
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

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

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes gentleDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -5px) scale(1.01); }
    66% { transform: translate(-5px, 5px) scale(0.99); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Scroll ile .visible eklenince oynar (IntersectionObserver) */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.animate-fade-up.visible {
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
}

.animate-slide-left.visible {
    animation: slideLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
}

.animate-slide-right.visible {
    animation: slideRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) {
    .animate-fade-up,
    .animate-slide-left,
    .animate-slide-right {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .animate-fade-up.visible,
    .animate-slide-left.visible,
    .animate-slide-right.visible {
        animation: none;
    }
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 60px;
    z-index: 1000;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.lang-btn i {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

.lang-btn.active i {
    transform: rotate(180deg);
}

.lang-flag {
    font-size: 18px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.lang-option:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.lang-option:hover {
    background: var(--primary-green-light);
    color: var(--primary-green);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: min(88vh, 920px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('assets/binmate-hero.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

@media (max-width: 599px) {
    .hero-bg {
        background-image: url('assets/binmate-hero-mobile.png');
        background-position: right center;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.18) 42%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: min(88vh, 920px);
    padding: 46px clamp(20px, 4vw, 48px) 150px;
    padding-right: clamp(100px, 18vw, 200px);
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.hero-top-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 40px);
}

.hero-logo-link {
    display: block;
    flex-shrink: 0;
}

.hero-logo-img {
    max-width: min(200px, 38vw);
    height: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

.hero-slogan {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.2vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    font-style: italic;
    margin: 0;
    margin-top: 200px;
    max-width: 14ch;
    text-align: right;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-bottom-row {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero .hero-social .social-label {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero .hero-social .social-icon {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.hero .hero-social .social-icon:hover {
    background: var(--white);
    color: var(--primary-green-dark);
}

.hero .hero-social .social-icon::before {
    background: linear-gradient(135deg, rgba(46, 125, 91, 0.12) 0%, transparent 60%);
}

/* Mountain silhouette at bottom of hero */
.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.hero-mountains svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Intro block below hero image — slides in from right, 60vw wide, left-rounded */
.hero-intro {
    position: relative;
    padding: 56px 0 72px;
    overflow-x: clip;
}

.hero-intro-panel {
    width: 60vw;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    background: linear-gradient(175deg, #e8f0e4 0%, #f5f0e8 35%, #faf8f5 70%, #e8f5ef 100%);
    box-shadow: var(--shadow-lg);
    /* Sağa hizalı: başta kart viewport’un sağında (dışarıda); animasyon bitince sağ kenar sıfır */
    transform: translateX(100%);
    transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-intro.visible .hero-intro-panel {
    transform: translateX(0);
}

.hero-intro-inner {
    max-width: 42rem;
    padding: 56px clamp(24px, 4vw, 48px) 40px clamp(24px, 4vw, 40px);
    margin: 0;
}

.hero-intro-accent {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    flex-shrink: 0;
}

.hero-intro .hero-subtitle {
    margin-bottom: 22px;
}

.hero-intro .hero-quote {
    margin-bottom: 22px;
}

.hero-intro .hero-description {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-intro-panel {
        margin-left: auto;
        transform: none;
        transition: none;
    }
}

.logo-image {
    max-width: 200px;
    height: auto;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.hero-quote {
    font-size: 15px;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 20px;
    padding: 16px 20px;
    border-left: 3px solid var(--accent-gold);
    background: rgba(201, 169, 110, 0.08);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hero-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 36px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 18px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.social-icon:hover {
    background: var(--primary-green-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(46, 125, 91, 0.3);
}

/* ========================================
   Transition — mountain divider
   ======================================== */
.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -1px;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   Info Section
   ======================================== */
.info-section {
    padding: 100px 20px;
    background: var(--white);
    position: relative;
}

.info-section-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.info-section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 60px;
    line-height: 1.3;
}

.info-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 36px 32px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(46, 125, 91, 0.08);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(46, 125, 91, 0.25);
}

.info-question {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.info-answer {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .info-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 28px 24px;
    }

    .info-section {
        padding: 60px 20px;
    }

    .info-section-heading {
        font-size: 26px;
        margin-bottom: 40px;
    }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 100px 20px;
    background: linear-gradient(180deg, #e8f5ef 0%, #f0f7f2 40%, var(--cream) 100%);
    position: relative;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 44px;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.feature-title {
    font-size: 24px;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.feature-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    counter-reset: step;
}

.feature-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 18px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    counter-increment: step;
}

.feature-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.feature-list li a {
    color: var(--primary-green);
    font-weight: 600;
    border-bottom: 2px solid rgba(46, 125, 91, 0.3);
    transition: all var(--transition-fast);
}

.feature-list li a:hover {
    color: var(--primary-green-dark);
    border-bottom-color: var(--primary-green);
}

.feature-description {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-text {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.9;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 100px 20px;
    background: var(--white);
    position: relative;
}

.faq-main-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--gray-800);
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--primary-green-light), rgba(201, 169, 110, 0.1));
    border: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    transition: border-radius var(--transition-normal), background var(--transition-normal);
}

.faq-category-title:hover {
    filter: brightness(0.98);
}

.faq-category-title:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.faq-category-title-text {
    flex: 1;
    min-width: 0;
}

.faq-category-chevron {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--primary-green);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-category.collapsed .faq-category-chevron {
    transform: rotate(-90deg);
}

.faq-category.collapsed .faq-category-title {
    border-radius: var(--radius-xl);
}

.faq-category-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-category.collapsed .faq-category-body {
    grid-template-rows: 0fr;
}

.faq-category-body > .faq-items {
    min-height: 0;
    overflow: hidden;
}

.faq-items {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
}

/* Kapalıyken liste kutusu gizlenirken border çizgisi kalmasın */
.faq-category.collapsed .faq-items {
    border: none;
    border-radius: 0;
}

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    text-align: left;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: var(--gray-50);
    color: var(--primary-green);
}

.faq-question i {
    color: var(--primary-green);
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    background: var(--gray-50);
    color: var(--primary-green);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-content {
    padding: 0 28px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.faq-answer-content a {
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer-content a:hover {
    color: var(--primary-green-dark);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer-content {
    padding: 0 28px 22px;
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-credit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.footer-credit a {
    color: var(--white);
    text-decoration: underline;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .hero-inner {
        min-height: min(92vh, 840px);
        padding: 88px 18px 150px;
        padding-right: 18px;
    }

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

    .hero-slogan {
        text-align: left;
        max-width: 100%;
        font-size: clamp(1.65rem, 7vw, 2.4rem);
    }

    .hero-logo-img {
        max-width: 160px;
    }

    .hero-bottom-row {
        justify-content: flex-start;
    }

    .hero .hero-social {
        align-items: flex-start;
    }

    .hero-intro {
        padding: 40px 0 56px;
    }

    .hero-intro-panel {
        width: min(60vw, calc(100% - 20px));
    }

    .hero-intro-inner {
        padding: 40px 20px 32px 20px;
    }

    .hero-quote {
        text-align: left;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 32px;
    }

    .faq-category-title {
        font-size: 16px;
        padding: 15px 20px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
    }


    .lang-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .features {
        padding: 60px 20px;
    }

    .faq {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .social-icons {
        justify-content: center;
    }

    .hero .hero-social .social-icons {
        justify-content: flex-start;
    }
}

/* Scroll animations trigger */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-icon {
    width: 80px;
    height: 80px;
    animation: pulse 1s ease-in-out infinite;
}

/* ========================================
   Legal pages (terms, privacy, contact)
   ======================================== */
.legal-body {
    background: var(--cream);
    min-height: 100vh;
    padding-top: 56px;
}

/* Contact: footer viewport altına yapışık (içerik kısa olsa da) */
.legal-body--contact {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.legal-body--contact .legal-header {
    flex-shrink: 0;
    max-width: min(100%, 520px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.legal-body--contact .legal-page--contact {
    flex: 1 1 auto;
    padding-bottom: 40px;
    width: 100%;
    max-width: 520px;
    min-width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.legal-body--contact .legal-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.legal-body--contact .legal-footer-links {
    max-width: min(100%, 520px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.legal-header {
    padding: 16px 24px 8px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.legal-back {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
}

.legal-back:hover {
    text-decoration: underline;
}

.legal-logo {
    max-width: 160px;
    height: auto;
}

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 24px 80px;
}

.legal-page-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--gray-800);
    margin-bottom: 12px;
}

.legal-doc-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.45;
}

.legal-intro {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 32px;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.legal-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.75;
}

.legal-text a {
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-text--list {
    margin: 12px 0;
}

.legal-list {
    margin: 8px 0 12px 1.25rem;
    padding-left: 0.5rem;
}

.legal-list li {
    margin-bottom: 6px;
}

.legal-footer {
    padding: 28px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.legal-footer-links {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.legal-footer-links a {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 500;
}

.legal-footer-links a:hover {
    text-decoration: underline;
}

.contact-block {
    margin-bottom: 32px;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.contact-email {
    font-size: 1.15rem;
}

.contact-email a {
    color: var(--primary-green);
    font-weight: 600;
}

.contact-email a:hover {
    color: var(--primary-green-dark);
}

@media (max-width: 768px) {
    .legal-body {
        padding-top: 48px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}
