* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary-color: #06B6D4;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --header-bg: rgba(255, 255, 255, 0.95);
    /* Hero canvas theming (light defaults) */
    --hero-bg: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #dbeafe 100%);
    --hero-canvas-particle-color: rgba(26, 35, 126, 0.7);
    --hero-canvas-line-color-base: 26, 35, 126;
}

/* Dark Mode Variables */
.dark-mode {
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --border-color: #334155;
    --header-bg: rgba(15, 23, 42, 0.85);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    /* Hero dark */
    --hero-bg: #020412;
    --hero-canvas-particle-color: rgba(63, 81, 181, 1);
    --hero-canvas-line-color-base: 63, 81, 181;
}

html {
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-primary);
    max-width: 100vw;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

/* Sadece mobilde görünen öğeler için yardımcı sınıf */
.mobile-only {
    display: none !important;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #1e9bf5;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e9bf5;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Panel Link Icon Styling */
.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    vertical-align: middle;
}

.panel-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.panel-link:hover .panel-icon {
    transform: scale(1.1);
}

/* Nav links içindeki tüm linklerin hizalanması */
.nav-links li {
    display: flex;
    align-items: center;
}

/* Mobile auth links inside nav - look like normal nav items */
.mobile-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-auth-icon svg {
    width: 18px;
    height: 18px;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.btn {
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-outline {
    color: #1e9bf5;
    background: transparent;
    border: 2px solid #1e9bf5;
}

.btn-outline:hover {
    background: #1e9bf5;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section with Canvas Animation */
.hero {
    margin-top: 80px;
    padding: 7rem 2rem;
    background: var(--hero-bg);
    height: 95vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Canvas Background */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient {
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-outline-modern {
    background: white;
    color: #1e9bf5;
    border: 2px solid #1e9bf5;
    box-shadow: 0 2px 10px rgba(30, 155, 245, 0.15);
}

.dark-mode .btn-outline-modern {
    background: transparent;
    color: #1e9bf5;
    border-color: #1e9bf5;
}

.btn-outline-modern:hover {
    background: #1e9bf5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 155, 245, 0.35);
}

/* Stats Section */
.stats {
    padding: 4rem 2rem;
    background: white;
}

.dark-mode .stats {
    background: var(--bg-primary);
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 3.5rem 2rem;
    background: var(--bg-secondary);
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: none;
    padding: 0.5rem 1.25rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dark-mode .section-badge {
    background: rgba(63, 81, 181, 0.2);
    color: var(--primary-light);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.dark-mode .feature-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Platform Services */
.platform-services {
    padding: 3.5rem 2rem;
    background: white;
}

.dark-mode .platform-services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 3rem auto 0;
    width: 100%;
}

.service-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.service-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Testimonials Section */
.testimonials {
    padding: 3.5rem 2rem;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.dark-mode .testimonial-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 0.25rem;
}

.stars svg {
    width: 18px;
    height: 18px;
    color: #FCD34D;
    transition: transform 0.2s ease;
}

.testimonial-card:hover .stars svg {
    transform: scale(1.15);
}

.stars svg:nth-child(1) {
    transition-delay: 0s;
}

.stars svg:nth-child(2) {
    transition-delay: 0.05s;
}

.stars svg:nth-child(3) {
    transition-delay: 0.1s;
}

.stars svg:nth-child(4) {
    transition-delay: 0.15s;
}

.stars svg:nth-child(5) {
    transition-delay: 0.2s;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-primary);
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonials Responsive */
@media (max-width: 968px) {
    .testimonials {
        padding: 4rem 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.75rem;
    }
}

@media (max-width: 640px) {
    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-role {
        font-size: 0.85rem;
    }
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.dark-mode footer {
    background: #020412;
    color: #f1f5f9;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1rem;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.mobile-menu-btn:focus-visible {
    outline: 3px solid rgba(99, 102, 241, .35);
    outline-offset: 2px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.dark-mode .mobile-menu-btn span {
    background: var(--text-secondary);
}

.mobile-menu-btn.active {
    border-color: #1e9bf5;
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn.active span {
    background: #1e9bf5;
}

/* Theme Toggle */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    border-color: #1e9bf5;
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover svg {
    fill: #1e9bf5;
}

.theme-toggle-btn .sun-icon {
    display: none;
}

.dark-mode .theme-toggle-btn .sun-icon {
    display: block;
}

.dark-mode .theme-toggle-btn .moon-icon {
    display: none;
}

/* Responsive */
@media (max-width: 968px) {

    /* Mobil menü: üstten açılan overlay */
    nav {
        position: relative;
        justify-content: flex-start;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        /* header yüksekliği ~ */
        left: 0;
        right: 0;
        background: var(--header-bg);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
        z-index: 1000;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform .2s ease, opacity .2s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-btn {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .logo {
        order: 1;
    }

    /* Burger -> X animasyonu */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    /* Tema butonu mobilde menü içine taşınır */
    .nav-controls {
        display: none;
    }

    .mobile-only {
        display: flex !important;
    }

    .auth-buttons {
        order: 2;
        display: none;
    }

    /* Mobile auth buttons styling */
    .mobile-auth-btn {
        width: 100%;
        text-align: center;
        margin: 0.25rem 0;
    }
}

@media (max-width: 640px) {
    .auth-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 5rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Mobilde canvas görünür; performans JS ile azaltılır */
    #hero-canvas {
        display: block;
    }

    /* Mobilde animasyonları kaldır */
    .hero h1,
    .hero p,
    .hero-buttons {
        animation: none;
        opacity: 1;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
    }

    /* Services grid mobil düzenleme */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .platform-services {
        padding: 4rem 1rem;
    }

    /* Features mobil */
    .features {
        padding: 4rem 1rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 3.5rem 2rem;
    background: var(--bg-secondary);
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-card,
.contact-info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-field::placeholder {
    color: var(--text-light);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

textarea.input-field {
    min-height: 160px;
    resize: vertical;
}

.input-error {
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15) !important;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Modern Contact Notification Styles */
.contact-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-success.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Success State (Yeşil) */
.contact-success:not(.error) {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

.dark-mode .contact-success:not(.error) {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

/* Error State (Kırmızı) */
.contact-success.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.dark-mode .contact-success.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Icon support via CSS pseudo-element if not provided in HTML */
.contact-success:not(.error)::before {
    content: '✅';
    font-size: 1.1rem;
}

.contact-success.error::before {
    content: '⚠️';
    font-size: 1.1rem;
}

.info-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.info-list li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    max-width: 100%;
    overflow: hidden;
}

.info-list li>div {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.info-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.12);
}

.info-list a {
    color: var(--text-primary);
    text-decoration: none;
    word-break: break-all;
    overflow-wrap: break-word;
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-note {
        margin-top: 0.25rem;
    }

    .contact-card,
    .contact-info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: 4rem 1rem;
    }

    .contact-card,
    .contact-info-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .info-list li {
        padding: 0.65rem;
        gap: 0.5rem;
    }

    .info-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
}

/* User name in header - Giriş yapmış kullanıcı için */
.user-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(30, 155, 245, 0.06);
    border: 1px solid transparent;
}

.user-name:hover {
    background: rgba(30, 155, 245, 0.12);
    border-color: rgba(30, 155, 245, 0.35);
}

.dark-mode .user-name {
    background: rgba(30, 155, 245, 0.12);
}

.dark-mode .user-name:hover {
    background: rgba(30, 155, 245, 0.18);
    border-color: rgba(30, 155, 245, 0.4);
}

.user-name::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z' fill='%231e9bf5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.dark-mode .user-name::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z' fill='%23818CF8'/%3E%3C/svg%3E");
}

.user-name::after {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 1;
}

.dark-mode .user-name::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23818CF8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.user-name.active::after {
    transform: rotate(180deg);
}


@media (max-width: 768px) {
    .user-name {
        display: none;
    }
}

.user-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.user-menu.open {
    display: block;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.user-menu-item:hover {
    background: rgba(30, 155, 245, 0.10);
    color: #1e9bf5;
}

.user-menu-item .menu-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.user-menu-item:hover .menu-icon {
    transform: scale(1.1);
}

.dark-mode .user-menu {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

@media (max-width: 768px) {
    .user-menu {
        display: none !important;
    }
}

/* ==============================================
   CSP Uyumlu Yardımcı Sınıflar
   (inline style yerine kullanılır)
   ============================================== */

/* Logo boyutları */
.logo-img-header {
    height: 48px;
    display: block;
}

.logo-img-footer {
    height: 40px;
    display: block;
}

/* Payment Logos Container */
.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: wrap;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}