/* StreamX IPTV Website Styles */

:root {
    --primary: #6a5af9;
    --primary-dark: #5346e0;
    --primary-light: #bab3ff;
    --secondary: #0f1225;
    --secondary-light: #1e2146;
    --text: #f8f9fa;
    --text-muted: #a9b1c0;
    --background: #ffffff;
    --background-alt: #f8f9fc;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 5px;
    font-size: 18px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

nav ul {
    display: flex;
    gap: 32px;
}

nav ul li a {
    font-weight: 500;
    color: #333;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.download-btn {
    background-color: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.download-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 90, 249, 0.2);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(var(--primary-light), transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(var(--primary-light), transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.primary-btn {
    background-color: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 90, 249, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.secondary-btn:hover {
    background-color: rgba(106, 90, 249, 0.05);
    transform: translateY(-2px);
}

/* Key Metrics Section */
.key-metrics {
    background-color: white;
    padding: 60px 0;
}

.key-metrics .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.metric h2 {
    font-size: 42px;
    margin-bottom: 8px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metric p {
    font-size: 17px;
    color: #666;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    color: var(--primary);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background-color: var(--background-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-icon.purple {
    background-color: var(--primary);
}

.feature-icon.blue {
    background-color: #4a7bfe;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.feature-content p {
    font-size: 15px;
    color: #666;
}

/* Screenshots Section */
.screenshots {
    background-color: white;
}

.app-demo {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.app-screen {
    background-color: var(--secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.screen-header {
    margin-bottom: 20px;
}

.screen-header h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.screen-item {
    height: 200px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.screen-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.screen-item i {
    font-size: 36px;
    margin-bottom: 12px;
}

.screen-item p {
    font-size: 16px;
    font-weight: 500;
}

.screen-item.purple {
    background-color: var(--primary);
}

.screen-item.purple-dark {
    background-color: #7c5df9;
}

.screen-item.blue {
    background-color: #4a7bfe;
}

.screen-item.green {
    background-color: #2ecc71;
}

.screenshot-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.prev {
    margin-left: -20px;
}

.next {
    margin-right: -20px;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--background-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.step p {
    font-size: 15px;
    color: #666;
}

/* Download Section */
.download {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.download h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.download p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.download-apk {
    background-color: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.download-apk:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.watch-demo {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.watch-demo:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.download-info {
    font-size: 14px;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f1f3fa;
}

.faq-question h3 {
    font-size: 17px;
    color: #1a1a1a;
    font-weight: 600;
}

.faq-question i {
    font-size: 14px;
    color: #666;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo h2 {
    color: white;
    font-size: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 968px) {
    nav {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .key-metrics .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
    }

    .download-options {
        flex-direction: column;
    }

    .key-metrics .container {
        grid-template-columns: 1fr;
    }

    .metric h2 {
        font-size: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}