/* style.css */

/* :root (Açık Tema) */
:root {
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --bg-color: #f5f5f7;
    --card-bg-color: #ffffff;
    --text-color: #1d1d1f;
    --secondary-text-color: #515154;
    --headline-color: #111;
    --border-color: #d2d2d7;
    --nav-bg-color: rgba(255, 255, 255, 0.7);
    --nav-border-color: #d2d2d7;
    --apple-blue: #0071e3;
    --apple-blue-text: #fff;
    --apple-blue-faded: rgba(0, 113, 227, 0.1);
    --apple-green: #34c759;
    --apple-red: #ff3b30;
    --border-radius: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --gradient-start: #e0f2f7;
    --gradient-end: #e6e0ff;
    --gradient-direction: 135deg;
}

/* :root (Koyu Tema) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --card-bg-color: #151517;
        --text-color: #f5f5f7;
        --secondary-text-color: #a1a1a6;
        --headline-color: #eee;
        --border-color: #3b3b3e;
        --nav-bg-color: rgba(28, 28, 30, 0.7);
        --nav-border-color: #3b3b3e;
        --apple-blue: #2997ff;
        --apple-blue-text: #000;
        --apple-blue-faded: rgba(41, 151, 255, 0.1);
        --apple-green: #30d158;
        --apple-red: #ff453a;
        --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        --gradient-start: #0a0e1c;
        --gradient-end: #1c0a2a;
    }
}

/* Temel Sayfa Ayarları */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background: linear-gradient(var(--gradient-direction), var(--gradient-start) 0%, var(--gradient-end) 100%);
    background-attachment: fixed; 
    color: var(--text-color);
    margin: 0;
    padding-top: 54px; 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease; 
}

/* ... (Navbar, Hero, Feature-Grid stilleri aynı kaldı) ... */
.navbar {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background-color: var(--nav-bg-color);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--nav-border-color);
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav-content {
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.nav-logo {
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    font-size: 17px;
}
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-cta-button {
    background-color: var(--apple-blue);
    color: var(--apple-blue-text);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    transition: filter 0.2s ease;
}
.nav-cta-button:hover { filter: brightness(1.15); }
.hero-section {
    height: 90vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
    position: relative; 
    background: none; 
    animation: none; 
}
.hero-content h1 {
    font-size: clamp(3rem, 7vw, 5.5rem); 
    font-weight: 700;
    color: var(--headline-color);
    margin: 0;
    line-height: 1.1;
    position: relative; 
    z-index: 1;
}
.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--secondary-text-color);
    margin: 20px auto 30px auto;
    max-width: 600px;
    position: relative; 
    z-index: 1;
}
.hero-button {
    background-color: var(--apple-blue);
    color: var(--apple-blue-text);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block; 
    margin-top: 20px; 
    position: relative; 
    z-index: 1;
}
.hero-button:hover { filter: brightness(1.15); transform: scale(1.05); }
.feature-grid-section {
    background-color: var(--card-bg-color);
    padding: 10vh 20px;
    border-radius: var(--border-radius);
    max-width: 1200px;
    margin: 0 auto 10vh auto;
}
.feature-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.feature-card { text-align: center; }
.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--apple-blue-faded);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: var(--apple-blue);
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--headline-color);
    margin: 10px 0;
}
.feature-card p {
    font-size: 1rem;
    color: var(--secondary-text-color);
    line-height: 1.5;
}

/* ... (Scrollytelling, Details, Comparison, Tech Specs stilleri aynı kaldı) ... */
.scrolly-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 5vw;
    max-width: 1200px;
    margin: 10vh auto;
    padding: 0 30px;
}
.scrolly-visual {
    position: sticky; 
    top: 15vh;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.kiosk-frame {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transform: perspective(1500px) rotateY(-8deg) scale(0.95);
    width: 90%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.visual-step {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.visual-step svg {
    width: 40%;
    height: 40%;
    color: var(--apple-blue);
}
.visual-step.is-active {
    opacity: 1;
    transform: scale(1);
}
.scrolly-text {
    display: flex;
    flex-direction: column;
}
.text-step {
    min-height: 70vh; 
    padding-bottom: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-step h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--headline-color);
    line-height: 1.2;
}
.text-step p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--secondary-text-color);
    max-width: 500px;
}
.details-section {
    max-width: 1200px;
    margin: 15vh auto;
    padding: 0 30px;
}
.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--headline-color);
    text-align: center;
    margin-bottom: 8vh;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.detail-card {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}
