/* ===================================================================
   pAIntLand Landing Page – Styles
   Mirrors the Tailwind/React reference design using vanilla CSS.
   =================================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1e293b; /* slate-800 */
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Utility ---------- */
.text-center {
    text-align: center;
}

.text-orange {
    color: #FF6F00;
}

.container {
    width: 100%;
    max-width: 72rem; /* 1152px ≈ max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ===================================================================
   NAVBAR
   =================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.nav-logo img {
    height: 32px;
    width: auto;
    border-radius: 0.375rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    border-radius: 0.375rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links li a:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.nav-links li a.active {
    color: #FF6F00;
    font-weight: 700;
    background: rgba(255, 111, 0, 0.08);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 4rem;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid #e2e8f0;
        padding: 0.75rem 1.5rem 1rem;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        padding: 0.625rem 0.5rem;
        font-size: 1rem;
    }
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
    padding-top: 4rem; /* offset for fixed navbar */
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #f8fafc); /* white → slate-50 */
    color: #1e293b;
}

/* ---------- Section Titles ---------- */
.section-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #475569; /* slate-600 */
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem; /* text-4xl */
    }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero-section {
    padding: 2.5rem 1.5rem 2.5rem;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 3.5rem 1.5rem 3.5rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile-only logo above hero content */
.hero-mobile-logo {
    display: block;
    width: 60%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .hero-mobile-logo {
        display: none;
    }
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9; /* slate-100 */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.badge-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Title */
.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

/* "Loved by" line */
.hero-loved {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #64748b; /* slate-500 */
}

.hero-loved svg {
    flex-shrink: 0;
}

/* Preview card */
.hero-preview {
    display: none;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-preview {
        display: block;
    }
}

.hero-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-family: inherit;
    text-align: center;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
}

.btn-primary {
    background: #0f172a; /* slate-900 / Tailwind default primary-ish */
    color: #fff;
    border-color: #0f172a;
}

.btn-primary:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.btn-outline {
    background: transparent;
    color: #0f172a;
    border-color: #cbd5e1; /* slate-300 */
}

.btn-outline:hover {
    background: #f1f5f9;
}

.btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #f1f5f9;
}

/* ---------- Store Badges ---------- */
.store-badge {
    height: 48px;
    width: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* ===================================================================
   GALLERY
   =================================================================== */
.gallery-section {
    padding: 3.5rem 0;
    background: linear-gradient(to bottom, #f8fafc, #FF6F00);
}

.gallery-section .container {
    margin-bottom: 3rem;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0 1rem;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .gallery-track {
        padding: 0 1.5rem;
    }
}

.gallery-card {
    flex: 0 0 60%;
    scroll-snap-align: center;
    border-radius: 1rem;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    aspect-ratio: 0.46597; /* 1080x502 ratio */
}

@media (min-width: 768px) {
    .gallery-card {
        flex: 0 0 calc(25% - 1.125rem);
    }
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================================================
   FEATURES
   =================================================================== */
.features-section {
    padding: 3.5rem 0;
    background: #ffffff;
}

.features-section > .container:first-child {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #FF6F00;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #475569;
    font-size: 1rem;
}

/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.how-section {
    padding: 3.5rem 0;
    background: #f8fafc; /* slate-50 */
}

.how-section > .container:first-child {
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FF6F00;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-text {
    font-size: 1.125rem;
    color: #1e293b;
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials-section {
    padding: 3.5rem 0;
    background: #ffffff;
}

.testimonials-section > .container:first-child {
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-size: 1.0625rem;
    color: #334155;
    line-height: 1.7;
}

/* ===================================================================
   CTA
   =================================================================== */
.cta-section {
    padding: 3.5rem 1.5rem;
    background: linear-gradient(to bottom, #FF6F00, #f8fafc);
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-section {
    padding: 0 0 3.5rem;
    margin-top: 0;
    background: #f8fafc;
}

.contact-section .section-title {
    margin-top: 0;
    padding-top: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-details {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #334155;
}

.contact-item svg {
    flex-shrink: 0;
    color: #FF6F00;
}

.contact-item a {
    color: #334155;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #FF6F00;
}

.contact-follow {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.contact-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-socials a:hover {
    color: #fff;
    background: #FF6F00;
    border-color: #FF6F00;
}

/* ---------- Mobile section padding ---------- */
@media (max-width: 767px) {
    .gallery-section,
    .features-section,
    .how-section,
    .testimonials-section {
        padding: 2.5rem 0;
    }

    .contact-section {
        padding: 0 0 2.5rem;
    }

    .cta-section {
        padding: 2.5rem 1.5rem;
    }
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
    padding: 1rem 1.5rem 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b; /* slate-500 */
    background: transparent;
}
