/* 
   TohumApp Master-Vision Design System 
   Role: High-End AgTech UI/UX
   Focus: High-Readability & Turkish Context
*/

:root {
    --bg-obsidian: #010409;
    --primary-emerald: #1A4D2E;
    --electric-lime: #22C55E;
    --text-pure: #FFFFFF;
    --text-high: #F8FAFC;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glass-heavy: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

/* OKUNABİLİRLİK MÜHRÜ */
#hero-title {
    color: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    position: relative !important;
    text-shadow: 0 10px 40px rgba(0,0,0,0.9) !important;
    -webkit-text-fill-color: #FFFFFF !important; /* Gradyan varsa ezer */
}

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

body {
    background-color: var(--bg-obsidian);
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(34, 197, 94, 0.12), transparent 80%),
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    color: var(--text-high);
    font-family: var(--font-main);
    line-height: 1.35;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    background: rgba(1, 4, 9, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-area {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px; /* Keskin ve sabit boyut */
    width: auto;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    color: var(--text-high);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a {
    color: var(--text-high);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.6rem;
    letter-spacing: 0.15em; /* Daha okunabilir */
    opacity: 0.5;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap; /* Kesinlikle bölünme */
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--electric-lime);
    transform: translateY(-1px);
}

.action-area {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-nav-action {
    padding: 10px 24px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-high);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.02);
}

.btn-nav-action:hover {
    background: var(--electric-lime);
    color: #000;
    border-color: var(--electric-lime);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

/* --- Header Layout Support --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- Language Switcher (Premium Minimalist) --- */
.lang-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-high);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.4;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2px 0;
    position: relative;
    letter-spacing: 0.05em;
}

.lang-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: #FFF;
    transition: 0.3s;
    transform: translateX(-50%);
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 700;
}

.lang-btn.active::after {
    width: 100%;
}

/* --- Hero Section & Readability Overlay --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 100; /* Tüm karartma katmanlarının (overlay) kesinlikle üzerine çıkarır */
    opacity: 1 !important;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(1,4,9,0.4) 0%, rgba(1,4,9,0.8) 100%);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: -1;
}

/* Hero Content Area */

.hero-content h1 {
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 40px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
    color: #FFFFFF !important; /* Portal butonuyla aynı parlaklıkta saf beyaz */
}

/* --- Master Layout --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 100px;
}

.container.reverse {
    flex-direction: row-reverse;
}

.feature-section, .tutorial-section {
    padding: 160px 10%;
    position: relative;
    overflow: hidden; /* Maskelerin dışarı taşmasını engeller */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Derin Sis (Deep Fog) Geçiş Katmanları */
.feature-section::before, .feature-section::after,
.tutorial-section::before, .tutorial-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 300px; /* Devasa bir geçiş alanı */
    z-index: 2;
    pointer-events: none;
}

.feature-section::before, .tutorial-section::before {
    top: 0;
    background: linear-gradient(to bottom, #010409 0%, rgba(1, 4, 9, 0.8) 30%, transparent 100%);
}

.feature-section::after, .tutorial-section::after {
    bottom: 0;
    background: linear-gradient(to top, #010409 0%, rgba(1, 4, 9, 0.8) 30%, transparent 100%);
}

.feature-section.reverse {
    background: linear-gradient(rgba(1, 4, 9, 0.75), rgba(1, 4, 9, 0.75)), url('assets/img/assistant_bg.png');
}

#meteoroloji.feature-section {
    background: linear-gradient(rgba(1, 4, 9, 0.75), rgba(1, 4, 9, 0.75)), url('assets/img/weather_bg.png');
}

#ekonomi.feature-section {
    background: linear-gradient(rgba(1, 4, 9, 0.8), rgba(1, 4, 9, 0.8)), url('assets/img/tutorial_bg_v2.png');
}

.feature-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.feature-info h2 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 32px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-info p {
    font-size: 1.4rem;
    color: var(--text-high);
    margin-bottom: 40px;
    line-height: 1.6;
}

.feature-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 2000px;
}

/* --- iPhone 15 Pro Frame Enhancements --- */
.iphone-frame {
    width: 320px;
    height: 680px;
    background: #000;
    border-radius: 54px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 50px 100px rgba(0,0,0,0.9), 0 0 0 2px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.container.reverse .iphone-frame {
    transform: rotateY(10deg) rotateX(5deg);
}

.iphone-frame:hover,
.container.reverse .iphone-frame:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.iphone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Lists & Mini Bento --- */
.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-high);
}

