:root {
    --bg-white: #ffffff;
    --bg-surface: #fbfbfd;
    --text-dark: #1d1d1f;
    --text-muted: #86868b;
    --border-color: #d2d2d7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* Animated Logo Fingerprint */
.temp-logo {
    width: 140px;
    height: 140px;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inline-logo {
    width: 80px;
    height: 80px;
    margin: 0 4px;
    display: inline-flex;
    vertical-align: middle;
}

.fingerprint-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SKELETON: No animations */
.temp-logo .fp-part {
    stroke: #1d1d1f; /* Tam Siyah */
}

/* Card Miniature Fingerprint */
.card-fp {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.55);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}
.hero-content {
    max-width: 800px;
}
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 15px;
    /* Dims unactive text to light gray */
    color: rgba(29, 29, 31, 0.15); 
}
.acronym-title {
    display: flex;
    justify-content: center;
    align-items: center;
}
.acronym-title span {
    color: var(--text-dark); /* Statik siyah */
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: -0.01em;
    color: var(--text-dark); /* Clear visibility for terminal vibe */
    min-height: 1.5em; /* Layout stability */
}

.tw-cursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background-color: var(--text-dark);
    vertical-align: text-bottom;
    margin-left: 5px;
    animation: blink 0.9s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
p {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 400px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: var(--text-dark);
    color: var(--bg-white);
}
.btn-primary:hover {
    transform: scale(1.02);
    background-color: #000000;
}
.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}
.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

/* Features Grid */
.features-section {
    padding: 100px 50px;
    text-align: center;
    background-color: var(--bg-surface);
}
.features-section h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 80px;
    color: var(--text-dark);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.card {
    position: relative;
    border-radius: 18px;
    background-color: var(--bg-white);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}
.category-badge {
    display: inline-block;
    margin-bottom: 20px;
    background: var(--text-dark);
    color: var(--bg-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 400px;
    letter-spacing: 0.1em;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: none;
    color: var(--text-muted);
}

.card-command-box {
    background: #fbfbfd;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-command-text {
    color: #1d1d1f;
    font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.card-command-cursor {
    width: 1.5px;
    height: 1.1rem;
    background: #1d1d1f;
    animation: blink 0.9s step-end infinite;
}

/* Compatibility Section */
.compatibility-section {
    margin-top: 120px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.platform-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
}

.platform-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.platform-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-dark);
}

/* Pricing Section */
.pricing-section {
    padding: 120px 20px;
    background-color: var(--bg-white);
    text-align: center;
}

.pricing-card {
    max-width: 500px;
    margin: 50px auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pricing-header {
    margin-bottom: 40px;
}

.pricing-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--text-dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 20px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.pricing-features li::before {
    content: "✓";
    color: #27c93f;
    font-weight: 800;
}

.buy-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 18px;
    margin-bottom: 20px;
}

