/* ==========================================
   Doggy Dashboard — Marketing Website
   Modern, minimal design for UK market
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #e0e7ff;
    --accent: #06b6d4;
    --accent-light: #cffafe;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--text);
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-nav {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.nav-links a.btn-nav {
    color: #fff;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    gap: 24px;
}

.trust-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-icon {
    color: #10b981;
    font-weight: 700;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.preview-title {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.preview-body {
    padding: 24px;
}

.preview-body .preview-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    margin: 0 8px 16px 0;
    min-width: 100px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.preview-calendar {
    margin-top: 8px;
}

.cal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.cal-slot {
    font-size: 0.78rem;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    color: var(--text-light);
}

.cal-slot.filled {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: transparent;
    font-weight: 500;
}

.cal-slot.accent {
    background: var(--accent-light);
    color: #0e7490;
}

/* --- Features Grid --- */
.features {
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 100px;
}

.service-header {
    padding: 32px 32px 24px;
    text-align: center;
}

.service-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.service-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.service-features {
    padding: 0 32px 32px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Split Content --- */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.split-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.split-text > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Check List */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.check-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.check-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Vaccination Card */
.vacc-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.vacc-header {
    padding: 16px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.vacc-dog {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
}

.vacc-dog:last-child {
    border-bottom: none;
}

.vacc-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.vacc-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

.status-green {
    background: #dcfce7;
    color: #166534;
}

.status-blue {
    background: #dbeafe;
    color: #1e40af;
}

.status-red {
    background: #fef2f2;
    color: #991b1b;
}

/* --- Pricing --- */
.pricing {
    background: var(--bg-alt);
}

/* Base Platform Card */
.pricing-base {
    margin-bottom: 56px;
}

.pricing-base-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 36px 48px;
    box-shadow: var(--shadow);
}

.pricing-base-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pricing-base-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.pricing-base-left h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-base-left p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 400px;
}

/* Modules Header */
.pricing-modules-header {
    text-align: center;
    margin-bottom: 36px;
}

.pricing-modules-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-modules-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Module Grid */
.modules-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.module-card .module-icon {
    font-size: 2rem;
    text-align: center;
    display: block;
    margin-bottom: 12px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.pricing-base-right .price {
    font-size: 3.2rem;
}

.period {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-features {
    margin-bottom: 0;
}

.pricing-features li {
    font-size: 0.85rem;
    padding: 6px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.li-check {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* Example Bundles */
.pricing-bundles {
    margin-top: 64px;
    text-align: center;
}

.pricing-bundles h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.bundles-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.bundle {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: left;
    transition: all var(--transition);
}

.bundle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.bundle.featured-bundle {
    border-color: var(--primary);
    background: var(--primary-light);
}

.bundle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bundle-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.bundle-total {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
}

.bundle-breakdown {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Billing Options / Addons */
.pricing-addons {
    margin-top: 48px;
    text-align: center;
}

.pricing-addons h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.addon {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.addon-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.addon-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Mobile App --- */
.mobile-app {
    background: var(--bg-alt);
}

.mobile-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Phone Mockup */
.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    background: var(--bg-dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    background: var(--bg);
    border-radius: 28px;
    overflow: hidden;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.phone-notification {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.phone-notification strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.phone-notification p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.phone-notification.read {
    opacity: 0.5;
}

/* --- CTA --- */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 0.88rem;
    opacity: 0.7;
}

.cta-note a {
    text-decoration: underline;
    opacity: 1;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
}

.footer-brand .logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-column h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features-grid,
    .services-grid,
    .modules-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bundles-grid,
    .addons-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-base-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px;
    }

    .pricing-base-left {
        flex-direction: column;
        text-align: center;
    }

    .split-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-content.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .features-grid,
    .services-grid,
    .modules-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .bundles-grid,
    .addons-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
