/* CEAjans Hit Botları - Görsel Tasarımlı Ana CSS */

/* CSS Variables - Tema Renkleri */
:root {
    --primary-bg: #0a0e1a;
    --secondary-bg: #1a1a2e;
    --card-bg: #21262d;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: rgba(179, 179, 179, 0.7);
    --accent: #4f6ef7;
    --accent-hover: #3b5bf5;
    --accent-light: rgba(79, 110, 247, 0.1);
    --gold: #ffb400;
    --gold-dark: #e6a200;
    --success: #00ff88;
    --purple: #8b5cf6;
    --gradient-primary: linear-gradient(135deg, #4f6ef7 0%, #8b5cf6 100%);
    --gradient-bg: linear-gradient(135deg, #0a0e1a 0%, #1a1a2e 50%, #16213e 100%);
    --shadow-primary: 0 10px 40px rgba(79, 110, 247, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
    --transition-fast: 0.2s ease;
    --backdrop-blur: blur(20px);
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-large: 16px;
}

/* Light Theme */
[data-theme="light"] {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --text-primary: #1f2328;
    --text-secondary: #656d76;
    --text-muted: rgba(101, 109, 118, 0.7);
    --gradient-bg: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Typography with Gradients */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 { 
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA için özel h2 stili */
.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 { 
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* TEMEL BUTON SİSTEMİ */
.btn,
button,
input[type="button"],
input[type="submit"] {
    --btn-radius: 12px;
    --btn-padding: 0.95rem 2rem;
    --btn-font: 600 0.95rem/1 'Inter', sans-serif;
    --btn-tr: 0.25s cubic-bezier(.4,0,.2,1);
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    font: var(--btn-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    transition: background var(--btn-tr), border-color var(--btn-tr), transform var(--btn-tr), box-shadow var(--btn-tr);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

/* Parlayan çizgi efekti */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: translateX(-100%);
    transition: transform .6s ease;
}
.btn:hover::before { transform: translateX(100%); }

/* DOLU / PRIMARY VERSIYON */
.btn-primary {
    background: linear-gradient(135deg, #4f6ef7 0%, #3b5bf5 100%);
    color: #fff;
    box-shadow: 0 10px 32px rgba(79,110,247,.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(79,110,247,.45);
}

/* ŞEFFAF ÇERÇEVELİ / OUTLINE VERSIYON */
.btn-outline {
    background: rgba(255,255,255,.06);
    color: var(--text-primary, #ffffff);
    border-color: rgba(255,255,255,.18);
}
.btn-outline:hover {
    background: rgba(79,110,247,.12);
    border-color: #4f6ef7;
    transform: translateY(-2px);
}

/* CTA BUTON */
.btn-cta {
    background: #ffffff;
    color: #4f6ef7;
    font-weight: 700;
    border-radius: 14px;
    padding: 1.15rem 2.75rem;
    box-shadow: 0 8px 30px rgba(255,255,255,.35);
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.btn-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 50px rgba(255,255,255,.45);
}

/* Küçük ve büyük varyantlar */
.btn-small  { --btn-padding: 0.6rem 1.2rem; font-size: .85rem; }
.btn-large  { --btn-padding: 1.25rem 2.75rem; font-size: 1.05rem; }

/* Odak görünürlüğü (erişilebilirlik) */
.btn:focus-visible {
    outline: 3px solid #4f6ef7;
    outline-offset: 2px;
}

/* Header with Glassmorphism */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
    height: 72px;
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.85);
}

.site-header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

/* Logo System */
.logo,
.custom-logo-link,
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover,
.custom-logo-link:hover,
.logo-wrapper:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(255, 180, 0, 0.3);
    transition: all var(--transition-normal);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation System */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all var(--transition-normal);
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.user-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.625rem;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: var(--backdrop-blur);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.theme-toggle:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: scale(1.1);
}

/* Hero Section with Animated Background */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
    background: var(--gradient-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(79, 110, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 90%, rgba(255, 180, 0, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero-title {
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(79, 110, 247, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section with Advanced Cards */
.features {
    padding: 6rem 0;
    background: var(--primary-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
    background: rgba(33, 38, 45, 0.8);
}

[data-theme="light"] .feature-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(79, 110, 247, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(79, 110, 247, 0.2);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* FAQ Section - Düzeltilmiş */
.faq {
    padding: 6rem 0;
    background: var(--primary-bg);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto 4rem;
}

.faq-item {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.faq-item:hover {
    border-color: rgba(79, 110, 247, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    font-family: inherit;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::before,
.faq-question:hover::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background: rgba(79, 110, 247, 0.05);
    padding-left: 2.5rem;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding: 0 2rem 2rem;
}

.contact-box {
    background: #1e293b;
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    color: #3b82f6;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.contact-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-box p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.dark\:to-system-purple\/10:is(.dark *) {
    --tw-gradient-to: rgb(175 82 222 / .1) var(--tw-gradient-to-position);
}
.dark\:from-system-blue\/10:is(.dark *) {
    --tw-gradient-from: rgb(0 122 255 / .1) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(0 122 255 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.dark\:border-system-gray-800:is(.dark *) {
    --tw-border-opacity: 1;
    border-color: rgb(72 72 74 / var(--tw-border-opacity, 1));
}


/* CTA Section - Düzeltilmiş */
.cta {
    width: 100%;
    padding: 6rem 0;
    margin: 6rem 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, #4f6ef7 0%, #8b5cf6 100%);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    from { left: -100%; }
    to { left: 100%; }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1rem;
    color: #ffffff;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: .95;
    color: white;
    text-shadow: 0 1px -1px rgba(0, 0, 0, 0.3);
}

/* Footer - Modern Gradient Tasarım */
.site-footer {
    position: relative;
    background: var(--secondary-bg, #1a1a2e);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

/* Üst gradient çizgi */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f6ef7 0%, #8b5cf6 50%, #4f6ef7 100%);
}

/* İki kolonlu üst kısım */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

/* Sol kolon */
.footer-branding .logo-wrapper { 
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.footer-tagline {
    color: var(--text-secondary, #b3b3b3);
    font-size: .9rem;
    max-width: 280px;
    margin-top: .75rem;
}

/* Sağ kolon */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-links-title {
    color: var(--text-primary, #fff);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-menu a {
    color: var(--text-secondary, #b3b3b3);
    text-decoration: none;
    font-size: .9rem;
    transition: color .3s;
}

.footer-menu a:hover {
    color: var(--accent, #4f6ef7);
}



.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: var(--primary-bg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer.active {
    max-height: 300px;
    padding: 20px;
    opacity: 1;
}

.faq-question {
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-question.active::after {
    opacity: 1;
}




/* Telif satırı */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.footer-bottom p {
    color: var(--text-secondary, #b3b3b3);
    font-size: .85rem;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 30px rgba(79, 110, 247, 0.4);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
    color: var(--text-primary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Theme Transition */
.theme-transitioning {
    transition: all var(--transition-slow) !important;
}

.theme-transitioning * {
    transition: all var(--transition-slow) !important;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-small);
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow {
    box-shadow: 0 0 30px rgba(79, 110, 247, 0.4);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Performance Optimizations */
.feature-card,
.faq-item,
.contact-box,
.btn {
    will-change: transform;
}

.hero::before,
.hero::after {
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .nav-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        min-width: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .contact-box {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }
    
    .cta {
        margin: 4rem 1rem;
        padding: 4rem 2rem;
        border-radius: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-menu {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .contact-box {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .btn {
        min-width: 200px;
        padding: 0.875rem 1.5rem;
    }
    
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-menu {
        gap: 0.75rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before,
    .hero::after,
    .cta::before {
        animation: none !important;
    }
    
    .contact-icon {
        animation: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 255, 255, 0.3);
        --text-secondary: rgba(255, 255, 255, 0.9);
    }
    
    [data-theme="light"] {
        --border-color: rgba(0, 0, 0, 0.3);
        --text-secondary: rgba(0, 0, 0, 0.8);
    }
}

/* Print Styles */
@media print {
    .site-header,
    .hero-actions,
    .btn,
    .theme-toggle,
    .scroll-to-top,
    .loading-overlay,
    .menu-toggle {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .feature-card,
    .contact-box,
    .faq-item {
        break-inside: avoid;
    }
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


