:root {
    /* Colors */
    --color-bg-main: #0F0B1A;
    --color-bg-card: rgba(26, 17, 48, 0.6);
    --color-primary: hsl(270, 70%, 45%);
    --color-primary-dark: hsl(270, 70%, 30%);
    --color-accent: #F97316;
    --color-accent-hover: #EA580C;
    --color-text-main: #FFFFFF;
    --color-text-muted: #9CA3AF;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-focus: rgba(168, 85, 247, 0.5);
    --color-success: #10B981;
    --color-error: #EF4444;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1a0533 0%, #0f172a 50%, #1e1145 100%);
    --gradient-primary: linear-gradient(90deg, var(--color-primary) 0%, hsl(290, 70%, 45%) 100%);
    --gradient-accent: linear-gradient(90deg, #F97316 0%, #F59E0B 100%);
    
    /* Effects */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 15px rgba(249, 115, 22, 0.4);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --border-radius-lg: 24px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 11, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

/* Tenant branding — kurum logosu eklendiğinde */
.navbar-logo-small {
    height: 24px;
    opacity: 0.8;
}

.tenant-logo {
    height: 40px;
    border-radius: 6px;
}

.brand-separator {
    color: var(--color-text-muted);
    font-size: 18px;
    font-weight: 300;
    opacity: 0.5;
}

.tenant-badge {
    display: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-main);
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
}

.btn-full {
    width: 100%;
}

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

/* ============================
   HERO SECTION
   ============================ */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(0,0,0,0) 50%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(to right, #fff, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #F97316;
}

/* ============================
   PROMO BANNER (beIN Sports)
   ============================ */
.promo-banner {
    background: #0F0B1A;
}

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

/* ============================
   LEAGUES STRIP
   ============================ */
.leagues-strip {
    background: #0F0B1A;
}

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

/* ============================
   SECTION HEADER
   ============================ */
.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.gift-inline {
    color: #F97316;
    font-weight: 600;
}

/* ============================
   TV PACKAGES CARDS
   ============================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.package-card {
    padding: 32px;
    position: relative;
    transition: var(--transition-smooth);
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
}

.package-card.featured {
    border-color: var(--color-primary);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    font-weight: 500;
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 4px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.currency {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.package-term {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    font-size: 15px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.icon-check {
    color: var(--color-success);
    margin-right: 8px;
    font-weight: bold;
}
.icon-check::before { content: '✓'; }

/* ============================
   CONTENT SHOWCASE
   ============================ */
.content-showcase {
    background: linear-gradient(180deg, var(--color-bg-main) 0%, rgba(26, 5, 51, 0.5) 50%, var(--color-bg-main) 100%);
}

.showcase-image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.showcase-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(168, 85, 247, 0.2);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================
   TABS & TABLES
   ============================ */
.tabs-container {
    overflow: hidden;
}

.tabs-header {
    display: flex;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-main);
}

.tab-btn.active {
    color: var(--color-text-main);
}

.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 3px;
    width: 50%;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
    border-radius: 3px 3px 0 0;
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    padding: 24px 0;
    animation: fadeIn 0.3s ease;
}

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

.table-responsive {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.price-table th, .price-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.price-table th {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 14px;
}

.price-table tbody tr {
    transition: var(--transition-fast);
}

.price-table tbody tr:hover {
    background: rgba(168, 85, 247, 0.08);
}

.gift-badge {
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, 0.3);
    white-space: nowrap;
}

.table-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-accent);
}

.package-name-title {
    color: #d8b4fe;
    font-size: 1.5rem;
}

/* ============================
   FOOTBALL BANNER
   ============================ */
.football-banner {
    background: #0F0B1A;
}

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

/* ============================
   FORM
   ============================ */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.required {
    color: var(--color-error);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-border-focus);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 12px;
    color: var(--color-text-muted);
}

.error-msg {
    display: none;
    color: var(--color-error);
    font-size: 13px;
    margin-top: 4px;
}

.form-group.has-error .form-control {
    border-color: var(--color-error);
}

.form-group.has-error .error-msg {
    display: block;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
}

.alert.hidden {
    display: none;
}

.alert.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.btn-submit {
    position: relative;
    min-height: 52px;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

.spinner.hidden {
    display: none;
}

.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-submit.loading .spinner {
    display: inline-block;
}

.privacy-note {
    color: var(--color-text-muted);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.85;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.pulse {
    animation: pulse 2s infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   SUCCESS PAGE
   ============================ */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--gradient-hero);
}

.success-card {
    text-align: center;
    padding: 48px 32px;
    max-width: 500px;
    width: 100%;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--color-success);
    margin: 0 auto 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark {
    width: 30px;
    height: 15px;
    border-bottom: 3px solid var(--color-success);
    border-left: 3px solid var(--color-success);
    transform: rotate(-45deg) translateY(-2px);
    opacity: 0;
    animation: checkmark 0.5s ease-out 0.3s forwards;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        width: 0;
        height: 0;
    }
    100% {
        opacity: 1;
        width: 30px;
        height: 15px;
    }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .price-table th, .price-table td {
        padding: 20px 32px;
    }


}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .section {
        padding: 100px 0;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 90vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .price-table {
        min-width: 400px;
    }

    .price-table th, .price-table td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .form-container {
        padding: 24px 20px;
    }

    .navbar-logo {
        height: 40px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ============================
   7. KVKK Checkbox & Modal
   ============================ */

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
    position: relative;
}

.checkbox-label input {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkmark {
    min-width: 18px;
    height: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    position: relative;
    transition: all var(--transition-speed);
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label:hover .checkmark {
    border-color: var(--color-primary);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Form Invalid State for Checkbox */
.form-group.invalid .checkmark {
    border-color: var(--color-error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 11, 26, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity var(--transition-speed);
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--color-bg-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(0);
    transition: transform var(--transition-speed);
}

.modal.hidden .modal-content {
    transform: translateY(20px);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--color-text-main);
}

.modal-body strong {
    color: var(--color-text-main);
}

.success-modal-content {
    align-items: center;
    padding: 40px 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-tenant-logo {
    display: block;
    margin: 0 auto 20px auto;
    height: 200px;
    width: auto;
    border-radius: 12px;
}

.promo-banner {
    margin-bottom: 12px;
}

.modal-body {
    overflow-y: auto;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    padding-right: 10px;
}

.modal-body p {
    margin-bottom: 12px;
}

.modal-body strong {
    color: var(--color-text-main);
}
