/*
Theme Name: Premium IPTV kaufen
Theme URI: https://example.com
Author: Antigravity
Author URI: https://example.com
Description: A high-end, dark-themed WordPress theme for IPTV services, optimized for the German market with 'iptv kaufen' keywords.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: premium-iptv
*/

:root {
    --bg-dark: hsl(240, 10%, 4%);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --accent-light: #c4b5fd;
    --accent-gradient: linear-gradient(135deg, #7c3aed, #2563eb);
    --success: #10b981;
    /* Aliases used by internal pages */
    --secondary: #10b981;
    --primary: #a855f7;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --radius-lg: 24px;
    --radius-xl: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #070707;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Mesh Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 120px 0;
}

h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul { list-style: none; }

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* Premium Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Utility Classes */
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-5 { margin-top: 5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.flex-v-center { 
    display: flex; 
    align-items: center; 
    gap: 8px !important; /* Brought closer together as requested */
}
.flex-between { display: flex; justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.gap-08 { gap: 0.8rem; }
.gap-1 { gap: 1rem; }
.gap-1-5 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }
.br-lg { border-radius: var(--radius-lg); }
.offer-badge-red { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
.btn-hero-offer { padding: 1.4rem 3.5rem; font-size: 1.2rem; }
.text-accent { color: var(--accent); }
.small-text { font-size: 0.85rem; }
.ml-1 { margin-left: 1rem; }
.badge-accent { background: var(--accent); color: white; border: none; }
.text-accent-light { color: var(--accent-light); }
.fs-35 { font-size: 3.5rem; }
.fs-13 { font-size: 1.3rem; }
.card-popular { max-width: 1100px; margin: 0 auto; padding: 60px; }
.list-none { list-style: none; }


.btn-primary {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px var(--accent-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
    margin-top: 40px; /* Offset for announcement bar */
}

#navbar.scrolled {
    background: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
    margin-top: 0;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.logo img {
    display: block;
    max-width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-light);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.hero-text h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--accent), #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -12px;
}

.avatars img:first-child { margin-left: 0; }

.proof-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

/* Flash Offer */
.flash-offer {
    padding: 0;
    margin-bottom: 100px;
}

.offer-container {
    padding: 3rem 4rem;
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 0, 0, 0.4));
}

.offer-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.countdown {
    display: flex;
    gap: 2rem;
}

.time-block {
    text-align: center;
}