.feature-list li i {
    color: var(--electric-lime);
}

.bento-mini {
    display: flex;
    gap: 20px;
}

.bento-mini-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 24px 40px;
    border-radius: 24px;
    text-align: center;
    transition: 0.4s;
}

.bento-mini-item:hover {
    border-color: var(--electric-lime);
    background: rgba(34, 197, 94, 0.05);
}

.bento-mini-item h4 {
    font-size: 2rem;
    color: var(--electric-lime);
    margin-bottom: 4px;
}

.bento-mini-item span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: 200px 10%;
    text-align: center;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, #010409 70%);
}

.cta-section h2 {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 24px;
}

/* --- Buttons --- */
.btn-magnetic {
    background: var(--electric-lime);
    color: #000;
    padding: 24px 56px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    transition: 0.4s;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.3);
}

.btn-magnetic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(34, 197, 94, 0.5);
}

/* --- Feature Sections --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 450px);
    gap: 40px;
}

.bento-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 48px;
    padding: 56px;
    position: relative;
    overflow: hidden;
}

.bento-item h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.bento-item p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 1.1rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* --- Gradient Text & Tags --- */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 30%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mission-tag {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #4ade80; /* Çok daha parlak çerçeve */
    color: #FFFFFF !important; /* Etiket metni beyaz olsun ki okunsun */
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tutorial-section {
    background: linear-gradient(rgba(1, 4, 9, 0.75), rgba(1, 4, 9, 0.75)), url('assets/img/tutorial_bg_v2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.tutorial-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.tutorial-info {
    flex: 1;
}

.tutorial-steps-list {
    margin-top: 40px;
}

.tutorial-step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: 0.4s;
    cursor: pointer;
    opacity: 0.4;
}

.tutorial-step-item.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--electric-lime);
    transform: translateX(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--electric-lime);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.tutorial-step-item h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-high);
}

.tutorial-step-item.activation-step .step-number {
    background: var(--electric-lime);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 25px rgba(34, 197, 94, 0.6); }
    100% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.4); }
}

.tutorial-step-item p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

.tutorial-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.tutorial-phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 50px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 0 2px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.container.reverse .tutorial-phone-mockup {
    transform: rotateY(10deg) rotateX(5deg);
}

.tutorial-phone-mockup:hover {
    transform: rotateY(0) rotateX(0) scale(1.02) !important;
}

.tutorial-screens {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.tutorial-screens img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-arrows {
    position: absolute;
    bottom: -60px;
    display: flex;
    gap: 20px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-high);
    cursor: pointer;
    transition: 0.3s;
}

.nav-arrow:hover {
    background: var(--electric-lime);
    color: #000;
    border-color: var(--electric-lime);
}

/* --- Responsiveness & Mobile UI --- */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    header {
        padding: 10px 5%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #010409;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 1999;
        padding-top: 80px;
    }

    .nav-links.active {
        right: 0;
    }

    .lang-switcher {
        margin: 20px 0;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        font-size: 1.2rem;
        opacity: 0.8;
    }

    .action-area {
        display: none;
    }

    .hero {
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem !important;
    }

    .container {
        flex-direction: column !important;
        gap: 48px;
        padding: 0 5%;
    }

    .feature-info h2 {
        font-size: 2.5rem !important;
        text-align: center;
    }

    .feature-info p {
        font-size: 1.1rem;
        text-align: center;
    }

    .tutorial-container {
        flex-direction: column-reverse;
        gap: 48px;
    }

    .tutorial-phone-mockup, .iphone-frame {
        width: 280px;
        height: 580px;
        margin: 0 auto;
        transform: none !important;
    }

    .bento-mini {
        flex-direction: column;
        width: 100%;
    }

    .nav-arrows {
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-section, .tutorial-section {
        padding: 100px 5%;
    }
}

/* Footer */
footer {
    padding: 80px 10% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-high);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.5;
}



/* --- Vision Page Specifics --- */
.vision-hero {
    background: linear-gradient(rgba(1, 4, 9, 0.75), rgba(1, 4, 9, 0.75)), url('assets/img/vision_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--electric-lime) !important;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
