/* ===========================
   Global Styles & Variables
   =========================== */

:root {
    /* Primary Colors */
    --primary: #1B8ED3;
    --primary-light: #3BA0E0;
    --primary-dark: #1575B5;

    /* Secondary Colors */
    --secondary: #EC4899;
    --secondary-light: #F472B6;
    --secondary-dark: #DB2777;

    /* Accent Colors */
    --accent: #FCD34D;
    --accent-light: #FDE68A;
    --accent-dark: #F59E0B;

    /* Background Colors */
    --bg-light: #FEF3F9;
    --bg-gradient-1: linear-gradient(135deg, #FEF3F9 0%, #F0E6FF 100%);
    --bg-gradient-2: linear-gradient(135deg, #FFE4E6 0%, #FECACA 100%);
    --bg-gradient-3: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);

    /* Text Colors */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(27, 142, 211, 0.15);
    --shadow-lg: 0 8px 24px rgba(27, 142, 211, 0.2);
    --shadow-xl: 0 16px 48px rgba(27, 142, 211, 0.25);
}

/* ===========================
   Base Styles
   =========================== */

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bubblegum Sans', cursive;
    font-weight: 400;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(27, 142, 211, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--space-sm) 0;
    box-shadow: 0 2px 8px rgba(27, 142, 211, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.75rem;
    color: var(--primary);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
    background: var(--accent);
}

.nav-cta {
    background: white;
    color: var(--primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    transition: all 0.3s;
    font-weight: 700;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 211, 77, 0.4);
}

.nav-cta::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    padding-top: calc(80px + var(--space-xl));
    padding-bottom: var(--space-xl);
    background: url('../images/Hero-banner.png') center center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    line-height: 1.1;
}