.time-block span {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.time-block label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Pricing Section */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.price {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.card ul {
    text-align: left;
    margin-bottom: 3rem;
}

.card li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.card li i {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 8px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.card.popular {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid var(--accent);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.2);
}

.card.popular:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 70px rgba(168, 85, 247, 0.3);
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.save-tag {
    color: var(--success);
    font-weight: 700;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
}

.faq-question {
    padding: 2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2.5rem 2.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: none;
}

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

/* Internal Page Layout */
.internal-page {
    padding-top: 180px;
    min-height: 80vh;
    padding-bottom: 100px;
}
.page-content {
    padding: 5rem;
    border-radius: var(--radius-xl);
    margin-top: 2rem;
}
.page-content h1 {
    margin-bottom: 2.5rem;
    font-size: 4rem;
    background: linear-gradient(to right, #fff, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.page-content p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.form-group label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem;
    color: white;
    font-family: inherit;
    transition: var(--transition-smooth);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

/* Footer */
footer {
    background: #050505;
    padding: 120px 0 60px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 5rem;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 320px;
}

footer h4 {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.payment-card {
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: #333;
}

/* WhatsApp Floating */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-text h1 { font-size: 4rem; }
    .hero-grid { gap: 3rem; }
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-image { order: -1; }
    .pricing-grid { grid-template-columns: 1fr; }
    .card.popular { transform: none; }
    .offer-container { flex-direction: column; gap: 3rem; text-align: center; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-content { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero { padding-top: 140px; }
}
/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #ff4d4d, #f9322c);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1001;
    letter-spacing: 1px;
}

/* App Ticker */
.app-ticker {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    width: max-content;
    align-items: center;
    padding-left: 2rem;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ticker-item i {
    font-size: 1.2rem;
    color: var(--accent);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Notification Toast */
.purchase-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.5s ease-out;
}

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

.toast-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.toast-text p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
}

.toast-text strong {
    font-size: 0.9rem;
    color: white;
}

/* --- Extended Sections Styles --- */

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Device Section */
.device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.device-card {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: background 0.3s ease;
}

.device-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.device-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

/* Split Section (Sports/Cinema) */
.section-padding {
    padding: 100px 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.split-image {
    position: relative;
    z-index: 1;
}

.img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.split-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.split-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px var(--accent-glow);
    font-size: 1.2rem;
}

/* Payment Icons Grid */
.payment-box {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.payment-icons-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.payment-icons-row i {
    font-size: 2rem;
}

/* Responsive Extensions */
@media (max-width: 992px) {
    .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .device-grid { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; gap: 3rem; }
    .split-grid:nth-child(even) .split-image { order: 2; }
    .split-content { text-align: center; }
    .split-content h2 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .features-grid, .steps-grid, .device-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 60px 0; }
}

/* ==============================
   Blog / Home Posts Page
   ============================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.posts-grid .card {
    text-align: left;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-thumbnail {
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.posts-grid .card:hover .post-thumbnail img {
    transform: scale(1.06);
}

.post-body {
    padding: 2rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-meta i {
    color: var(--accent);
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-white);
    transition: color 0.3s;
}

.post-title a:hover {
    color: var(--accent);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
}

.post-read-more {
    align-self: flex-start;
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
}

/* Posts pagination */
.posts-pagination {
    text-align: center;
    margin-top: 3rem;
}

.posts-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.posts-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.posts-pagination .prev,
.posts-pagination .next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 50px;
    gap: 0.5rem;
}

/* Logo icon */
.logo-icon {
    width: 48px;
    height: 34px; /* More rectangular/TV shaped */
    background: var(--accent-gradient);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    font-weight: 950;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: white !important;
}

.logo-text span {
    color: white !important;
}

/* Mobile nav toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-white);
}

@media (max-width: 992px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-toggle { display: block; }
}

@media (max-width: 600px) {
    .posts-grid { grid-template-columns: 1fr; }
}

/* ==============================
   Mobile Nav Overlay
   ============================== */

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2rem;
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 7, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu .close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    background: none;
    border: none;
    transition: color .3s;
}

.nav-mobile-menu .close-btn:hover {
    color: var(--accent);
}

/* Links inside mobile menu (wp_nav_menu generates <ul><li><a>) */
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: 600;
    transition: color .3s;
}

.mobile-nav-links a:hover,
.mobile-nav-links .current-menu-item a {
    color: var(--text-white);
}

/* ==============================
   wp_nav_menu() output styles
   ============================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links > li > a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color .3s;
}

.nav-links > li > a:hover,
.nav-links .current-menu-item > a {
    color: var(--text-white);
}

/* Last nav item is the CTA button */
.nav-links > li:last-child > a {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    padding: .8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px var(--accent-glow);
}

.nav-links > li:last-child > a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ==============================
   Single Post / Entry Content
   ============================== */

.entry-content h2 { color: var(--accent); font-size: 2rem; margin: 2.5rem 0 1rem; }
.entry-content h3 { color: white; font-size: 1.5rem; margin: 2rem 0 .8rem; }
.entry-content p  { margin-bottom: 1.5rem; }
.entry-content a  { color: var(--accent); text-decoration: underline; }
.entry-content a:hover { color: var(--accent-light); }
.entry-content ul,
.entry-content ol  { padding-left: 1.5rem; margin-bottom: 1.5rem; color: var(--text-muted); }
.entry-content li  { margin-bottom: .5rem; }
.entry-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 2rem;
    margin: 2rem 0;
    color: var(--text-muted);
    font-style: italic;
    background: var(--glass-bg);
    border-radius: 0 16px 16px 0;
}
.entry-content img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}
.entry-content code {
    background: rgba(168, 85, 247, .1);
    color: var(--accent-light);
    padding: .2rem .5rem;
    border-radius: 6px;
    font-size: .9em;
}
.entry-content pre {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

/* ==============================
   Comment Styles
   ============================== */

.comment-list { padding: 0; margin: 0; }
.comment-list .children {
    padding-left: 3rem;
    list-style: none;
}
.comment-avatar { border-radius: 50%; }

/* WP pagination inside posts-pagination */
.posts-pagination .nav-links { display: flex; }


/* ==============================
   Testimonials Section
   ============================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    color: #f59e0b;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: white;
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==============================
   Reviews Page
   ============================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-author {
    font-weight: 700;
    color: white;
    font-size: 1.05rem;
}

.review-stars {
    color: #f59e0b;
    font-size: 1rem;
    display: flex;
    gap: 0.2rem;
}

.review-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

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

/* Trustpilot summary bar */
.trust-summary {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 0, 0, 0.3));
    border: 1px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.trust-score {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.trust-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: #f59e0b;
    font-size: 1.8rem;
    margin: 1rem 0;
}

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

