/* Reset & Base Styles */
:root {
    --bg-color: #f8f8f8;
    --text-color: #1a1a1a;
    --accent-color: #e6e0f8;
    /* Light purple for backgrounds */
    --primary-color: #F82A19;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1300px;
    /* Adjusted to 1300px (between 1200 and 1400) */
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Helpers */
.italic-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-outline:hover {
    background: var(--text-color);
    color: #fff;
}

.btn-dark {
    background: var(--text-color);
    color: #fff;
    border: 1px solid var(--text-color);
}

.btn-dark:hover {
    background: transparent;
    color: var(--text-color);
}

.btn-outline-dark {
    border: 1px solid var(--text-color);
    background: transparent;
    padding: 10px 30px;
    border-radius: 30px;
}

/* Header */
.site-header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

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

.logo img {
    height: 30px;
}

.site-nav {
    display: flex;
    gap: 40px;
}

.site-nav a {
    font-weight: 500;
    font-size: 1.1rem;
    /* Increased from 14px */
}

.menu-toggle {
    display: none;
    position: relative;
    /* Essential for z-index to work */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title .italic-text {
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.5rem;
    /* Increased from 1.1rem */
    color: #555;
    /* max-width: 400px; Removed to match header width */
    margin-bottom: 40px;
}

.store-buttons {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.store-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-code {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-weight: 600;
    background: #fff;
    transition: transform 0.2s;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

.mini-icons {
    display: flex;
    gap: 10px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    background: transparent;
}

.phone-mockup {
    background: transparent;
}

.phone-mockup img {
    border-radius: 40px;
    max-height: 700px;
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.why-us-header {
    display: flex;
    justify-content: center;
    /* Centered */
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
    /* Ensure text alignment */
}

.why-us-title {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.why-us-desc {
    text-align: right;
    max-width: 300px;
}

.desc-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.desc-text {
    color: #666;
    font-size: 0.9rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    border-radius: 30px;
    padding: 40px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

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

.card-icon-wrapper {
    /* Removed fixed width/height and border */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left or center as needed, usually left for this style */
    margin-bottom: 30px;
}

.browser-icon {
    height: 48px;
    /* Increased from 30px */
    width: auto;
    max-width: 150px;
    /* Allow it to be wider */
}

.colored-icon {
    width: 48px;
    /* Increased from 32px */
    height: 48px;
    /* Increased from 32px */
    color: var(--icon-color);
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
}

.card-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/* Soft Colors & Icon Colors */
.bg-purple {
    background: #e6e0f8;
    --icon-color: #5e4b8a;
}

.bg-green {
    background: #e0f8e6;
    --icon-color: #2d6a3e;
}

.bg-peach {
    background: #f8e6e0;
    --icon-color: #8a4b38;
}

.bg-blue {
    background: #e0e6f8;
    --icon-color: #3b528a;
}

.bg-yellow {
    background: #f8f8e0;
    --icon-color: #7a7a3b;
}

.bg-pink {
    background: #f8e0e6;
    --icon-color: #8a3b52;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #fff;
    border-radius: 40px;
    margin: 20px;
    background: linear-gradient(135deg, #f3f0ff 0%, #ffffff 100%);
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-col h2 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 20px;
}

.feature-col h3 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-style: italic;
}

.feature-col p {
    color: #666;
    margin-bottom: 30px;
}

.phone-mockup-small img {
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 6px solid #1a1a1a;
    max-height: 500px;
    margin: 0 auto;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid #fff;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #555;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-count {
    margin-left: 10px;
    font-weight: 600;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: #666;
}

/* Gallery Section (Reviews) */
.gallery-section {
    padding: 100px 0;
    background-color: #F9FAFB;
    /* Soft neutral gray to distinguish from previous section */
}

.stats-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 80px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    /* Enforced Poppins */
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    /* Enforced Poppins */
    font-style: normal;
    /* Removed italic */
}

/* Reviews Section */
.reviews-section-content {
    text-align: center;
}

.reviews-header-container {
    margin-bottom: 60px;
}

.reviews-header-container h2 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.reviews-subheader {
    font-size: 1.5rem;
    /* Increased to match Hero */
    font-weight: 400;
    color: #555;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    /* Removed uppercase */
    letter-spacing: 1px;
}

.reviews-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5px;
    /* Add padding for shadow and scrollbar space */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.reviews-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.review-card {
    flex: 0 0 350px;
    /* Fixed width for carousel items */
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Align content to left */
}

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

.review-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
    padding-right: 15px;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
    white-space: nowrap;
}

.review-row-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-stars {
    color: #1a1a1a;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-author {
    font-size: 0.9rem;
    color: #666;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

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

.logo-footer img {
    height: 24px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #666;
    font-size: 0.9rem;
}

.copyright {
    color: #999;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {

    .hero-container,
    .why-us-grid,
    .features-container,
    .gallery-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Fix Stats Visibility & Layout */
    .gallery-section {
        position: relative;
        z-index: 5;
    }

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

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .store-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        order: -1;
        /* Image on top on mobile */
        margin-bottom: 40px;
    }

    .phone-mockup img {
        max-height: 500px;
    }

    .menu-toggle {
        display: flex;
    }

    .site-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .site-nav.active {
        right: 0;
    }

    .site-nav a {
        font-size: 1.5rem;
        margin: 20px 0;
        color: #1a1a1a;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: row;
        /* Keep as row on mobile but scale down if needed, or wrap */
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        margin-bottom: 40px;
    }

    .stat {
        flex: 1 1 auto;
        /* Allow shrink/grow */
        min-width: 120px;
        /* Ensure minimum width */
    }

    .stat-number {
        font-size: 2.5rem;
        /* Reduce size for mobile */
    }

    .gallery-images {
        height: 400px;
    }

    .phone-layer {
        width: 200px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Customization Section */
.customization-section {
    padding: 2rem 0;
    /* Reduced from 6rem 0 */
    background: linear-gradient(to bottom, #ffffff, #FFF5F4);
    /* Soft gradient to light primary tint */
    overflow: hidden;
    /* Prevent horizontal scroll from layers */
}

.customization-container {
    max-width: 1200px;
    margin: 0 auto;
    /* background-color: #ffffff; Removed per user request */
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); Removed per user request */
    padding: 1rem 5rem;
    /* Reduced from 4rem 5rem */
    overflow: visible;
    /* Changed to visible to allow potential overlaps if needed */
    position: relative;
}

.customization-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.customization-text {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.customization-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.customization-text .italic-sub {
    font-size: 1.5rem;
    /* Increased to match Hero */
    font-weight: 400;
    font-style: normal;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    /* Removed uppercase */
}

.customization-images {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-img {
    width: 100%;
    /* Will be controlled by container */
    height: auto;
    display: block;
    /* User suggestion */
    border: none;
    /* User suggestion */
}

/* Main image in front */
.custom-layer {
    position: absolute;
    width: 280px;
    /* Matched gallery section width */
    transition: transform 0.3s ease;
}

/* Main image in front */
.layer-1 {
    z-index: 3;
    transform: translateX(0) scale(1);
}

/* Side images */
.layer-2 {
    z-index: 2;
    transform: translateX(-120px) translateY(20px) scale(0.9);
    opacity: 0.9;
}

.layer-3 {
    z-index: 1;
    transform: translateX(120px) translateY(40px) scale(0.85);
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .customization-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .customization-text {
        margin-bottom: 2rem;
        width: 100%;
        flex: none;
        position: relative;
        z-index: 10;
        text-align: center;
        padding: 0;
    }

    /* Adjust stats row for inside customization */
    .stats-row {
        margin-top: 0;
        margin-bottom: 20px;
        position: relative;
        z-index: 10;
        width: 100%;
    }

    .customization-text h2 {
        font-size: 3.5rem;
        /* Strictly match Reviews desktop/mobile usage */
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        text-align: center;
    }

    .customization-text .italic-sub {
        font-size: 1.5rem;
        /* Strictly match Reviews subheader */
        font-family: 'Poppins', sans-serif;
        /* Match font */
        font-style: normal;
        /* Remove italic */
        letter-spacing: 1px;
        /* Match spacing */
        font-weight: 400;
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        text-align: center;
        line-height: 1.5;
        color: #555;
        margin-bottom: 2.5rem;
    }

    .customization-images {
        height: auto;
        /* Allow full height */
        min-height: 600px;
        /* Ensure enough space */
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 0;
    }





    .custom-layer {
        width: 200px;
    }

    .custom-img {
        max-height: none;
        height: auto;
        width: 100%;
        border-radius: 15px;
        /* Ensure rounded corners on mobile too if needed */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        /* Add shadow for better layered look */
    }

    .layer-2 {
        transform: translateX(-60px) translateY(10px) scale(0.9);
    }

    .layer-3 {
        transform: translateX(60px) translateY(20px) scale(0.85);
    }
}

/* Legal Pages (Terms, Privacy) */
.legal-page {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
}

.legal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-content p,
.legal-content ul {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

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

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

/* Support Page */
.support-page .page-title {
    margin-bottom: 10px;
}

.support-intro {
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-form .submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form .submit-btn:hover {
    background-color: #333;
    /* Darker shade */
    transform: translateY(-2px);
}

/* Video Placeholder Styles */
.video-container {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background: #000;
    aspect-ratio: 9/16;
    /* Exact match for 1080x1920 video */
    width: 300px;
    margin: 0 auto;
    border: 12px solid #1a1a1a;
    box-sizing: content-box;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.play-button {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #1a1a1a;
}

/* FAQ Section Styles */
.faq-section {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.faq-header p {
    font-size: 1.2rem;
    color: #666;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
}

details {
    transition: all 0.3s ease;
}

summary {
    padding: 24px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1a1a1a;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    padding-bottom: 24px;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }

    .faq-header h2 {
        font-size: 2.5rem;
    }
}

/* Ensure video fills the container */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cover allows full fill since ratio matches */
    display: block;
}