:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Dark Mode */
body.dark-mode {
    background-color: var(--dark-bg);
    color: #e2e8f0;
}

body.dark-mode .navbar {
    background: rgba(15, 23, 42, 0.95) !important;
}

body.dark-mode .card {
    background: #1e293b;
    border-color: #334155;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

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

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    color: white;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured::before {
    content: 'EN POPÜLER';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

/* Buttons */
.btn-gradient {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Sections */
.section {
    padding: 80px 0;
}

/* Features Grid */
.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 2rem;
}

.tech-item {
    background: white;
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact-section {
    background: var(--gradient-1);
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form select option,
.contact-form select optgroup {
    background: #6366f1;
    color: white;
    padding: 5px 10px;
}

.contact-form select optgroup {
    font-weight: 600;
    font-style: normal;
    background: #4c51bf;
}

.contact-form select option:checked {
    background: #8b5cf6;
    color: white;
}

.contact-form select[multiple] {
    padding: 10px;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.1);
}

.contact-form select[multiple]::-webkit-scrollbar {
    width: 8px;
}

.contact-form select[multiple]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.contact-form select[multiple]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: #94a3b8;
    padding: 40px 0;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    border: none;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
}

/* Alt sayfalar */
.page-hero {
    background: var(--gradient-1);
    color: white;
    padding: 140px 0 70px;
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-light a,
.breadcrumb-light .breadcrumb-item.active,
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.85);
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cta-band {
    background: var(--dark-bg);
    color: white;
    border-radius: 16px;
    padding: 3rem 2rem;
}

.prose h2 {
    margin-top: 2rem;
    font-weight: 700;
}

body.dark-mode .bg-light,
body.dark-mode .service-card,
body.dark-mode .pricing-card,
body.dark-mode .tech-item {
    background: #1e293b !important;
    color: #e2e8f0;
}

body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

/* WhatsApp ve mobil teklif çubuğu */
.whatsapp-float {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.08);
}

.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .mobile-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        background: var(--dark-bg);
    }

    .mobile-cta a {
        flex: 1;
        text-align: center;
        color: white;
        padding: 14px 0;
        text-decoration: none;
        font-weight: 600;
    }

    .mobile-cta a + a {
        background: var(--gradient-1);
    }

    body {
        padding-bottom: 52px;
    }

    .whatsapp-float {
        bottom: 125px;
        right: 16px;
    }

    .theme-toggle {
        bottom: 66px;
        right: 16px;
    }
}

/* Uzun hizmetler menüsü ekrana sığsın */
@media (min-width: 1200px) {
    .navbar .dropdown-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Ana sayfa: PHP2Shell öne çıkarma kartı */
.promo-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 5px solid #f59e0b;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
    color: white;
    max-width: 640px;
}

.promo-visual {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px -8px rgba(239, 68, 68, 0.7);
}

.promo-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(245, 158, 11, 0.8);
    animation: promo-pulse 2s ease-out infinite;
}

@keyframes promo-pulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.promo-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.promo-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: white;
}

.promo-text {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.85rem;
}

.promo-btn {
    color: #1e293b;
    box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.9);
}

.promo-meta {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: monospace;
}

@media (prefers-reduced-motion: reduce) {
    .promo-pulse {
        animation: none;
    }
}

@media (max-width: 576px) {
    .promo-card {
        flex-direction: column;
        padding: 1rem;
    }

    .promo-visual {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 1.4rem;
    }
}

/* Hero içeriği uzadığında sabit menünün altında kalmasın */
.hero-section > .container {
    padding-top: 90px;
    padding-bottom: 40px;
}