@media (max-width: 992px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
}

/* Comparison Table */
.comparison-section {
    padding-top: 50px;
    padding-bottom: 80px;
}
.comparison-table-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(16, 18, 27, 0.4);
    border: 1px solid var(--glass-border);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.comparison-table th, 
.comparison-table td {
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.comparison-table th {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}
.comparison-table td {
    font-size: 1.05rem;
    font-weight: 500;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table .highlight-col {
    background: rgba(168, 85, 247, 0.1);
    color: white;
    font-weight: 700;
}
.comparison-table th.highlight-col {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-light);
    font-size: 1.2rem;
}
.comparison-table .text-success {
    color: var(--success);
    margin-right: 0.5rem;
}
@media (max-width: 768px) {
    .comparison-table th, 
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 500px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}

.w-100 { width: 100%; justify-content: center; }


/* Utilities added for Header */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-v-center { display: flex; align-items: center; }
.gap-05 { gap: 0.5rem; }
.gap-08 { gap: 0.8rem; }

/* Top Bar */
.top-bar {
    position: absolute;
    top: 40px; /* Below announcement-bar */
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    font-size: 0.85rem;
    z-index: 1002;
    height: 40px;
}
.top-bar a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}
.top-bar a:hover {
    color: var(--accent);
}
.top-bar i {
    color: var(--accent);
}
@media (max-width: 768px) { .top-bar .top-right span { display: none; } }

/* Navbar Offset adjustment */
#navbar {
    margin-top: 80px !important; /* ann-bar (40) + top-bar (40) */
}
#navbar.scrolled {
    margin-top: 0 !important;
}

/* Ensure announcement-bar is correctly layered */
.announcement-bar {
    z-index: 1003 !important;
}

/* --- Mobile Menu & Final Audit Fixes --- */
.mobile-toggle { 
    display: none; 
    background: rgba(168, 85, 247, 0.2) !important; 
    border: 1px solid var(--accent) !important; 
    color: white !important; 
    padding: 0.6rem 1rem; 
    border-radius: 12px; 
    font-size: 1.1rem; 
    font-weight: 700;
    cursor: pointer; 
    z-index: 1100 !important; 
    backdrop-filter: blur(10px); 
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .nav-links { display: none !important; }
    .mobile-toggle { display: flex !important; }
}

