@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- TEMEL AYARLAR --- */
:root {
    --bg-dark: #090d16;
    --bg-card: rgba(18, 26, 44, 0.65);
    --bg-card-hover: rgba(26, 38, 64, 0.85);
    --border-color: rgba(59, 130, 246, 0.15);
    --border-hover: rgba(59, 130, 246, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --glow-blue: rgba(59, 130, 246, 0.25);
    --glow-red: rgba(239, 68, 68, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
}

/* --- KAPSAYICILAR & GRIDLER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER / NAV --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 13, 22, 0.8);
}

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

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

.logo-section img {
    height: 42px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pdf-btn {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px var(--glow-blue);
    border: none;
    cursor: pointer;
}

.pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* --- GÖRSEL AFİŞ ALANI --- */
.banner-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 80px;
    transition: border-color 0.3s;
}

.banner-container:hover {
    border-color: var(--border-hover);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- METRİKLER (ROI) --- */
.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.roi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.roi-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.roi-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.roi-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.roi-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

/* --- EKRANLAR VE DETAYLAR (TABS) --- */
.screens-section {
    padding: 60px 0;
    background: rgba(18, 26, 44, 0.3);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    color: white;
}

.tab-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

.screen-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.screen-preview {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.screen-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.screen-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
    color: white;
}

.screen-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.feature-list li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
}

/* --- VİDEOLAR GRİDİ (KIRMIZI ALARM EFETKLERİ) --- */
.video-section {
    margin-bottom: 80px;
}

.video-filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.25); /* Kırmızı alarm kenarlığı */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.05);
}

.video-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--glow-red);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: black;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.alarm-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    letter-spacing: 0.5px;
}

.video-info {
    padding: 16px;
    border-top: 1px solid rgba(239, 68, 68, 0.15);
}

.video-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-desc {
    color: var(--text-secondary);
    font-size: 13px;
}

/* --- DETAYLI TABLOLAR & FİYATLANDIRMA --- */
.pricing-section {
    margin-bottom: 80px;
}

.pricing-warning-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 5px solid var(--accent-red);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #fca5a5;
    text-align: left;
}

.pricing-warning-box strong {
    color: white;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    transform: scale(1.02);
}

.pricing-card.popular {
    border-color: var(--accent-blue);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.plan-price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: "●";
    color: var(--accent-blue);
    font-size: 10px;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
}

/* --- ANİMASYONLAR --- */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

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

/* --- RESPONSIVE TASARIM --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    .screen-layout {
        grid-template-columns: 1fr;
    }
    .tab-buttons {
        flex-direction: column;
    }
}