.detail-card svg {
    width: 28px;
    height: 28px;
    color: var(--apple-blue);
    margin-bottom: 15px;
}
.detail-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--headline-color);
    margin-top: 0;
}
.detail-card p {
    font-size: 1rem;
    color: var(--secondary-text-color);
}
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.comparison-column h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--headline-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-top: 0;
}
.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comparison-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.comparison-list li::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}
.comparison-list li.positive {
    color: var(--text-color);
}
.comparison-list li.positive::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2334C759'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd' /%3E%3C/svg%3E");
}
.comparison-list li.negative {
    color: var(--secondary-text-color);
    text-decoration: line-through;
}
.comparison-list li.negative::before {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23FF3B30'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z' clip-rule='evenodd' /%3E%3C/svg%3E");
}
.tech-specs-section {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 10vh 20px;
    max-width: 1200px;
    margin: 15vh auto;
    box-shadow: var(--shadow);
}
.tech-specs-container {
    max-width: 1000px;
    margin: 0 auto;
}
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.specs-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--headline-color);
    margin: 0 0 20px 0;
}
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.specs-list li {
    font-size: 1rem;
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.specs-list li strong {
    color: var(--secondary-text-color);
    min-width: 140px;
    display: inline-block;
}


/* --- GERİ ALINDI: 8. Kullanıcı Yorumları (Eski Sade Stil) --- */
.testimonial-section {
    max-width: 900px;
    margin: 15vh auto;
    padding: 0 30px;
    text-align: center;
}
.testimonial-quote {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--headline-color);
    line-height: 1.4;
    font-style: italic; /* Orijinal stilinize geri döndü */
    margin: 0;
}
.testimonial-author {
    display: block;
    font-size: 1.1rem;
    font-style: normal;
    color: var(--secondary-text-color);
    margin-top: 25px;
    font-weight: 500;
}
/* --- Tasarım Bitişi --- */


/* --- GÜNCELLENDİ: 9. S.S.S. (Animasyonlu Akordiyon) Stilleri --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    overflow: hidden; /* Animasyon için önemli */
}
.faq-question {
    /* <button> etiketini <summary> gibi göstermek için */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: transparent;
    border: none;
    font-family: var(--font-family); /* Fontu sıfırla */
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--headline-color);
    padding: 20px 25px;
    cursor: pointer;
    text-align: left; /* Buton olduğu için sıfırla */
}

/* Artı/Eksi ikonu (Apple tarzı) */
.faq-question::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: var(--apple-blue);
    transition: transform 0.3s ease-out;
}
.faq-item.is-open .faq-question::after {
    transform: rotate(45deg); /* Artı'yı X'e çevir */
}

/* Animasyonlu Cevap Bölümü */
.faq-answer-container {
    /* CSS'in animasyon yapabilmesi için max-height kullanıyoruz */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-item.is-open .faq-answer-container {
    max-height: 300px; /* Cevabınızın sığacağı kadar bir yükseklik */
}
.faq-answer {
    font-size: 1rem;
    color: var(--secondary-text-color);
    padding: 0 25px 25px 25px;
    margin: 0;
    border-top: 1px solid var(--border-color);
}
/* --- S.S.S. Bitişi --- */


/* --- 10. CTA (Kapanış) Bölümü --- */
.cta-section {
    max-width: 1200px;
    margin: 15vh auto;
    padding: 8vh 30px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    text-align: center;
}
.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--headline-color);
    margin: 0;
}
.cta-content p {
    font-size: 1.25rem;
    color: var(--secondary-text-color);
    max-width: 650px;
    margin: 20px auto 30px auto;
}

/* --- 11. Footer --- */
.footer {
    color: var(--secondary-text-color);
    padding: 40px 20px;
    text-align: center;
    margin-top: 15vh;
    font-size: 13px;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer .nav-links {
    font-size: 13px;
}

/* --- GİRİŞ ANİMASYONLARI --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInSlideUp 1s ease-out forwards;
}
@keyframes fadeInSlideUp {
    to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(5px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    body { padding-top: 50px; }
    .navbar { height: 50px; }
    .nav-links { display: none; } 
    .nav-content { padding: 0 15px; }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    
    .feature-grid-section {
        margin: 5vh auto;
        padding: 5vh 20px;
    }
    .feature-grid-container {
        gap: 30px;
    }

    .scrolly-container {
        grid-template-columns: 1fr; 
    }
    .scrolly-visual {
        display: none; 
    }
    .kiosk-frame-mobile {
        background: var(--card-bg-color);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        height: 50vh;
        margin-bottom: 5vh;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .kiosk-frame-mobile .visual-step {
        opacity: 1;
        transform: scale(1);
    }
    .text-step {
        min-height: auto;
        padding-bottom: 15vh;
    }
    
    .details-section {
        margin: 10vh auto;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
    .tech-specs-section {
        padding: 5vh 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    .footer .nav-links {
        display: none;
    }
}


/* --- 12. MODAL (POPUP) STİLLERİ --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    z-index: 2001;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal-overlay.is-visible .modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.modal-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--headline-color);
    margin-top: 0;
    margin-bottom: 10px;
}
.modal-content p {
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin-bottom: 25px;
}
.close-modal-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--secondary-text-color);
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.close-modal-button:hover {
    background-color: var(--border-color);
    color: var(--headline-color);
}
body.modal-open {
    overflow: hidden;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-text-color);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box; 
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.3);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- 13. FORM GERİ BİLDİRİM STİLLERİ --- */
#form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none; /* Varsayılan olarak gizli */
    text-align: center;
    transition: all 0.3s ease;
}
#form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}
#form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
#demo-form .hero-button {
    width: 100%;
}
#demo-form .hero-button:disabled {
    background-color: var(--secondary-text-color);
    cursor: not-allowed;
    filter: brightness(1);
}