/* ============================================
   Pawprint — Landing Page Styles
   ============================================ */

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

:root {
    --primary: #D4A843;
    --primary-light: #E8C76A;
    --dark: #1A1A2E;
    --light-bg: #FFFBF5;
    --white: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #6B7280;
    --success: #22C55E;
    --gradient: linear-gradient(135deg, #D4A843, #E8C76A);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--light-bg);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.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(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient);
    color: #1A1A2E;
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(212, 168, 67, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1.5px solid #E5E7EB;
}

.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    box-shadow: var(--shadow-lg);
}

/* --- Hero Section --- */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 80%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.paw-float {
    position: absolute;
    opacity: 0.06;
    color: var(--primary);
}

.paw-1 { width: 60px; top: 15%; left: 8%; }
.paw-2 { width: 40px; top: 60%; left: 15%; }
.paw-3 { width: 50px; top: 25%; right: 5%; }
.paw-4 { width: 35px; bottom: 20%; right: 15%; }
.paw-5 { width: 45px; bottom: 10%; left: 40%; }

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-btn svg {
    flex-shrink: 0;
}

.hero-android-note {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    width: 100%;
}

/* --- Phone Mockup --- */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 20px 60px rgba(26, 26, 46, 0.2), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--dark);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f0ebe3 0%, #e8e0d4 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phone-placeholder {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.6;
}

.phone-logo {
    width: 50%;
    height: auto;
    border-radius: 20%;
}

.hero-phone {
    display: flex;
    justify-content: center;
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.trust-item svg {
    color: var(--primary);
}

/* --- Section Headings --- */
.section-heading {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

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

.how-it-works .section-heading {
    margin-bottom: 64px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    text-align: center;
    max-width: 300px;
    padding: 0 24px;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(212, 168, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    flex-shrink: 0;
}

/* --- Features Grid --- */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features .section-heading {
    margin-bottom: 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- App Showcase --- */
.app-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, #f5f0e8 100%);
}

.app-showcase .section-heading {
    margin-bottom: 56px;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.showcase-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.showcase-list li svg {
    flex-shrink: 0;
}

.showcase-phones {
    display: flex;
    justify-content: center;
    position: relative;
    height: 580px;
}

.phone-showcase-1 {
    position: absolute;
    left: 0;
    top: 40px;
    transform: rotate(-8deg);
    z-index: 1;
    width: 240px;
    height: 480px;
}

.phone-showcase-2 {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 3;
    width: 260px;
    height: 520px;
}

.phone-showcase-3 {
    position: absolute;
    right: 0;
    top: 50px;
    transform: rotate(8deg);
    z-index: 2;
    width: 240px;
    height: 480px;
}

/* --- For Providers --- */
.for-providers {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.for-providers::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.06);
    pointer-events: none;
}

.for-providers .section-heading {
    color: var(--white);
}

.for-providers .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 56px;
}

.provider-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.provider-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s, background 0.3s;
}

.provider-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.provider-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 168, 67, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.provider-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.provider-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

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

/* --- Download CTA --- */
.download-cta {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.download-cta h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.download-subtitle {
    margin-top: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-contact a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ============================================
   Legal Pages (Privacy & Terms)
   ============================================ */
.legal-page {
    padding: 120px 0 80px;
    background: var(--light-bg);
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-content .last-updated {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

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

.legal-content a:hover {
    color: var(--primary-light);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-heading {
        font-size: 44px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .provider-cards .provider-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .showcase-phones {
        height: 480px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

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

    .footer-contact {
        text-align: center;
        align-items: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        color: var(--text-primary);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-heading {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .phone-mockup {
        width: 220px;
        height: 440px;
        border-radius: 32px;
    }

    .phone-notch {
        width: 100px;
        height: 24px;
    }

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

    .section-heading {
        font-size: 28px;
    }

    .steps {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .step-connector {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .trust-items {
        gap: 24px;
    }

    .trust-item {
        font-size: 13px;
    }

    .showcase-phones {
        height: 400px;
    }

    .phone-showcase-1 {
        width: 180px;
        height: 360px;
        top: 30px;
    }

    .phone-showcase-2 {
        width: 200px;
        height: 400px;
    }

    .phone-showcase-3 {
        width: 180px;
        height: 360px;
        top: 40px;
    }

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

    .provider-cards .provider-card:last-child {
        max-width: 100%;
    }

    .download-cta h2 {
        font-size: 28px;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .legal-content h1 {
        font-size: 28px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .hero-heading {
        font-size: 32px;
    }

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

    .trust-items {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .showcase-phones {
        height: 340px;
    }

    .phone-showcase-1 {
        width: 150px;
        height: 300px;
    }

    .phone-showcase-2 {
        width: 170px;
        height: 340px;
    }

    .phone-showcase-3 {
        width: 150px;
        height: 300px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-heading {
        font-size: 64px;
    }
}