.paw-emoji {
    font-size: 0.7em;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
    font-weight: 500;
    /* TikTok caption style with background */
    background: rgba(255, 255, 255, 0.6);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    justify-content: center;
    align-items: center;  /* Vertically center all buttons */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

.store-badge {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Specific sizing for Google Play badge to match Apple badge */
.google-badge-link .store-badge {
    height: 75px !important;  /* Match Apple badge size in hero */
    width: auto !important;
    vertical-align: middle !important;
}

.google-badge-link .store-badge-large {
    height: 90px !important;  /* Match Apple badge size in CTA */
    width: auto !important;
    vertical-align: middle !important;
}

/* Ensure both badges align properly */
.store-link img {
    vertical-align: middle;
}

.store-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
    vertical-align: middle;
}

.store-link:hover {
    transform: translateY(-3px);
}


.store-badge-large {
    height: 60px;
    width: auto;
    object-fit: contain;
}


.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Hero video styles removed - using banner image instead */

.floating-paw {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.paw-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.paw-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1s;
}

.paw-3 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

/* ===========================
   How It Works Section
   =========================== */

.how-it-works {
    padding: var(--space-lg) 0 var(--space-2xl);
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.step-video {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
    aspect-ratio: 9/16;  /* Portrait format */
    max-width: 280px;
    margin: var(--space-md) auto 0;
}

.step-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(27, 142, 211, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===========================
   Features Section
   =========================== */

.features {
    padding: var(--space-2xl) 0;
    background: var(--bg-gradient-3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===========================
   Video Showcase Section
   =========================== */

.video-showcase {
    padding: var(--space-2xl) 0;
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.video-item {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 9/16;  /* Portrait format */
    overflow: hidden;
    background: var(--bg-gradient-2);
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(236, 72, 153, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.video-play-btn:hover {
    background: var(--secondary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item h4 {
    padding: var(--space-sm) var(--space-sm) var(--space-xs);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.video-item p {
    padding: 0 var(--space-sm) var(--space-sm);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===========================
   Pricing Section
   =========================== */

.pricing {
    padding: var(--space-2xl) 0;
    background: var(--bg-gradient-1);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.pricing-single {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-single .pricing-card {
    width: 100%;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text-dark);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--bg-light);
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: var(--space-sm) 0;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-light);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0.25rem;
}

.price-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-lg);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--space-sm) 0;
}

.pricing-card .btn,
.pricing-card .store-link {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    max-width: 350px;
}

.pricing-features li {
    padding: 15px 0 !important;
    margin-bottom: 10px !important;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-align: left;
    justify-content: flex-start;
    line-height: 1.6;
    min-height: 35px;
}

.pricing-features li:first-child {
    padding-top: 0 !important;
}

.pricing-features li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.pricing-features li strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===========================
   Testimonials Section
   =========================== */

.testimonials {
    padding: var(--space-2xl) 0;
    background: white;
    position: relative;
    overflow: visible;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 280px;
    overflow: visible;
    margin-bottom: 0;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.5s ease;
    background: var(--bg-gradient-3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 10;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.testimonial-content p {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gradient-2);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===========================
   FAQ Section
   =========================== */

.faq {
    padding: var(--space-2xl) 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 var(--space-lg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   CTA Section
   =========================== */

.cta {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    color: white;
}

.cta-content .highlight {
    -webkit-text-fill-color: var(--accent);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;  /* Vertically center all buttons */
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    font-weight: 600;
}

/* ===========================
   Footer
   =========================== */

.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: rgba(27, 142, 211, 0.8);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    margin-bottom: var(--space-md);
    color: white;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* ===========================
   Video Modal
   =========================== */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

#modal-video {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ===========================
   Animations
   =========================== */

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===========================
   Email Modal
   =========================== */

.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: var(--space-md);
}

.email-modal .modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.modal-header h2 {
    font-family: 'Bubblegum Sans', cursive;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.modal-header p {
    color: var(--text-light);
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.email-form input {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.success-text {
    color: #10b981;
    text-align: center;
    font-weight: 600;
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.modal-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--space-md);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-lg));
        padding-bottom: var(--space-lg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }

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

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

    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .step-video {
        max-width: 320px;
    }

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

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 12px rgba(27, 142, 211, 0.3);
        padding: var(--space-lg) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-lg));
        padding-bottom: var(--space-lg);
    }

    .hero-title br {
        display: none;
    }

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

    .hero-buttons {
        justify-content: center;
        gap: 10px; /* Reduce gap for mobile */
        flex-wrap: nowrap; /* Try to keep side by side */
        overflow-x: auto; /* Allow horizontal scroll if needed */
        max-width: 100%;
    }

    /* Scale down store badges on mobile to fit side by side */
    .hero-buttons .store-badge {
        height: 40px !important;
        flex-shrink: 0; /* Prevent badges from shrinking below their size */
    }

    .hero-buttons .google-badge-link .store-badge {
        height: 60px !important; /* Proportionally larger than Apple */
        flex-shrink: 0;
    }

    /* Fallback for very small screens (below 360px) */
    @media (max-width: 360px) {
        .hero-buttons {
            flex-wrap: wrap; /* Allow wrapping on very small devices */
            gap: 8px;
        }
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .pricing-single {
        width: 100%;
        padding: 0 var(--space-sm);
    }

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

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px; /* Reduce gap for mobile */
        flex-wrap: nowrap; /* Try to keep side by side */
        overflow-x: auto; /* Allow horizontal scroll if needed */
        max-width: 100%;
    }

    /* Scale down CTA badges on mobile to fit side by side */
    .cta-buttons .store-badge-large {
        height: 45px !important;
        flex-shrink: 0; /* Prevent badges from shrinking below their size */
    }

    .cta-buttons .google-badge-link .store-badge-large {
        height: 65px !important; /* Proportionally larger than Apple */
        flex-shrink: 0;
    }

    /* Fallback for very small screens (below 360px) */
    @media (max-width: 360px) {
        .cta-buttons {
            flex-wrap: wrap; /* Allow wrapping on very small devices */
            gap: 8px;
        }
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);  /* 3 equal columns on mobile */
        gap: 15px;  /* Consistent gap between columns */
        text-align: center;  /* Center align all content */
    }

    /* Make logo section span all 3 columns */
    .footer-section:first-child {
        grid-column: 1 / -1;  /* Span full width */
        text-align: center;   /* Center the logo section */
        margin-bottom: var(--space-md);
    }

    /* Center align footer sections on mobile */
    .footer-section {
        min-width: 0;  /* Prevent overflow */
        text-align: center;  /* Center content within each column */
    }

    .footer-section h4 {
        text-align: center;  /* Center headers */
        margin-bottom: var(--space-sm);
    }

    .footer-section ul {
        padding: 0;  /* Remove default padding */
        text-align: center;  /* Center list items */
    }

    .footer-section li {
        text-align: center;  /* Center individual links */
    }

    /* Fallback for very small screens */
    @media (max-width: 400px) {
        .footer-content {
            grid-template-columns: repeat(2, 1fr);  /* 2 columns on very small screens */
        }

        /* Make Legal section span 2 columns or adjust as needed */
        .footer-section:last-child {
            grid-column: 1 / -1;
        }
    }

    .social-links {
        justify-content: center;
    }

    .cta-features {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

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

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

    .testimonial-content p {
        font-size: 1rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .step-video {
        max-width: 240px;
    }
}