/*
Theme Name: Samsung A16 Pro
Theme URI: https://sasmsunga16price.co.ke
Description: High-converting, SEO & PPC optimized landing page for the Samsung Galaxy A16.
Version: 1.0
Author: WordPress Builder Agent
Author URI: https://google.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: samsung-a16
*/

:root {
    --primary: #2c3e50;
    --accent: #25D366;
    /* WhatsApp Green */
    --link-blue: #0066ff;
    --bg-white: #ffffff;
    --bg-subtle: #f9f9f9;
    --text-dark: #121212;
    --text-gray: #777777;
    --border: #eeeeee;
    --price-red: #e74c3c;
    --success: #2ecc71;
    --transition: all 0.3s ease;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Sticky PPC Bar */
.sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 1rem 0;
    display: none;
    /* Mobile only */
    transition: transform 0.3s ease;
}

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

.sticky-title {
    font-weight: 800;
    font-size: 0.85rem;
}

.sticky-price {
    color: var(--price-red);
    font-weight: 800;
    font-size: 1rem;
}

.btn-sticky {
    background: var(--accent);
    color: white;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 700;
    width: auto;
}

/* Navbar */
.navbar {
    height: 75px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-weight: 900;
    color: #000;
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-redesign {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

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

.hero-gallery {
    position: sticky;
    top: 120px;
}

.main-image-container {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 15px;
    position: relative;
    background: white;
    margin-bottom: 1rem;
}

.main-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.save-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
}

.thumbnails {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.thumb {
    width: 65px;
    height: 65px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 4px;
    object-fit: contain;
    background: white;
}

.thumb.active {
    border-color: var(--link-blue);
    border-width: 2px;
}

/* Trust Signals Gallery */
.trust-signals-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fdfdfd;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-text strong {
    display: block;
    font-size: 0.85rem;
    color: #111;
}

.trust-text small {
    color: #888;
    font-size: 0.75rem;
}

.hero-product-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #111;
    letter-spacing: -1.5px;
}

.price-stack {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 1.2rem;
}

.current-price {
    color: var(--price-red);
    font-size: 2.3rem;
    font-weight: 900;
}

.stock-status {
    color: #2ecc71;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid #2ecc71;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #f1c40f;
}

.review-count {
    color: var(--link-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
}

.quick-highlights {
    background: #fafafa;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.quick-highlights h3 {
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.highlights-list {
    list-style: none;
    font-size: 0.9rem;
}

.highlights-list li {
    margin-bottom: 0.4rem;
    padding-left: 1.5rem;
    position: relative;
}

.highlights-list li::before {
    content: "✔";
    color: var(--link-blue);
    position: absolute;
    left: 0;
    font-weight: 900;
}

.buy-tools {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.btn-whatsapp-ppc {
    flex: 1;
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-ppc:hover {
    background: #20bf55;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector button {
    border: none;
    width: 35px;
    height: 45px;
    cursor: pointer;
    font-weight: 700;
    background: #f5f5f5;
}

.quantity-selector input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 4G Section & Pros/Cons */
.variant-comparison {
    padding: 80px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.section-intro {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-inline: auto;
    font-size: 1.1rem;
}

.market-fit-content {
    margin-bottom: 4rem;
}

.why-choose {
    margin-bottom: 3rem;
}

.fit-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.market-comparison h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.comparison-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.header-row {
    background: var(--bg-subtle);
    font-weight: 900;
    color: #111;
}

.comparison-summary {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pros-block,
.cons-block {
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.pros-block h3 {
    color: var(--success);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cons-block h3 {
    color: var(--price-red);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.pros-block ul,
.cons-block ul {
    list-style: none;
}

.pros-block li,
.cons-block li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.pros-block li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

.cons-block li::before {
    content: "❌";
    position: absolute;
    left: 0;
}

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

/* Video Section */
.video-review {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
    aspect-ratio: 16/9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    color: #444;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.trust-pill-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-pill {
    background: var(--bg-subtle);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question-btn {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question-btn:hover {
    background: #fafafa;
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s;
}

.faq-answer-content p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #555;
    line-height: 1.7;
}

.faq-item.active {
    border-color: var(--link-blue);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.05);
}

.faq-item.active .faq-answer-content {
    max-height: 300px;
}

.faq-item.active .plus-icon {
    transform: rotate(45deg);
    color: var(--price-red);
}

.plus-icon {
    font-size: 1.4rem;
    color: var(--link-blue);
    transition: var(--transition);
    font-weight: 400;
}

/* Specs Table */
.specs-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
}

.specs-table {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.spec-label {
    font-weight: 700;
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.spec-value {
    font-weight: 800;
    text-align: right;
}

.footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--link-blue);
    font-weight: 700;
}

/* Mobile Optimizations */
@media (max-width: 968px) {
    .container {
        padding: 0 1rem;
    }

    .hero-grid-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-gallery {
        position: static;
    }

    .product-title {
        font-size: 2.2rem;
    }

    .sticky-buy-bar {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .grid-3,
    .pros-cons-grid,
    .trust-signals-gallery {
        grid-template-columns: 1fr;
    }

    .spec-row {
        padding: 1rem;
    }

    .faq-question-btn {
        padding: 1.2rem;
        font-size: 1rem;
    }
}