:root {
    --container-width: 1200px;
    --container-padding: 16px;
    --bg: #ffffff;
    --text: #111827; /* gray-900 */
    --muted: #6b7280; /* gray-500 */
    --primary: #131546;
    --primary-600: #3a67ff;
    --surface: #ffffff;
    --border: #e5e7eb; /* gray-200 */
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
}
html, body { height: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }

.homepage-logo {
    max-width: 200px;
}
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-logo svg {
    height: 50px;
    width: auto;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.header-nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.header-nav-link:hover {
    color: #2563eb;
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.login-btn {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: block; /* Her zaman block */
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    overflow-y: auto;
    z-index: 999;
    visibility: hidden; /* Gizli */
    opacity: 0;
    pointer-events: none; /* Tıklanamaz */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.mobile-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
}

.mobile-actions .login-btn {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .header-nav {
        gap: 20px;
    }

    .header-nav-link {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .header-nav,
    .header-actions {
        display: none;
    }

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

    .mobile-menu {
        display: block;
    }

    .header-logo svg {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 0;
    }

    .header-logo svg {
        height: 36px;
    }

    .mobile-actions {
        flex-direction: column;
    }

    .mobile-actions .login-btn {
        width: 100%;
        text-align: center;
    }
}

.footer {
    background: linear-gradient(135deg, #140aa9 0%, #0d46cc 100%);
    padding: 0;
    color: #ffffff;
}

/* CTA Section */
.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

.footer-cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.footer-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1e1b4b;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer Main - 4 Columns */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 60px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Logo & Description */
.footer-brand .footer-logo {
    margin-bottom: 24px;
}

.footer-brand .footer-logo img {
    width: 200px;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

/* Column Titles */
.footer-column-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 24px 0;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

.footer-contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 40px;
}

/* App Download Buttons */
.footer-apps-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-store-btn,
.google-play-btn {
    display: block;
    transition: transform 0.3s ease;
}

.app-store-btn:hover,
.google-play-btn:hover {
    transform: scale(1.05);
}

.app-store-btn svg,
.google-play-btn svg {
    display: block;
    height: 40px;
    width: auto;
}

/* Legal Section */
.footer-legal {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-legal-link {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #ffffff;
}

.footer-copyright {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-cta-content h2 {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 0;
    }

    .footer-cta-content h2 {
        font-size: 36px;
    }

    .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }

    .footer-cta {
        padding: 40px 0;
    }

    .footer-cta-content h2 {
        font-size: 32px;
    }

    .footer-cta-content p {
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 0;
        gap: 24px;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-apps-section {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-cta-content h2 {
        font-size: 28px;
    }

    .footer-cta-content p {
        font-size: 14px;
    }

    .footer-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .footer-apps-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}