/* ==========================================================================
   Otel AI Asistanı — Design System & Custom CSS
   Theme: Sleek Dark Mode with Glassmorphism & Vibrant Gradients
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-main: #070a12;
    --bg-card: rgba(18, 25, 42, 0.65);
    --bg-card-hover: rgba(28, 38, 62, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.3);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --glow-color-1: rgba(56, 189, 248, 0.15);
    --glow-color-2: rgba(99, 102, 241, 0.15);

    /* Status Colors */
    --color-green: #10b981;
    --color-red: #f43f5e;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glows */
.glow-bg {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--glow-color-1);
}
.glow-2 {
    bottom: 10%;
    right: -100px;
    background: var(--glow-color-2);
}

/* Layout Utilities */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* Typography Helper Classes */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-icon {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-fast);
}

.glass-card:hover {
    border-color: var(--border-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(56, 189, 248, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    background: rgba(7, 10, 18, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* Hero Visual Card */
.hero-card {
    padding: 24px;
}

.card-header-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: 0.05em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.time-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chat-preview-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.msg.guest { justify-content: flex-start; }
.msg.ai { flex-direction: row-reverse; }

.msg-avatar, .msg-avatar-ai {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.msg-avatar { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); }
.msg-avatar-ai { background: var(--primary-gradient); color: #fff; }

.msg-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.guest .msg-bubble {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-color);
    border-top-left-radius: 4px;
}

.ai .msg-bubble {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-top-right-radius: 4px;
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.photo-thumb {
    height: 85px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
}

.thumb-1 { background-image: url('assets/room1.jpg'); }
.thumb-2 { background-image: url('assets/room2.jpg'); }

.hero-price-box {
    margin-top: 10px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
}

.hero-price-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #a7f3d0;
}

.hero-price-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: #10b981;
    margin: 4px 0;
}

.hero-price-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Section Headers */
section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    margin-bottom: 56px;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #38bdf8;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Interactive Simulator Section */
.simulator-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: center;
}

.phone-mockup {
    width: 360px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    border: 10px solid #1a2234;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
}

.phone-notch {
    width: 140px;
    height: 22px;
    background: #1a2234;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}

.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0d1322;
    padding-top: 24px;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.phone-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-name { font-size: 0.85rem; font-weight: 700; }
.phone-status { font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.green-dot { width: 6px; height: 6px; background: var(--color-green); border-radius: 50%; }

.phone-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-date { text-align: center; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 8px; }
.msg-time { font-size: 0.65rem; color: var(--text-muted); display: block; margin-top: 4px; text-align: right; }

.phone-controls {
    padding: 14px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-color);
}

.control-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

.sim-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sim-btn {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sim-btn:hover {
    background: rgba(56, 189, 248, 0.2);
}

/* Sim Highlights */
.p-4 { padding: 32px; }
.sim-checklist {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sim-checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.check-icon {
    color: #38bdf8;
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comp-card {
    padding: 36px;
    position: relative;
}

.comp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.comp-badge.bad { background: rgba(244, 63, 94, 0.15); color: var(--color-red); }
.comp-badge.good { background: rgba(16, 185, 129, 0.15); color: var(--color-green); }

.comp-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comp-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
}

.red-x { color: var(--color-red); margin-top: 4px; }
.green-check { color: var(--color-green); margin-top: 4px; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 32px;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* How It Works Timeline */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    opacity: 0.8;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #38bdf8;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Banner */
.cta-card {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid var(--border-glow);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-card p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px auto;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
    background: #05070e;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover { color: #38bdf8; }

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .simulator-wrapper { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.2rem; }
    .comparison-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { display: none; }
}
