/* css/style.css */

/* --- Değişkenler (Renkler ve Ayarlar) --- */
:root {
    --primary: #2b8cee;
    --primary-dark: #1a6bb5;
    --secondary: #475569;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #F8F9FA;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 15px rgba(43,140,238,0.3);

    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --container-max: 1280px;
}

/* --- Genel Ayarlar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Material Icons Ayarı */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header / Navbar --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- LOGO DÜZENLEMESİ (GÜNCELLENDİ) --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Navbar içindeki logo resmi */
.navbar .logo img {
    height: 40px;      /* Yüksekliği sabitliyoruz */
    width: auto;       /* Genişlik orantılı kalsın */
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-cta {
    display: none; /* Mobilde görünür olacak */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    display: none;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Responsive Navbar */
@media (min-width: 1024px) {
    .nav-btn { display: block; }
    .menu-toggle { display: none; }
    .nav-links { display: flex; position: static; flex-direction: row; background: none; padding: 0; box-shadow: none; }
}

@media (max-width: 1023px) {
    .nav-links {
        display: none; /* JS ile toggle edilecek */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-medium);
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-cta {
        display: block;
        color: var(--primary) !important;
        font-weight: 700;
    }
}

/* --- Buttons --- */
.btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(43, 140, 238, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: white;
    border: 1px solid var(--border);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background-color: var(--bg-light);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-dark {
    background-color: #0f172a;
    color: white;
}

.btn-dark:hover {
    background-color: #1e293b;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover span {
    transform: translateX(4px);
    transition: transform 0.2s;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
    background-color: #ffffff;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero-bg-blur {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.blur-left { top: 0; left: 10%; background: #bfdbfe; }
.blur-right { bottom: 0; right: 10%; background: #c7d2fe; }

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container { grid-template-columns: 1fr 1fr; }
    .hero { padding: 6rem 0 8rem; }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #eff6ff;
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #bfdbfe;
    margin-bottom: 1.5rem;
}

.badge-dot {
    position: relative;
    display: flex;
    width: 8px;
    height: 8px;
}

.badge-dot .ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-dot .dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

@media (min-width: 768px) { .hero h1 { font-size: 3.5rem; } }

.gradient-text {
    background: linear-gradient(to right, var(--primary), #4f46e5);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.hero-features {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feat-item span:first-child {
    color: #16a34a;
    font-size: 1.25rem;
}

/* --- Hero Dashboard Card --- */
.perspective-card {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: transform 0.5s;
}

.perspective-card:hover {
    transform: scale(1.02);
}

.browser-header {
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dots { display: flex; gap: 0.375rem; }
.dots .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #facc15; }
.dot.green { background: #4ade80; }
.address-bar { width: 120px; height: 8px; background: #e5e7eb; border-radius: 99px; }

.dashboard-content { padding: 1.5rem; }

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.score-val { font-size: 1.875rem; font-weight: 700; color: #1f2937; }
.trend-up { font-size: 0.875rem; color: #16a34a; font-weight: 400; margin-left: 0.25rem; }
.status-badge {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: 1px solid #dbeafe;
}

.chart-area {
    height: 128px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.chart-area .bar { flex: 1; border-top-left-radius: 4px; border-top-right-radius: 4px; transition: height 0.7s; }
.bar-1 { height: 40%; background: #dbeafe; } .perspective-card:hover .bar-1 { height: 60%; }
.bar-2 { height: 60%; background: #bfdbfe; } .perspective-card:hover .bar-2 { height: 50%; }
.bar-3 { height: 50%; background: #93c5fd; } .perspective-card:hover .bar-3 { height: 75%; }
.bar-4 { height: 70%; background: #60a5fa; } .perspective-card:hover .bar-4 { height: 60%; }
.bar-5 { height: 85%; background: var(--primary); box-shadow: var(--shadow-glow); } .perspective-card:hover .bar-5 { height: 95%; }
.bar-6 { height: 65%; background: #93c5fd; } .perspective-card:hover .bar-6 { height: 70%; }

.review-card {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: var(--radius);
    padding: 1rem;
}

.review-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.reviewer { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; color: #4b5563; }
.booking-badge { width: 24px; height: 24px; background: #003580; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.review-text { font-size: 0.75rem; color: #6b7280; font-style: italic; margin-bottom: 0.75rem; }
.ai-reply {
    background: white;
    border-left: 2px solid var(--primary);
    padding: 0.5rem;
    border-radius: 0.25rem;
    box-shadow: var(--shadow-soft);
}
.ai-header { display: flex; align-items: center; gap: 4px; color: var(--primary); font-size: 10px; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.ai-header span:first-child { font-size: 14px; }
.ai-reply p { font-size: 0.75rem; color: #374151; line-height: 1.3; }

.hero-image {
    position: relative;
}

.floating-stat {
    position: absolute;
    bottom: -3rem;
    left: -1rem;
    right: auto;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: bounce 3s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.icon-circle { width: 40px; height: 40px; background: #dcfce7; color: #16a34a; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.stat-label { font-size: 0.75rem; color: #6b7280; }
.stat-val { font-size: 0.875rem; font-weight: 700; color: #1f2937; }

/* --- Social Proof --- */
.social-proof {
    padding: 3rem 0;
    background-color: #f9fafb;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.proof-title { 
    font-size: 0.875rem; 
    color: #6b7280; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    margin-bottom: 2.5rem; 
}

.logos { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center;
    gap: 3rem;
    opacity: 0.7; 
    filter: grayscale(100%); 
    transition: all 0.5s ease; 
}

.logos:hover { 
    filter: grayscale(0%); 
    opacity: 1; 
}

.logo-item { 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

/* Logoların boyut kontrolü */
.logo-item img {
    height: 45px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.font-serif { font-family: serif; font-weight: 700; }
.font-sans-bold { font-family: sans-serif; font-weight: 900; letter-spacing: -1px; }
.font-mono { font-family: monospace; font-weight: 700; }
.font-italic { font-family: serif; font-style: italic; }

/* --- Features --- */
.features { padding: 5rem 0; background-color: var(--bg-light); }
.section-header { margin-bottom: 4rem; max-width: 768px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.sub-title { color: var(--primary); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.main-title { font-size: 2rem; font-weight: 700; color: var(--text-main); margin-bottom: 1.5rem; }
@media(min-width:1024px) { .main-title { font-size: 2.25rem; } }
.desc { font-size: 1.125rem; color: var(--secondary); line-height: 1.6; }

.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}
.feature-card:hover { box-shadow: var(--shadow-medium); }

.card-icon {
    width: 56px; height: 56px; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: transform 0.3s;
}
.feature-card:hover .card-icon { transform: scale(1.1); }
.card-icon.blue { background: #eff6ff; color: #2563eb; }
.card-icon.purple { background: #faf5ff; color: #9333ea; }
.card-icon.teal { background: #f0fdfa; color: #0d9488; }

.feature-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: var(--secondary); line-height: 1.6; }

/* --- Competitors --- */
.competitors { padding: 5rem 0; background: white; border-top: 1px solid var(--border); }
.grid-2-split { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .grid-2-split { grid-template-columns: 1fr 1fr; } .order-1 { order: 1; } .order-2 { order: 2; } }

.comp-card { background: white; border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 2rem; box-shadow: var(--shadow-xl); }
.comp-header { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.legends { display: flex; gap: 1rem; font-size: 0.75rem; font-weight: 500; }
.legend { display: flex; align-items: center; gap: 0.5rem; }
.dot-primary { width: 12px; height: 12px; background: var(--primary); border-radius: 50%; }
.dot-gray { width: 12px; height: 12px; background: #d1d5db; border-radius: 50%; }

.progress-bars { display: flex; flex-direction: column; gap: 1.5rem; }
.p-info { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.p-track { height: 16px; background: #f3f4f6; border-radius: 99px; position: relative; overflow: hidden; }
.p-fill { height: 100%; position: absolute; top: 0; left: 0; border-radius: 99px; }
.p-fill.primary { background: var(--primary); z-index: 2; box-shadow: 2px 0 5px rgba(0,0,0,0.1); }
.p-fill.secondary { background: #d1d5db; z-index: 1; opacity: 0.5; }

.mini-stats { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #f3f4f6; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-stat { background: #f9fafb; padding: 1rem; border-radius: 0.5rem; border: 1px solid #f3f4f6; }
.mini-stat .label { font-size: 0.75rem; color: #6b7280; font-weight: 600; margin-bottom: 4px; }
.mini-stat .value { font-size: 1.25rem; font-weight: 700; color: #111827; display: flex; align-items: center; gap: 0.5rem; }
.badge-up { background: #dcfce7; color: #16a34a; border-radius: 50%; padding: 2px; font-size: 14px; }

.pill-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: #eff6ff; color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 99px; border: 1px solid #dbeafe; margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: var(--secondary); }
.check-icon { width: 24px; height: 24px; background: #dcfce7; color: #16a34a; border-radius: 50%; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* --- How It Works --- */
.how-it-works { padding: 5rem 0; background: var(--bg-light); position: relative; overflow: hidden; }
.bg-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: rgba(219, 234, 254, 0.4); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.relative { position: relative; z-index: 1; }

.steps-grid { display: grid; gap: 3rem; position: relative; margin-top: 3rem; }
@media(min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-line { display: none; }
@media(min-width: 768px) { 
    .step-line { display: block; position: absolute; top: 3rem; left: 0; width: 100%; height: 2px; background: #e5e7eb; z-index: -1; } 
}

.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-icon { width: 96px; height: 96px; background: white; border: 1px solid #e5e7eb; border-radius: 1rem; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 2rem; box-shadow: var(--shadow-medium); }
.step-icon .material-symbols-outlined { font-size: 2.5rem; color: #9ca3af; }
.step-number { position: absolute; top: -12px; right: -12px; width: 32px; height: 32px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 4px solid var(--bg-light); }
.step-item h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-item p { font-size: 0.875rem; color: var(--secondary); max-width: 250px; }

/* --- CTA Section --- */
.cta-section { padding: 5rem 0; background: white; }
.cta-card {
    background: linear-gradient(to right, var(--primary), #1d4ed8);
    border-radius: 1rem;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 1100px;
    margin: 0 auto;
}
.cta-bg-pattern {
    position: absolute; inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1; mix-blend-mode: overlay;
}
.cta-content { position: relative; z-index: 2; color: white; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-content h2 { font-size: 2rem; font-weight: 900; }
@media (min-width: 768px) { .cta-content h2 { font-size: 3rem; } }
.cta-content p { color: #dbeafe; font-size: 1.125rem; max-width: 600px; }
.cta-form { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 480px; margin-top: 1rem; }
@media (min-width: 640px) { .cta-form { flex-direction: row; } }
.cta-form input { flex: 1; padding: 0.75rem 1rem; border-radius: 0.5rem; border: none; outline: none; }
.cta-form input:focus { ring: 2px solid #93c5fd; }

/* --- Footer --- */
.footer { background: #f9fafb; border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 3rem; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }

.footer h4 { font-weight: 700; margin-bottom: 1.5rem; color: var(--text-main); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; }
.footer li a { text-decoration: none; color: var(--secondary); font-size: 0.875rem; transition: color 0.2s; }
.footer li a:hover { color: var(--primary); }
.footer li { display: flex; align-items: center; gap: 0.5rem; color: var(--secondary); font-size: 0.875rem; }

.brand-name { font-size: 1.25rem; font-weight: 700; margin-left: 0.5rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a { color: #9ca3af; transition: color 0.2s; }
.social-links a:hover { color: var(--primary); }

.footer .logo img {
    height: 32px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}

.footer-bottom { border-top: 1px solid #e5e7eb; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.75rem; color: var(--secondary); }
@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .floating-stat {
        left: 0.5rem;
    }

    .logos {
        gap: 2rem;
    }
    .logo-item img {
        height: 45px;
    }
}
.legal-links { display: flex; gap: 1.5rem; }
.legal-links a { text-decoration: none; color: inherit; }
.legal-links a:hover { color: var(--primary); }

/* ==================== MODAL STYLES ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    background: white;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s;
    color: #6b7280;
}

.modal-close:hover {
    background: #f3f4f6;
    color: var(--secondary);
}

.modal-close .material-symbols-outlined {
    font-size: 24px;
}

.modal-body {
    padding: 2rem;
}

/* ==================== FORM STYLES ==================== */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.875rem;
}

.form-group label .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-block {
    width: 100%;
}

.btn-text {
    color: white;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== SUCCESS MESSAGE ==================== */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-icon .material-symbols-outlined {
    font-size: 48px;
    color: white;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 0.75rem;
}

.success-message p {
    color: #6b7280;
    margin: 0 0 2rem;
    line-height: 1.6;
}

/* ==================== API INFO MODAL ==================== */
.api-info-content {
    text-align: center;
    padding: 1rem 0;
}

.api-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #1a6bb5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.4s ease;
}

.api-icon .material-symbols-outlined {
    font-size: 48px;
    color: white;
}

.api-info-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 0.75rem;
}

.api-info-content p {
    color: #6b7280;
    margin: 0 0 2rem;
    line-height: 1.6;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 400px;
    pointer-events: all;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease forwards;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: #d1fae5;
    color: #10b981;
}

.toast.error .toast-icon {
    background: #fee2e2;
    color: #ef4444;
}

.toast-icon .material-symbols-outlined {
    font-size: 24px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
}

.toast-message {
    color: #6b7280;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.toast-close .material-symbols-outlined {
    font-size: 18px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.25rem;
    }
    
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}