* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: #050510;
    color: #e0e0ff;
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

/* Mouse Işık Takibi */
.mouse-light {
    position: fixed;
    top: 0; left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 126, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* Particles */
#particles-js {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(5, 5, 16, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(74, 126, 255, 0.3);
    z-index: 1000;
    padding: 1.4rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 16, 0.98);
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #4a7eff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: 0.4s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a7eff, #00d4ff);
    border-radius: 2px;
    transition: 0.4s;
    transform: translateX(-50%);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #4a7eff; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #4a7eff;
    border-radius: 3px;
    transition: 0.4s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

/* HERO CONTENT'i ortalamak için Flex kullanıyoruz */
.hero-content {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%; 
}

/* GÜNCELLENDİ: Ana Başlık Stili (AUREN için) */
.main-title {
    font-size: 8.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    font-family: 'Kode Mono', monospace; /* İstenen font */
    text-align: center;
}

/* GÜNCELLENDİ: Animasyonlu metin (span) stilleri */
.typed-text {
    /* Yazının yazılabilmesi için gerekli kısıtlama */
    overflow: hidden;
    white-space: nowrap;
    
    /* Blok olarak davranmalı ki width animasyonu çalışsın */
    display: inline-block; 
    
    /* Kendi üzerine imleç efekti ekleyelim */
    border-right: 5px solid rgba(74, 126, 255, 0.7); 
    
    /* Başlangıçta genişlik 0 */
    width: 0; 
    
    /* İlk Animasyon: Yazma ve İmleç */
    animation: typewriter 2.5s steps(6, end) forwards,
               blink-caret .75s step-end infinite;
}

/* typewriter animasyonu (Genişliği %100'e çıkararak metni gösterir) */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; } 
}

/* blink-caret animasyonu */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: rgba(74, 126, 255, 0.7); }
}

/* Animasyon bittikten sonraki parlama ve kalıcı görünürlük */
.typed-text.glow-finish {
    /* Yazı bittiği için imleci kaldır */
    border-right-color: transparent;
    /* Parlama animasyonunu başlat */
    animation: glow-effect 1.5s forwards;
    /* Genişliği koru */
    width: 100%; 
}

@keyframes glow-effect {
    0% {
        text-shadow: none;
        box-shadow: none;
    }
    50% {
        text-shadow: 0 0 30px rgba(74, 126, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.6);
    }
    100% {
        text-shadow: 0 0 15px rgba(74, 126, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.2);
    }
}


.gradient-title {
    font-size: 4.8rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(120deg, #4a7eff, #00ffff, #4a7eff);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flow 8s ease infinite;
}

@keyframes flow { 0%,100% { background-position: 0%; } 50% { background-position: 100%; } }

.hero-desc { font-size: 1.4rem; text-align: center; color: #aaa; margin: 2rem 0; }

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-glow {
    background: linear-gradient(45deg, #4a7eff, #00aaff);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(74, 126, 255, 0.6);
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-glow:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 50px rgba(74, 126, 255, 0.9);
}

.btn-outline {
    border: 2px solid #4a7eff;
    color: #4a7eff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.4s;
}

.btn-outline:hover {
    background: #4a7eff;
    color: white;
    transform: translateY(-8px);
}

/* Hakkımızda Bölümü */
.about-us {
    padding: 140px 0;
    position: relative;
    z-index: 2;
    background: #0a0a1f;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.about-card {
    background: rgba(15, 15, 40, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(74, 126, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.4s, box-shadow 0.4s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 126, 255, 0.3);
}

.about-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #00ffff, #4a7eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
}

.why-auren {
    background: rgba(15, 15, 40, 0.7);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(74, 126, 255, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
}

.why-auren h3 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(90deg, #4a7eff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.why-auren ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.why-auren li {
    font-size: 1.2rem;
    text-align: left;
    background: rgba(25, 25, 60, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(74, 126, 255, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-auren li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 126, 255, 0.2);
}

.why-auren li i {
    color: #00d4ff;
    font-size: 1.5rem;
    margin-top: 5px;
}


/* Services + 3D Tilt */
.services { padding: 140px 0; position: relative; z-index: 2; }
.section-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 5rem;
    background: linear-gradient(90deg, #4a7eff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(15, 15, 40, 0.6);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(74, 126, 255, 0.3);
    backdrop-filter: blur(12px);
    transition: all 0.6s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Service Card Hover Border Glow */
.service-card::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    background: linear-gradient(45deg, #4a7eff, #00d4ff);
    z-index: -1;
    border-radius: 28px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.6s, transform 0.6s;
    transform: scale(0.9);
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-card:hover {
    border-color: #4a7eff;
    box-shadow: 0 25px 50px rgba(74, 126, 255, 0.3);
}

.icon-wrapper {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, #4a7eff, #00aaff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.8rem;
    color: white;
    box-shadow: 0 0 30px rgba(74, 126, 255, 0.5);
}

/* Stats & Contact */
.stats, .contact { padding: 120px 0; position: relative; z-index: 2; }
.stats { background: #0a0a1f; text-align: center; }
.counter { font-size: 4rem; font-weight: 900; color: #4a7eff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }

.contact { background: linear-gradient(135deg, #0a0a1f, #1a1a3a); text-align: center; }
.contact-card {
    background: rgba(15, 15, 40, 0.8);
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(74, 126, 255, 0.5);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Yeni Discord Kart İçeriği */
.discord-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.discord-content .icon-circle {
    width: 90px;
    height: 90px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.6);
}

.discord-content .text-content {
    text-align: left;
}

.discord-content .text-content h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #5865F2, #8A98FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.discord-content .text-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-top: 5px;
}


.btn-glow.large {
    padding: 20px 50px;
    font-size: 1.2rem;
    box-shadow: 0 0 40px rgba(74, 126, 255, 0.7);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(74, 126, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Scroll Reveal Temel Stilleri */
[data-scroll-reveal] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-scroll-reveal].visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Scroll Reveal Yön Bazlı Stiller */
[data-scroll-reveal="bottom"] { transform: translateY(50px); }
[data-scroll-reveal="top"] { transform: translateY(-50px); }
[data-scroll-reveal="left"] { transform: translateX(-50px); }
[data-scroll-reveal="right"] { transform: translateX(50px); }

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #4a7eff, #00aaff);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(74, 126, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(74, 126, 255, 0.7);
}


/* Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-card {
        padding: 2rem;
    }
    .about-card h3 {
        font-size: 2rem;
    }
    .why-auren ul {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 3rem 2rem;
    }
    .discord-content {
        flex-direction: column;
        text-align: center;
    }
    .discord-content .text-content {
        text-align: center;
    }
    .discord-content .icon-circle {
        margin-bottom: 1rem;
    }
    .btn-glow.large {
        width: 100%;
        max-width: 300px;
    }
    .main-title {
        font-size: 6rem;
    }
    .gradient-title {
        font-size: 3rem;
    }
}