.pricing-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Section Headers (Consistent Style) */
.section-header {
    margin-bottom: 30px; /* Reduced from 60px */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================
   MACOS AI CHAT WINDOW (Glassmorphism)
   ========================================= */
.macos-window {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    background: #000000;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    color: #f5f5f7;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 700px; /* Fixed terminal height matching hero's final state */
}

.macos-header {
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.macos-buttons {
    display: flex;
    gap: 8px;
    margin-left: 20px;
    z-index: 2;
}

.macos-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.macos-btn.close { 
    background-color: #ff5f56; 
    cursor: pointer;
    transition: filter 0.2s;
}

.macos-btn.close:hover {
    filter: brightness(0.8);
}

.macos-btn.minimize { background-color: #ffbd2e; }
.macos-btn.maximize { background-color: #27c93f; }

.macos-title {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    line-height: 48px;
    font-family: inherit;
}

.macos-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    overflow-y: auto;
}

.terminal-cta {
    margin-top: 20px; /* Reduced from 40px */
    margin-bottom: 80px; /* Spacing before next section */
    display: flex;
    justify-content: center;
}

.macos-footer {
    padding: 16px 24px;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

.chat-input-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 400px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
}

.chat-input-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.chat-input-cursor {
    width: 2px;
    height: 1.2rem;
    background: #fff;
    margin-left: 2px;
    animation: blink 0.9s step-end infinite;
}

.chat-submit {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #1d1d1f;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 12px;
    transition: background 0.2s, color 0.2s;
}

.chat-submit.active {
    background: #fff;
    color: #000;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message {
    display: flex;
    width: 100%;
    animation: slideUpFade 0.4s ease forwards;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 85%;
    padding: 14px 20px;
    border-radius: 20px;
    font-size: 1.05rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.chat-message.ai .chat-bubble {
    background: #2d2d2f;
    border-bottom-left-radius: 4px;
    color: #f5f5f7;
}

.chat-message.user .chat-bubble {
    background: #4a5568;
    border-bottom-right-radius: 4px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Typing Indicator Dots */
.chat-typing {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    width: max-content;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typing-dots 1.4s infinite ease-in-out both;
}

.chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-dots {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* FAQ Section */
.faq-window {
    margin: 40px auto;
}

.faq-cmd-link {
    color: #86868b;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    margin: 8px 0;
    width: fit-content;
}

.faq-cmd-link:hover {
    color: #fff;
    text-decoration: underline;
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .faq-window {
        height: 700px;
        margin: 20px;
    }
}

/* Commands Directory */
.commands-section {
    padding: 100px 20px;
    background-color: var(--bg-surface);
}

.commands-container {
    max-width: 1000px;
    margin: 50px auto;
    column-count: 3;
    column-gap: 30px;
}

.command-category {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
}

@media (max-width: 900px) {
    .commands-container {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .commands-container {
        column-count: 1;
    }
}

.command-category h3 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.command-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.command-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.command-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.command-code {
    font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8rem;
    background: #f4f4f7;
    padding: 10px 14px;
    border-radius: 8px;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.command-code:hover {
    background: #e8e8ed;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.command-code::before {
    content: ">";
    opacity: 0.3;
    font-weight: 700;
}

/* Footer */
.footer {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2000;
    display: none; /* Shown via JS */
    animation: slideUpFade 0.5s ease forwards;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: left;
    max-width: 100%;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-buttons button {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .cookie-popup {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    animation: bounce 2s infinite;
}

.scroll-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    transition: all 0.2s;
    background: transparent;
}

.scroll-btn:hover {
    color: var(--text-dark);
    border-color: var(--text-dark);
    background: rgba(0,0,0,0.02);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 900px;
}

.close-video {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.action-window {
    height: 70vh !important;
    min-height: 500px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

/* Final CTA */
.final-cta {
    padding: 100px 20px;
    text-align: center;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}
.cta-content {
    max-width: 600px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}
.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* === Mobile Responsiveness === */
@media (max-width: 768px) {
    /* Hero */
    h1 {
        font-size: 3.5rem;
    }
    .temp-logo {
        width: 100px;
        height: 100px;
    }
    .inline-logo {
        width: 50px;
        height: 50px;
        margin: 0 4px;
    }
    .subtitle {
        font-size: 1.15rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    /* Terminal Windows */
    .macos-window {
        height: auto;
        min-height: 550px;
        border-radius: 12px;
        width: calc(100% - 20px);
    }
    .macos-body {
        padding: 20px 15px;
    }
    .chat-bubble {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
    
    /* Typography & Spacing */
    .section-header h2 {
        font-size: 2.2rem;
    }
    .features-section {
        padding: 60px 20px;
    }
    .pricing-section {
        padding: 80px 20px;
    }
    
    /* Pricing Card */
    .pricing-card {
        padding: 40px 20px;
    }
    .price {
        font-size: 3.2rem;
    }
    
    /* Final CTA */
    .final-cta {
        padding: 80px 20px;
    }
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

/* Legal Page Specific Refinements */
.legal-page-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.legal-transition {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-surface));
    height: 100px;
    width: 100%;
}

.platform-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-dark);
    display: block; /* Ensure visibility */
}

/* Fix for FAQ spacing in footer clones */
.faq-section {
    padding: 120px 20px;
    margin-top: 0;
}

/* FAQ Terminal Header Fix */
.faq-window .macos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.faq-window .macos-title {
    position: static;
    transform: none;
    font-weight: 700;
    opacity: 0.8;
}

.faq-window .macos-buttons {
    flex: 0 0 auto;
}
