:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary: #06b6d4;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px var(--primary);
    filter: brightness(1.1);
}

.btn.secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Sections */
main {
    padding: 0 5%;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header .line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.subtitle {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.description strong {
    color: var(--text-color);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.floating-phone {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 45px;
    border: 6px solid #334155;
    box-shadow: 20px 30px 60px rgba(0, 0, 0, 0.6), -10px -10px 40px rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatPhone 6s infinite ease-in-out;
    transform-style: preserve-3d;
}

.phone-screen {
    width: 90%;
    height: 95%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: white;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes floatPhone {
    0% { transform: translateY(0) rotateX(10deg) rotateY(-15deg); }
    50% { transform: translateY(-25px) rotateX(15deg) rotateY(-5deg); }
    100% { transform: translateY(0) rotateX(10deg) rotateY(-15deg); }
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.2);
}

/* Apps Section */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.app-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: white;
}

.app-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.app-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 1.1rem;
}

.app-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

.store-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.social-links {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    border-color: transparent;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 0;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .title { font-size: 4rem; }
    .hero-image { transform: scale(0.8); }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .title {
        font-size: 3.5rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        transform: scale(0.9);
    }
    
    .nav-links {
        display: none;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
}

/* --- YENİ EKLENEN ANİMASYON STİLLERİ --- */

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader-logo {
    text-align: center;
    animation: pulse 1.5s infinite alternate ease-in-out;
}
.loader-logo img {
    width: 90px; height: 90px;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}
.loader-logo h2 {
    color: white; 
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; filter: drop-shadow(0 0 10px var(--primary)); }
    100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 25px var(--secondary)); }
}

/* Particles Container */
#particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle linear infinite;
}
@keyframes twinkle {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    50% { opacity: 0.6; transform: scale(1); }
    100% { transform: translateY(-150px) scale(0.5); opacity: 0; }
}

/* Typewriter cursor */
.subtitle::after {
    content: '|';
    animation: blink-caret 0.75s step-end infinite;
    margin-left: 5px;
    color: var(--secondary);
    font-weight: 300;
}
@keyframes blink-caret {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}
