/* --- CATCHON TV APP - OPTIMIZED STYLES FOR HOSTINGER --- */

/* CSS Variables */
:root {
    --primary-color: #f0b90b;
    --background-color: #0d1117;
    --card-color: #161b22;
    --text-color: #c9d1d9;
    --heading-color: #ffffff;
    --border-color: #30363d;
    --shadow-color: rgba(240, 185, 11, 0.2);
    --hover-glow: 0 0 15px var(--shadow-color), 0 0 25px var(--shadow-color);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.highlight {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d4a90a;
}

/* --- Sticky Top Banner --- */
.top-banner {
    background-color: var(--primary-color);
    color: #000;
    text-align: center;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-banner p {
    margin: 0;
}

.top-banner i {
    margin-right: 8px;
}

/* --- Sticky Header --- */
.header {
    position: sticky;
    top: 41px;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
    display: flex;
    align-items: baseline;
}

.logo-app {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 8px;
    opacity: 0.9;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(13, 17, 23, 0.85), rgba(13, 17, 23, 1)), 
                url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: -85px;
    padding-top: 85px;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-content .subtitle {
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: #000;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), var(--hover-glow);
    color: #000;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature-item {
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-feature-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.scroll-down-mouse {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 48px;
    border: 2px solid var(--text-color);
    border-radius: 14px;
    opacity: 0.7;
}

.mouse-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--text-color);
    border-radius: 2px;
    animation: scroll-anim 1.5s infinite;
}

@keyframes scroll-anim {
    0% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* --- General Section Styling --- */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .tagline {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Trust & Safety Section --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-color);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.trust-card .icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.trust-card h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin: 0;
}

/* --- Payment Methods --- */
.payment-methods {
    text-align: center;
    margin-top: 4rem;
}

.payment-methods span {
    font-weight: 600;
    color: var(--text-color);
    display: block;
    margin-bottom: 1.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 2.5rem;
    color: #aeb8c5;
}

/* --- Compatibility Section --- */
.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.device-card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.device-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-color);
}

.device-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.device-card span {
    font-weight: 600;
    color: var(--heading-color);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--shadow-color);
}

.feature-card .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

/* --- Pricing Section --- */
.pricing-grid-four {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-color);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px var(--shadow-color);
}

.pricing-card.recommended {
    transform: scale(1.02);
    border: 2px solid var(--primary-color);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.pricing-card .cta-button {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* --- Setup Steps --- */
.setup-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.setup-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--border-color);
    z-index: -1;
}

.step-card {
    text-align: center;
    max-width: 300px;
}

.step-card .step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--card-color);
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 auto 1rem auto;
}

.step-card h3 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

/* --- Discover Section --- */
.discover-section-container {
    background: var(--card-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.discover-title {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discover-title i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.discover-title.active i {
    transform: rotate(180deg);
}

.discover-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.discover-content-inner {
    padding: 0 2rem 2rem;
    line-height: 1.7;
    text-align: left;
}

.discover-content-inner h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.testimonial-card .rating {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.customer-details span {
    display: block;
}

.customer-details .name {
    font-weight: 600;
    color: var(--heading-color);
}

/* --- Blog Section --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.blog-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card-content a {
    font-weight: 600;
}

.blog-card-content a i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card-content a:hover i {
    transform: translateX(5px);
}

/* --- Contact Form --- */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-color);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--heading-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.contact-form .cta-button {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--card-color);
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background-color: #000;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.9rem;
}

.footer-secure-payments {
    margin-top: 1rem;
    color: #aeb8c5;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
    
    .setup-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .setup-steps::before {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--background-color);
        width: 100%;
        box-shadow: 0 8px 24px rgba(0,0,0,0.5);
        z-index: 1001;
        padding: 2rem 0 1rem 0;
        gap: 1.5rem;
        align-items: flex-end;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        animation: slideDown 0.3s;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px);}
        to { opacity: 1; transform: translateY(0);}
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .pricing-grid-four,
    .features-grid,
    .testimonials-grid,
    .blog-grid,
    .form-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card,
    .pricing-card.recommended {
        transform: scale(1);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* --- Loading Animation --- */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* --- Performance Optimizations --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Print Styles --- */
@media print {
    .top-banner,
    .header,
    .scroll-down-mouse,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
} 

.go-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #000;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2000;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.go-to-top:hover {
  opacity: 1;
  transform: scale(1.08);
}
@media (max-width: 600px) {
  .go-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
} 