/*
Theme Name: NearbyOffers
Theme URI: https://nearbyoffers.in
Author: NearbyOffers Team
Author URI: https://nearbyoffers.in
Description: A modern, SEO-optimized WordPress theme for NearbyOffers - Local Deals Discovery App
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nearbyoffers
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f97316;
    --dark-color: #1e293b;
    --light-bg: #f8fafc;
    --gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-brand .brand-subtitle {
    font-size: 0.65rem;
    font-weight: 400;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-brand i {
    color: var(--secondary-color);
}

/* Custom Logo Styles */
.navbar-brand.custom-logo-link {
    padding: 0;
}

.navbar-brand.custom-logo-link .custom-logo {
    height: 60px;
    width: auto;
    max-width: 280px;
}

.footer-brand.custom-logo-link .custom-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-download {
    background: var(--gradient);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-store.google {
    background: var(--dark-color);
    color: white;
}

.btn-store.apple {
    background: white;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.btn-store i {
    font-size: 1.75rem;
}

.btn-store .store-text {
    text-align: left;
}

.btn-store .store-text small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn-store .store-text span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

/* Hero Phone Frame */
.hero-phone-frame {
    position: relative;
    width: 280px;
    height: 570px;
    background: #1e293b;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.hero-phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #0f172a;
    border-radius: 20px;
    z-index: 10;
}

.hero-phone-frame::after {
    content: '';
    position: absolute;
    top: 27px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1e3a5f;
    border-radius: 50%;
    z-index: 11;
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

.hero-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--light-bg);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--light-bg);
}

.step-card {
    text-align: center;
    padding: 2rem;
}

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

.step-card h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: #64748b;
    line-height: 1.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
}

/* For Shop Owners */
.shop-owners {
    padding: 6rem 0;
    background: var(--dark-color);
    color: white;
}

.shop-owners .section-title {
    color: white;
}

.shop-owners .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.25rem;
    color: white;
}

.benefit-item h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.95rem;
}

.btn-shop-owner {
    background: var(--secondary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-shop-owner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    color: white;
}

/* Screenshots */
.screenshots {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
}

.screenshot-container {
    position: relative;
    padding: 2rem 0;
}

.screenshot-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    max-width: 100%;
}

/* Mobile Frame */
.mobile-frame {
    position: relative;
    width: 220px;
    height: 450px;
    background: #1e293b;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), inset 0 0 0 2px #334155;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.mobile-frame:hover {
    transform: translateY(-10px);
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: #0f172a;
    border-radius: 15px;
    z-index: 10;
}

.mobile-frame::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1e3a5f;
    border-radius: 50%;
    z-index: 11;
}

.mobile-frame-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-frame-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 0;
    box-shadow: none;
}

.screenshot-label {
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Stats */
.stats {
    padding: 4rem 0;
    background: var(--gradient);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--light-bg);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.testimonial-card .stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #64748b;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h6 {
    margin: 0;
    font-weight: 600;
}

