/*
Theme Name: IPTV Smart Player
Theme URI: https://iptvsmartplayer.app/
Author: Antigravity AI
Description: Epic Light Theme for IPTV Smart Player. Built for WooCommerce and Rank Math compatibility. 100% French SEO optimized.
Version: 1.0.0
Text Domain: iptv-smart-player
*/

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #10B981;
    --bg-color: #F9FAFB;
    --surface-color: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --border-color: #E5E7EB;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

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

/* Header — Blue */
.site-header {
    background: linear-gradient(135deg, #420070 0%, #0025c7 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

/* Site logo — must override global 'a' color */
a.site-logo,
a.site-logo:hover {
    color: white;
    text-decoration: none;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgb(255, 255, 255);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Nav items — flex row */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: white;
}

/* Hamburger on blue header */
.nav-toggle span {
    background: white;
}

/* Mobile menu — blue to match header */
.mobile-menu {
    display: none;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.mobile-menu a:hover {
    color: white;
}

.mobile-link {
    color: rgba(255, 255, 255, 0.85);
}

.mobile-link:hover {
    color: white;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* Utilities & Missing classes */
.site-main {
    display: block;
}

/* Logo */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* btn-white (header CTA on dark hero) */
.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--bg-color);
    color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* mobile-link — alias for mobile nav anchors */
.mobile-link {
    color: var(--text-primary);
    font-weight: 500;
}

.mobile-link:hover {
    color: var(--primary);
}

/* stat block */
.stat {
    text-align: center;
}

/* split-text--white — text inside the blue split section */
.split-text--white {
    color: white;
}

.split-text--white h2 {
    color: white;
}

.split-text--white p {
    color: rgba(255, 255, 255, 0.8);
}

.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    display: block;
}

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
    color: white;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #818CF8, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Platform Badges */
.platform-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badge {
    height: 46px;
    border-radius: var(--radius-md);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.9;
}

.store-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.7;
}

.split-text--white h2,
.split-text--white p {
    color: white;
}

/* Features grid */
.features-section {
    padding: 80px 0;
    background: var(--surface-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-color);
}

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

.faq-item {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.is-open {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 25px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.is-open .faq-question {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-item.is-open .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* img-placeholder-box--sm */
.img-placeholder-box--sm {
    aspect-ratio: 3/4;
}

/* Base Page Styling */
.page-header {
    background: linear-gradient(135deg, #1E1B4B 0%, var(--primary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1,
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.page-content {
    background: var(--bg-color);
    padding: 60px 0;
    min-height: 50vh;
}

.page-content h2,
.page-content h3 {
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 20px;
}

/* Contact form wrapper */
.contact-form-wrapper {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form-wrapper label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--surface-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.contact-form-wrapper textarea {
    resize: vertical;
    min-height: 140px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #3f0173 0%, #0324c4 100%);
    color: #CBD5E1;
    padding: 60px 0 20px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    list-style: none;
}

.footer-nav a {
    color: #F9FAFB;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

/* Split Sections */
.split-section {
    padding: 100px 0;
}

.split-section--light {
    background: var(--surface-color);
}

.split-section--blue {
    background: var(--primary);
    color: white;
}

.split-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-inner--reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
    position: relative;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.split-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.split-text--white h2,
.split-text--white p {
    color: white;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-label--white {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Image Placeholders */
.img-placeholder-box {
    background: var(--bg-color);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-placeholder-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-placeholder-fallback {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
}

.img-placeholder-fallback--white {
    color: rgba(255, 255, 255, 0.7);
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list svg {
    color: var(--secondary);
}

.split-section--blue .check-list svg {
    color: var(--secondary);
}

.device-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.pricing-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pricing-card--featured {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.3);
    border: none;
    z-index: 2;
}

.pricing-card--featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card--featured .pricing-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.pricing-card--featured .pricing-sub {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.pricing-features svg {
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-card--featured .pricing-features svg {
    color: #A5B4FC;
}

.btn-block {
    display: block;
    width: 100%;
}

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

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

.btn-outline-blue {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--surface-color);
}

.testimonials-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.testimonial-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #FBBF24;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.testimonial-author small {
    color: var(--text-secondary);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #3730A3 0%, var(--primary) 100%);
    color: white;
    overflow: hidden;
}

.download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.download-text {
    flex: 1;
}

.download-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.download-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.platform-badges--left {
    justify-content: flex-start;
    margin-top: 0;
}

.download-image {
    flex: 1;
}

/* ── Header mobile helpers ─────────────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 20px;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.header-action {
    display: flex;
}

/* ── Footer extras ─────────────────────────────────────────────────── */
.footer-top {
    padding: 60px 0 40px;
}

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

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 36px;
}

.footer-desc {
    color: #9CA3AF;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-col {}

.footer-heading {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #9CA3AF;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-inner p {
    font-size: 0.875rem;
    color: #6B7280;
}

/* ── Responsive breakpoints ─────────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Hero */
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .platform-badges {
        justify-content: center;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 50px;
    }

    .pricing-card--featured {
        transform: scale(1);
    }

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

    /* Split + Download */
    .split-inner,
    .download-inner {
        flex-direction: column;
        text-align: center;
    }

    .split-inner--reverse {
        flex-direction: column;
    }

    .device-grid {
        text-align: left;
    }

    .platform-badges--left {
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    /* Header */
    .main-navigation {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .header-action {
        display: none;
    }

    /* ── Hero ──────────────────────────────────────────────── */
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-lg);
    }

    .hero-image-placeholder {
        width: 100%;
        aspect-ratio: 4/3;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.5px;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .platform-badges {
        justify-content: center;
    }

    /* ── Split sections ────────────────────────────────────── */
    .split-section {
        padding: 50px 0;
    }

    .split-inner {
        flex-direction: column !important;
        gap: 36px;
    }

    /* Always show image BELOW text on mobile */
    .split-image {
        order: 2;
        width: 100%;
    }

    .split-text {
        order: 1;
        width: 100%;
    }

    .split-text h2 {
        font-size: 1.75rem;
    }

    .img-placeholder-box {
        width: 100%;
        min-height: 220px;
        aspect-ratio: 4/3;
    }

    .img-placeholder-box img,
    .split-img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: var(--radius-lg);
        display: block;
    }

    /* ── Download section ──────────────────────────────────── */
    .download-inner {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .download-text {
        order: 1;
    }

    .download-image {
        order: 2;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .download-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: var(--radius-lg);
    }

    .img-placeholder-box--sm {
        width: 100%;
        aspect-ratio: 3/4;
        max-width: 340px;
        margin: 0 auto;
    }

    .download-text h2 {
        font-size: 1.9rem;
    }

    /* ── Device grid ───────────────────────────────────────── */
    .device-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 30px auto 0;
    }

    /* ── Footer ────────────────────────────────────────────── */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

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

    /* ── Section headers ───────────────────────────────────── */
    .section-title {
        font-size: 1.9rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* ── Extra small (phones < 480px) ─────────────────────────── */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 13px 22px;
        font-size: .95rem;
    }

    .split-text h2 {
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .download-text h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 16px;
    }
}