/* Shared style for standalone product landing pages */

:root {
    --bg-secondary: rgba(255, 255, 255, 0.06);
}

.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-std);
    margin: 1.2rem auto 0;
    width: min(90vw, 1300px);
    border: var(--border-glass);
    box-shadow: var(--shadow-glass);
}

.hero-netflix {
    background: linear-gradient(135deg, #e50914 0%, #221f1f 100%);
}

.hero-disney {
    background: linear-gradient(135deg, #113ccf 0%, #1fdbf0 100%);
}

.hero-max {
    background: linear-gradient(135deg, #0043ff 0%, #00d4ff 100%);
}

.hero-iptv {
    background: linear-gradient(135deg, #ff6b35 0%, #004e89 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% -20%, rgba(255, 255, 255, 0.18), transparent 45%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(2.2rem, 1.8rem + 2vw, 4rem) 1.2rem;
}

.hero-title {
    margin: 0;
    font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
    line-height: 1.1;
    color: #fff;
    font-family: var(--font-display);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    text-shadow: none;
}

.hero-subtitle {
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
}

.hero-buttons {
    margin-top: 1.3rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 0.7rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #10b981;
    color: #04110e;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.site-main {
    width: 100%;
    max-width: var(--content-max-width);
    margin-inline: auto;
    padding: 1.5rem 1rem 0;
}

.site-main > section {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-std);
    padding: var(--space-lg);
}

.site-main > section + section {
    margin-top: 1.25rem;
}

.detail-section h2,
.comparison-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1rem + 0.9vw, 1.65rem);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.detail-section > p,
.comparison-section p {
    color: var(--text-secondary);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    padding: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.45);
}

.feature-card i {
    color: var(--accent-primary);
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    margin-bottom: 0.45rem;
    font-size: 1.03rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comparison-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.comparison-section th,
.comparison-section td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-section th {
    text-align: left;
    background: var(--bg-secondary);
    font-family: var(--font-display);
}

.comparison-section td:not(:first-child),
.comparison-section th:not(:first-child) {
    text-align: center;
}

.faq-section {
    margin-top: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 1rem;
}

.faq-item {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-std);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-item summary {
    padding: var(--space-md);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-primary);
    min-width: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::before {
    content: '-';
    color: var(--accent-success);
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-item > div {
    padding: 0 var(--space-md) var(--space-md) calc(var(--space-md) + 2.25rem);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.about-section {
    margin-top: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.5rem;
}

.about-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-std);
    padding: var(--space-lg);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.section-spaced {
    margin-top: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.plan-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.plan-table thead tr {
    background: var(--bg-secondary);
}

.plan-table th,
.plan-table td {
    padding: 0.8rem;
}

.plan-table th {
    padding: 1rem;
}

.cell-left {
    text-align: left;
}

.cell-center {
    text-align: center;
}

.cell-border {
    border-bottom: 1px solid var(--bg-secondary);
}

.cell-accent-primary {
    color: var(--accent-primary);
    font-weight: 700;
}

.cell-accent-success {
    color: var(--accent-success);
    font-weight: 700;
}

.link-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.link-section p {
    margin-bottom: 1rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.link-grid a {
    color: var(--accent-primary);
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.about-card i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.site-main > section ul {
    margin: 0;
}

.site-main > section li a {
    text-decoration: none;
}

@media (max-width: 920px) {
    .site-main > section {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .comparison-section table {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