.testimonial-author small {
    color: #64748b;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.footer-brand:hover {
    color: white;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand .brand-subtitle {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-brand i {
    color: var(--secondary-color);
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Footer Contact */
.footer-contact li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact li a i {
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact li a span {
    word-break: break-all;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    color: #64748b;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-info-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    font-size: 1.25rem;
    color: white;
}

.contact-item h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background: var(--gradient);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Page Header for Internal Pages */
.page-header {
    background: var(--gradient);
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Legal Content */
.content-section {
    padding: 4rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.legal-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.highlight-box {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin: 0;
}

.warning-box {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.warning-box p {
    margin: 0;
    color: #991b1b;
}

.last-updated {
    background: var(--light-bg);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2rem;
}

.last-updated span {
    font-weight: 600;
    color: var(--dark-color);
}

/* Table of Contents */
.toc {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.toc h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Help Cards */
.help-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.help-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.help-card-icon i {
    font-size: 1.75rem;
    color: white;
}

.help-card h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.help-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.help-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.help-card a:hover {
    text-decoration: underline;
}

/* Responsive */

/* Mobile navbar background when expanded */
@media (max-width: 991px) {
    .navbar .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .navbar .navbar-collapse .nav-link {
        padding: 0.5rem 0;
    }

    .navbar .navbar-collapse .btn-download {
        display: inline-block;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .hero .col-lg-6:first-child {
        text-align: center;
    }

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

    .hero-subtitle {
        text-align: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    /* Scale hero phone frame */
    .hero-phone-frame {
        width: 250px;
        height: 510px;
    }

    /* Scale shop SVG */
    .shop-owners svg {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    /* Reduce section padding */
    .features,
    .how-it-works,
    .shop-owners,
    .screenshots,
    .testimonials,
    .faq-section,
    .contact-section,
    .cta {
        padding: 4rem 0;
    }

    /* Internal pages */
    .page-header {
        padding: 5rem 0 3rem;
    }

    .content-section {
        padding: 3rem 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Hero section */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .hero::before {
        width: 400px;
        height: 400px;
    }

    .hero-phone-frame {
        width: 220px;
        height: 450px;
        border-radius: 36px;
    }

    .hero-phone-screen {
        border-radius: 28px;
    }

    .hero-phone-frame::before {
        width: 60px;
        height: 20px;
        top: 16px;
    }

    .hero-phone-frame::after {
        width: 6px;
        height: 6px;
        top: 22px;
    }

    /* Store buttons */
    .btn-store {
        padding: 0.7rem 1.2rem;
    }

    .btn-store i {
        font-size: 1.5rem;
    }

    .btn-store .store-text span {
        font-size: 0.9rem;
    }

    /* Mobile frames in screenshots */
    .mobile-frame {
        width: 180px;
        height: 370px;
        border-radius: 28px;
        padding: 10px;
    }

    .mobile-frame-screen {
        border-radius: 22px;
    }

    .mobile-frame::before {
        width: 45px;
        height: 5px;
        top: 14px;
    }

    .screenshot-label {
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    /* Section padding */
    .features,
    .how-it-works,
    .shop-owners,
    .screenshots,
    .testimonials,
    .faq-section,
    .contact-section,
    .cta {
        padding: 3rem 0;
    }

    .stats {
        padding: 2rem 0;
    }

    /* Shop owners section */
    .shop-owners svg {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin-top: 2rem;
    }

    .shop-owners .col-lg-6.text-center {
        margin-top: 2rem;
    }

    /* Testimonials single column */
    .testimonials .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* CTA */
    .cta-title {
        font-size: 1.75rem;
    }

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

    /* Contact */
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-title {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-links li {
        display: block;
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    /* Accordion */
    .accordion-button {
        font-size: 0.9rem;
        padding: 1rem 1.25rem;
    }

    .accordion-body {
        padding: 1.25rem;
        font-size: 0.9rem;
    }

    /* Internal pages */
    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .page-header {
        padding: 4.5rem 0 2.5rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .legal-content h2 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .highlight-box,
    .warning-box {
        padding: 1rem;
    }

    .toc {
        padding: 1rem;
    }

    .toc ul {
        columns: 1;
    }

    .toc a {
        font-size: 0.85rem;
    }

    .last-updated {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Help cards */
    .help-card {
        padding: 1.5rem;
    }

    .help-card-icon {
        width: 55px;
        height: 55px;
        border-radius: 12px;
    }

    .help-card-icon i {
        font-size: 1.4rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

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

    .hero-phone-frame {
        width: 200px;
        height: 410px;
        border-radius: 32px;
    }

    .hero-phone-screen {
        border-radius: 24px;
    }

    /* Stack store buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-store {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    /* Feature cards */
    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        border-radius: 12px;
    }

    .feature-icon i {
        font-size: 1.4rem;
    }

    /* Mobile frames smaller */
    .mobile-frame {
        width: 150px;
        height: 310px;
        border-radius: 24px;
        padding: 8px;
    }

    .mobile-frame-screen {
        border-radius: 18px;
    }

    .mobile-frame::before {
        width: 35px;
        height: 4px;
        top: 12px;
    }

    /* Stats */
    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    /* CTA */
    .cta-title {
        font-size: 1.5rem;
    }

    /* Benefit items - keep row layout, just shrink icon */
    .benefit-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .benefit-icon i {
        font-size: 1rem;
    }

    .benefit-item h5 {
        font-size: 0.95rem;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }

    /* Contact items - keep row layout, shrink icon */
    .contact-item-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .contact-item-icon i {
        font-size: 1rem;
    }

    /* Footer - fix text overflow and layout */
    .footer .row > .col-lg-3:first-child {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-links li {
        font-size: 0.8rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Footer social links */
    .social-links {
        justify-content: center;
    }

    /* Step cards */
    .step-card {
        padding: 1.5rem 1rem;
    }

    /* Navbar brand */
    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-brand img {
        height: 32px;
    }

    /* Buttons */
    .btn-shop-owner {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    /* Internal pages */
    .page-header h1 {
        font-size: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .legal-content p,
    .legal-content ul,
    .legal-content ol {
        font-size: 0.9rem;
    }

    .help-card h4 {
        font-size: 1rem;
    }

    .help-card p {
        font-size: 0.9rem;
    }
}
