/* CSS Reset & Variables */
:root {
    --bg-dark: #020813;        /* Koyu Dark Lacivert */
    --bg-darker: #01040a;      /* En Koyu Lacivert (Siyaha Yakın) */
    --bg-light: #061129;       /* Koyu Lacivert Arkaplan */
    --bg-light-alt: #040d1f;   /* Koyu Lacivert Alternatif */
    --primary: #2563eb;        /* Vibrant Blue */
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary: #0ea5e9;      /* Light Blue/Cyan */
    --text-light: #f1f5f9;
    --text-muted: #829ab1;     /* Navy Muted Text */
    --text-dark: #ffffff;      /* Tam Beyaz, kontrast için */
    --text-dark-muted: #bcccde; /* Navy Light Muted */
    --border: rgba(255,255,255,0.06);
    --border-dark: rgba(255,255,255,0.04);
    --card-bg: #07132e;        /* Koyu Lacivert Kart Arkaplanı */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center {
    text-align: center;
}

.w-100 { width: 100%; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--secondary);
}

/* In light sections, we want logo dark if relative, but nav is fixed dark blue theme */

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.hamburger {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--bg-darker);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1e293b 0%, var(--bg-darker) 100%);
    z-index: 1;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 10s ease-in-out infinite alternate;
}

.glow-1 { top: -200px; right: -100px; background: var(--secondary); }
.glow-2 { bottom: -200px; left: -100px; }

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 80px;
}

.hero-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-text .badge {
    background: rgba(37, 99, 235, 0.2);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.4);
}

.hero-text h1 {
    font-size: 64px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Services */
.services {
    background: var(--bg-light-alt);
}

.section-header p {
    color: var(--text-dark-muted);
    margin-top: 10px;
    font-size: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: var(--transition);
    border: 1px solid var(--border-dark);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.service-card p {
    color: var(--text-dark-muted);
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.service-features i {
    color: var(--secondary);
    font-size: 14px;
}

/* Stats (Dark Banner) */
.stats {
    background: var(--bg-dark);
    padding: 60px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-number {
    font-size: 48px;
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 16px;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-text > p {
    color: var(--text-dark-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.af-item {
    display: flex;
    gap: 20px;
}

.af-item i {
    font-size: 30px;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.af-item h4 {
    margin-bottom: 8px;
    font-size: 20px;
}

.af-item p {
    color: var(--text-dark-muted);
}

.abstract-visual {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
    height: 500px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(37,99,235,0.2);
}

.float-icon {
    font-size: 120px;
    color: rgba(255,255,255,0.9);
    animation: float 5s ease-in-out infinite alternate;
}

/* CTA */
.cta {
    background: var(--bg-light-alt);
}

.cta-box {
    background: var(--bg-dark);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at right, rgba(37,99,235,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 18px;
}

.cta-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.cta-form input, .cta-form textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
}

.cta-form input:focus, .cta-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

/* Footer */
footer {
    background: var(--bg-darker);
    color: #fff;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container, .cta-box { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        right: 0;
    }
    .hamburger { display: block; z-index: 1000; position: relative; }
    .nav-container .btn-primary { display: none; }
    
    .hero-text h1 { font-size: 36px; }
    .hero-text p { font-size: 16px; margin-bottom: 30px; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .hero-btns a { width: 100%; }
    
    .service-grid { grid-template-columns: 1fr; }
    .about-container, .cta-box { grid-template-columns: 1fr; text-align: center; }
    .about-features .af-item { flex-direction: column; align-items: center; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .socials { justify-content: center; }
    .footer-contact p { justify-content: center; }
    
    .marquee-content span { font-size: 18px; }
    .marquee-content span i { font-size: 24px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-text h1 { font-size: 32px; }
    .section-padding { padding: 60px 0; }
    .service-card { padding: 30px 20px; }
    .cta-box { padding: 40px 20px; }
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: width 0.3s, height 0.3s;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Tech Marquee */
.tech-stack {
    background: var(--bg-darker);
    border-block: 1px solid var(--border-dark);
    padding: 60px 0;
    overflow: hidden;
}

.mb-4 { margin-bottom: 30px; }

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-wrapper::before, .marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    align-items: center;
}

.marquee-content span {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.marquee-content span:hover {
    color: var(--primary);
}

.marquee-content span i {
    font-size: 32px;
    color: var(--secondary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 25px)); }
}
