/* --- GLOBAL VARIABLES & BASE SETUP --- */
:root {
    --bg-color: #02040a;
    --text-color: #E6F1FF;
    --text-muted: #8892B0;
    --accent-primary: #00A3FF;
    --accent-secondary: #8B5CF6;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(13, 17, 23, 0.5);
    --header-font: 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;
    --mono-font: 'Roboto Mono', monospace;
    --transition-fast: 0.3s;
    --transition-slow: 0.5s;
}

html { scroll-behavior: smooth; }

body { color: var(--text-color); font-family: var(--body-font); font-weight: 400; margin: 0; padding: 0; overflow-x: hidden; background-color: var(--bg-color); cursor: none; }
body.no-scroll { overflow: hidden; }

/* --- PRELOADER, CURSOR, CANVAS --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-color); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
.loader-logo img { width: 60px; animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } }
.cursor { position: fixed; width: 20px; height: 20px; border: 2px solid var(--accent-primary); border-radius: 50%; left: 0; top: 0; pointer-events: none; transform: translate(-50%, -50%); z-index: 9998; transition: width 0.3s, height 0.3s, background-color 0.3s, transform 0.1s ease-out; }
.cursor.hover { width: 40px; height: 40px; background-color: rgba(0, 163, 255, 0.2); }
#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

/* --- HEADER & NAVIGATION --- */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 5vw; position: fixed; width: 90vw; top: 0; left: 0; z-index: 1000; background-color: rgba(2, 4, 10, 0.7); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); transition: top var(--transition-fast) ease-in-out; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo img { height: 35px; }
.logo span { font-size: 1.8em; font-weight: 800; color: var(--text-color); }
.desktop-nav a { color: var(--text-muted); text-decoration: none; margin-left: 40px; font-size: 1em; font-weight: 500; transition: color var(--transition-fast); position: relative; padding-bottom: 5px; }
.desktop-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); transition: width var(--transition-fast) ease; }
.desktop-nav a:hover { color: var(--text-color); }
.desktop-nav a:hover::after { width: 100%; }

/* --- MAIN CONTENT & SECTIONS --- */
main { width: 100%; position: relative; z-index: 2; opacity: 0; transition: opacity 0.5s ease; }
body.loaded main { opacity: 1; }
section { padding: 15vh 5vw; display: flex; justify-content: center; align-items: center; position: relative; box-sizing: border-box; text-align: center; min-height: 70vh; }

/* --- FLUID TYPOGRAPHY & COMMON ELEMENTS --- */
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; margin: 0; line-height: 1.1; }
.section-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--text-color); margin: 0 0 20px 0; }
.subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 750px; margin: 25px auto 45px auto; line-height: 1.7; }
.action-button { background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); color: #fff; border: none; padding: 16px 40px; font-size: 1em; font-weight: 700; cursor: none; text-decoration: none; border-radius: 8px; transition: all var(--transition-fast) ease; position: relative; overflow: hidden; }
.action-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 163, 255, 0.2); }