.nav-mobile-menu { position: fixed; inset: 0; background: rgba(7, 7, 7, 0.98); backdrop-filter: blur(20px); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateX(100%); transition: var(--transition-smooth); }
.nav-mobile-menu.open { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-nav-links a { font-size: 1.5rem; font-weight: 700; color: white; }
.close-btn { position: absolute; top: 40px; right: 40px; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

@media (max-width: 768px) { .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* --- Site-Wide Mobile Responsive & Ultra-Mobile Fixes --- */
@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    .hero-text h1 { font-size: 2rem !important; line-height: 1.1; word-wrap: break-word; }
    .price { font-size: 2.2rem; }
    .hero { padding-top: 130px !important; padding-bottom: 50px !important; }
    .offer-container { flex-direction: column; text-align: center; gap: 1.2rem; padding: 1.5rem 1rem; }
    .countdown { justify-content: center; }
    .nav-content { width: 100%; display: flex !important; justify-content: space-between !important; align-items: center !important; }
    .comparison-table { display: block !important; width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
}

@media (max-width: 485px) {
    .hero-text h1 { font-size: 1.6rem !important; }
    .mobile-toggle span { display: none !important; }
    .mobile-toggle { padding: 0.6rem 0.8rem !important; }
    .hero-btns { flex-direction: column !important; width: 100% !important; align-items: stretch !important; }
    .hero-btns .btn { width: 100% !important; justify-content: center !important; }
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-btns { justify-content: center; }
    .pricing-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    .hero-text h1 { font-size: 2.2rem !important; line-height: 1.2; }
    .price { font-size: 2.5rem; }
    .hero { padding-top: 140px; padding-bottom: 60px; }
    .offer-container { flex-direction: column; text-align: center; gap: 1.5rem; padding: 1.5rem 1rem; }
    .countdown { justify-content: center; }
    .nav-content { width: 100%; }
    .comparison-table { display: block; overflow-x: auto; }
}

/* Floating Glassmorphism Cards */
.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    animation: float-anim 4s ease-in-out infinite;
    pointer-events: none;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(168, 85, 247, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.floating-card .card-info {
    display: flex;
    flex-direction: column;
}

.floating-card .card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 4px;
}

.floating-card .card-value {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    white-space: nowrap;
    line-height: 1.1;
}

/* Positions */
.pos-top-left { top: 10%; left: -8%; }
.pos-top-right { top: 15%; right: -8%; }
.pos-bottom-left { bottom: 15%; left: -10%; }
.pos-bottom-right { bottom: 10%; right: -10%; }

@keyframes float-anim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card:nth-child(even) {
    animation-delay: -2s;
}

@media (max-width: 1024px) {
    .pos-top-left { left: -2%; }
    .pos-top-right { right: -2%; }
    .pos-bottom-left { left: -4%; }
    .pos-bottom-right { right: -4%; }
}


@media (max-width: 992px) {
    .floating-card {
        padding: 0.8rem 1rem;
        border-radius: 14px;
        gap: 0.6rem;
    }
    .floating-card i {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
    .floating-card .card-label { font-size: 0.65rem; }
    .floating-card .card-value { font-size: 0.9rem; }
    
    .pos-top-left { left: -5px; }
    .pos-top-right { right: -5px; }
    .pos-bottom-left { left: -5px; }
    .pos-bottom-right { right: -5px; }
}

@media (max-width: 600px) {
    .floating-card {
        padding: 0.5rem 0.8rem;
        border-radius: 10px;
        gap: 0.4rem;
    }
    .floating-card i {
        font-size: 1rem;
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
    .floating-card .card-label { font-size: 0.55rem; }
    .floating-card .card-value { font-size: 0.75rem; }
    
    /* Move slightly inside the image to prevent breaking mobile width */
    .pos-top-left { left: 5px; top: 10%; }
    .pos-top-right { right: 5px; top: 10%; }
    .pos-bottom-left { left: 5px; bottom: 10%; }
    .pos-bottom-right { right: 5px; bottom: 10%; }
}

/* Product Page Styles */
.product-page-container {
    padding-top: 140px;
}
.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image-wrapper {
    position: relative;
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
}

.product-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 10px 15px;
    border-radius: 50% 10px 50% 10px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}
.product-rating .stars {
    color: #f59e0b;
}

.product-price {
    margin: 2rem 0;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}
.product-price .old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--text-muted);
}
.product-price .current-price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.product-short-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    border: none;
}

.trust-icons {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    justify-content: space-around;
}
.trust-item {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}
.trust-item i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.product-features-list h3 {
    margin-bottom: 1.5rem;
}
.product-features-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.product-features-list li {
    font-size: 1rem;
}
.product-features-list i {
    color: #10b981;
    margin-right: 10px;
}

@media (max-width: 992px) {
    .product-grid { grid-template-columns: 1fr; gap: 3rem; }
    .product-price .current-price { font-size: 2.5rem; }
    .product-features-list ul { grid-template-columns: 1fr; }
}

.product-image-placeholder {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--accent);
    border: 2px dashed rgba(168, 85, 247, 0.3);
}
.product-image-placeholder i {
    font-size: 5rem;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.4));
}
.product-image-placeholder span {
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    padding: 0 1rem;
}

.product-detailed-desc {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.product-detailed-desc h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}
.product-detailed-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}
.section-padding-sm {
    padding: 1.5rem 0;
}

/* Single Post Mobile Fix */
.single-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px;
}

@media (max-width: 768px) {
    .single-container {
        max-width: 100%;
        padding: 15px;
    }
}