/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00E676;
    --primary-dark: #00C853;
    --primary-light: #69F0AE;
    --accent: #00E676;
    --bg-gradient-1: #1A1A3E;
    --bg-gradient-2: #2D1B4E;
    --bg-gradient-3: #4A2040;
    --bg-gradient-4: #6B3040;
    --bg-dark: #1A1A3E;
    --bg-card: rgba(26, 26, 62, 0.6);
    --bg-card-hover: rgba(45, 27, 78, 0.8);
    --bg-input: rgba(26, 26, 62, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --text-muted: #7a7a9a;
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(0, 230, 118, 0.4);
    --success: #00E676;
    --error: #ff4757;
    --warning: #ffa502;
    --gradient: linear-gradient(135deg, var(--primary), #00BFA5);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 35%, var(--bg-gradient-3) 70%, var(--bg-gradient-4) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

html[dir="rtl"] body {
    font-family: 'Tajawal', 'Inter', -apple-system, sans-serif;
    letter-spacing: 0;
}

html[dir="rtl"] .nav-links a {
    font-size: 1rem;
    font-weight: 500;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="ltr"] {
    direction: ltr;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="ltr"] .hero-content {
    text-align: left;
}

html[dir="rtl"] .hero-disclaimer {
    border-left: none;
    border-right: 3px solid var(--primary);
    padding-left: 0;
    padding-right: 15px;
}

html[dir="ltr"] .hero-disclaimer {
    border-right: none;
    border-left: 3px solid var(--primary);
    padding-right: 0;
    padding-left: 15px;
}

html[dir="rtl"] .pricing-features li i {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .activate-info ul li i {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .playlist-info-text i {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .device-info-bar .btn-sm {
    margin-left: 0;
    margin-right: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: #1A1A3E;
    border-color: transparent;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 230, 118, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #1A1A3E;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: #1A1A3E;
    border-color: transparent;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 230, 118, 0.4);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-btn {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--primary);
    color: #1A1A3E;
    border-color: var(--primary);
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
    border-color: var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 62, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.logo-badge {
    background: var(--gradient);
    color: #1A1A3E;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.lang-toggle {
    margin-inline-start: auto;
    display: flex;
    gap: 5px;
}

html[dir="rtl"] .nav-links {
    /* no reverse needed - direction:rtl handles the order naturally */
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}


/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 230, 118, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(107, 48, 64, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    direction: inherit;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-disclaimer {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tv-mockup {
    width: 400px;
    height: 280px;
    background: rgba(26, 26, 62, 0.8);
    border-radius: 16px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 230, 118, 0.1);
}

.tv-mockup::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
}

.tv-screen {
    width: 90%;
    height: 85%;
    background: linear-gradient(135deg, var(--bg-gradient-2), var(--bg-gradient-1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-content {
    text-align: center;
    color: var(--primary-light);
}

.tv-content i {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.tv-content span {
    font-weight: 700;
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: #1A1A3E;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* ===== DEVICES ===== */
.devices {
    padding: 80px 0;
    background: rgba(26, 26, 62, 0.4);
    backdrop-filter: blur(5px);
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.device-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.device-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.device-item i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 12px;
    display: block;
}

.device-item span {
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 230, 118, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #1A1A3E;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    margin: 30px 0;
    text-align: left;
}

html[dir="rtl"] .pricing-features {
    text-align: right;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features li i {
    color: var(--success);
    margin-right: 10px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 10px;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(26, 26, 62, 0.8);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 62, 0.6);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #1A1A3E;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-secondary);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}


/* ===== PAGE HEADER ===== */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 230, 118, 0.05) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    position: relative;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===== CARD ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(10px);
}

/* ===== ALERT ===== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-warning {
    background: rgba(255, 165, 2, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 40px 0 100px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== ACTIVATE PAGE ===== */
.activate-section {
    padding: 40px 0 100px;
}

.activate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.activate-info {
    padding: 30px;
}

.activate-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.activate-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.activate-info ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0;
}

.activate-info ul li i {
    color: var(--success);
    margin-right: 10px;
}


/* ===== PLAYLIST PAGE ===== */
.playlist-section-full {
    padding: 40px 0 100px;
}

.device-info-bar {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.device-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.device-info-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.device-info-value {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1rem;
    font-family: monospace;
}

.btn-copy {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-copy:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    margin-left: auto;
}

.playlist-info-text {
    background: rgba(0, 230, 118, 0.05);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin-bottom: 25px;
}

.playlist-info-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.playlist-info-text i {
    color: var(--primary);
    margin-right: 8px;
}

/* Playlist Grid */
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.playlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.playlist-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 230, 118, 0.1);
}

.playlist-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.playlist-card-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    margin-right: 10px;
}

html[dir="rtl"] .playlist-card-header h4 {
    margin-right: 0;
    margin-left: 10px;
}

.playlist-url {
    color: var(--text-muted);
    font-size: 0.8rem;
    word-break: break-all;
    flex: 1;
    margin-bottom: 12px;
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.playlist-type {
    background: var(--primary);
    color: #1A1A3E;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.playlist-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.playlist-card.add-card {
    border-style: dashed;
    border-color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    min-height: 140px;
}

.playlist-card.add-card:hover {
    border-color: var(--primary);
    background: rgba(0, 230, 118, 0.05);
}

.add-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 26, 62, 0.6);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--text-muted);
}

.playlist-card.add-card:hover .add-icon {
    border-color: var(--primary);
    color: var(--primary);
}

.playlist-card.add-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(26, 26, 62, 0.6);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon.delete:hover {
    border-color: var(--error);
    color: var(--error);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: var(--bg-gradient-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--error);
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: rgba(26, 26, 62, 0.6);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    font-family: inherit;
}

.tab-btn.active {
    background: var(--primary);
    color: #1A1A3E;
}

.tab-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* ===== COPY TOOLTIP ===== */
.copy-tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: #1A1A3E;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: fadeInUp 0.3s ease;
    z-index: 9999;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 40px 0 100px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== LOADING ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .activate-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 62, 0.98);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .lang-toggle {
        margin: 10px 0 0 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .card {
        padding: 25px;
    }
}