/* --- HERO SECTION (DUAL H1 FIX) --- */
#hero { min-height: 100vh; }
#hero-title-wrapper { position: relative; }
.hero-title-visual, .hero-title-animation { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; margin: 0; line-height: 1.1; }
.hero-title-visual { background: linear-gradient(90deg, var(--accent-primary), var(--text-color), var(--accent-secondary)); background-size: 200% auto; color: #000; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.hero-title-animation { position: absolute; top: 0; left: 0; color: var(--bg-color); opacity: 1; /* Başlangıçta görünür */ }
.hero-title-animation .word-wrapper { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title-animation .word { display: block; transform: translateY(100%); }

/* --- HELIOS SECTION --- */
#helios { padding: 0; }
.helios-sticky-container { position: relative; display: flex; height: 400vh; }
.helios-core-wrapper { position: sticky; top: 0; width: 50%; height: 100vh; display: flex; justify-content: center; align-items: center; }
.helios-core { --core-size: 100px; --core-opacity: 0.5; width: var(--core-size); height: var(--core-size); background: radial-gradient(circle, var(--accent-primary), transparent 60%); border-radius: 50%; transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease; position: relative; }
.helios-core::before, .helios-core::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; }
.helios-core::before { box-shadow: 0 0 50px 20px var(--accent-primary); opacity: var(--core-opacity); transition: opacity 0.5s ease; }
.helios-core::after { animation: core-pulse 4s infinite; }
@keyframes core-pulse { 0%, 100% { transform: scale(1); opacity: 0; } 50% { transform: scale(1.5); opacity: 0.1; } }
.helios-features { width: 50%; display: flex; flex-direction: column; justify-content: space-around; }
.feature-item { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; text-align: left; padding: 0 10%; }
.feature-item h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.feature-item p { font-size: clamp(1rem, 1.8vw, 1.1rem); color: var(--text-muted); max-width: 500px; line-height: 1.7; }

/* --- ECOSYSTEM & ROADMAP --- */
#ecosystem { background: var(--bg-color); }
.ecosystem-container, .contact-container { max-width: 1200px; width: 100%; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; }
.partner-card { background-color: var(--card-bg); border: 1px solid var(--border-color); padding: 40px; border-radius: 12px; text-align: center; transition: transform var(--transition-fast) ease, background-color var(--transition-fast) ease; }
.partner-card:hover { transform: translateY(-10px); background-color: rgba(13, 17, 23, 0.9); }
.partner-card img { height: 40px; max-width: 150px; margin-bottom: 20px; filter: grayscale(100%) brightness(2); transition: filter var(--transition-fast) ease; }
.partner-card:hover img { filter: none; }
.partner-card h4 { font-size: 1.3em; font-weight: 700; margin: 0 0 10px 0; }
.partner-card p { font-size: 0.9em; line-height: 1.6; margin: 0; color: var(--text-muted); }
.roadmap-container { max-width: 800px; width: 100%; }
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; top: 0; left: 10px; height: 100%; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; padding-left: 50px; margin-bottom: 50px; }
.timeline-dot { position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border: 2px solid var(--accent-primary); border-radius: 50%; background: var(--bg-color); transition: background-color var(--transition-fast); }
.timeline-item:hover .timeline-dot { background: var(--accent-primary); }
.timeline-content { text-align: left; }
.timeline-content h3 { font-size: 1.5em; margin: 0 0 10px 0; }
.timeline-content p { color: var(--text-muted); margin: 0; }
.launch-item .timeline-content h3 { color: var(--accent-primary); }

/* --- YENİ STİLLER: E-POSTA KAYIT FORMU --- */
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}
.newsletter-form input {
    flex-grow: 1;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 1em;
    font-family: var(--body-font);
    transition: border-color var(--transition-fast);
}
.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.newsletter-form .action-button {
    padding-left: 30px;
    padding-right: 30px;
}

/* --- FOOTER --- */
footer { text-align: center; padding: 40px 5vw; border-top: 1px solid var(--border-color); color: var(--text-muted); background-color: #05080D; position: relative; z-index: 2; }
.footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.social-links { display: flex; gap: 20px; }
.social-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color var(--transition-fast); }
.social-links a:hover { color: var(--text-color); }

/* --- RESPONSIVENESS & MOBILE --- */
.hamburger-menu, .mobile-nav { display: none; }
@media (max-width: 768px) {
    .cursor { display: none; }
    body { cursor: auto; }
    header { padding: 15px 20px; width: calc(100% - 40px); }
    .desktop-nav { display: none; }
    .hamburger-menu { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
    .hamburger-menu span { width: 100%; height: 2px; background: var(--text-color); transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); border-radius: 2px; }
    .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    .mobile-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(2, 4, 10, 0.98); backdrop-filter: blur(5px); display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1); z-index: 1000; }
    .mobile-nav.active { transform: translateX(0); }
    .mobile-nav a { font-size: 2.5em; font-weight: 700; margin: 20px 0; color: var(--text-color); text-decoration: none; }
    
    .helios-sticky-container { flex-direction: column; height: auto; }
    .helios-core-wrapper { position: relative; width: 100%; height: 50vh; }
    .helios-features { width: 100%; }
    .feature-item { min-height: auto; padding: 15% 10%; text-align: center; }
    
    .timeline::before { left: 50%; transform: translateX(-50%); }
    .timeline-item { padding-left: 0; text-align: center; }
    .timeline-dot { left: 50%; transform: translateX(-50%); }
    .timeline-content { text-align: center; padding-top: 40px; }
    .footer-content { flex-direction: column; gap: 20px; }

    .newsletter-form { flex-direction: column; }
}
