@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FF5E62;
    --primary-dark: #D9383C;
    --secondary: #FF9966;
    --accent: #FFD200;
    --text-main: #2D3436;
    --text-light: #636E72;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(255, 94, 98, 0.2);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    line-height: 1.25;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    height: 36px;
    width: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-download {
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 94, 98, 0.4);
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 3rem;
    background: radial-gradient(circle at top right, #fff5f5, #fff);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.app-store-btns {
    display: flex;
    gap: 1rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--text-main);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.store-btn:hover {
    background: #000;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mockup CSS */
.phone-mockup {
    width: 320px;
    height: 650px;
    background: #1a1a1a;
    border-radius: 45px;
    border: 10px solid #2a2a2a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #F5F7FA;
    display: flex;
    flex-direction: column;
}

/* App Header & Status */
.status-bar {
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.app-top-bar {
    background: white;
    padding-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    z-index: 10;
}

.app-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.nav-right i {
    font-size: 18px;
    margin-left: 12px;
    color: #333;
}

.app-tabs {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    padding-bottom: 5px;
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.app-tabs span.active {
    color: #333;
    font-weight: 700;
    position: relative;
}

.app-tabs span.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* App Content */
.app-scroll-content {
    flex: 1;
    overflow: hidden;
    /* static for mockup */
    padding: 10px;
}

.masonry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.mock-post {
    width: 48%;
    /* 2 columns */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}

.post-img {
    width: 100%;
    height: 120px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.post-info {
    padding: 8px;
}

.post-title {
    font-size: 10px;
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.user-mini {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-mini small {
    font-size: 9px;
    color: #888;
}

.avatar {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #eee;
}

.likes {
    font-size: 9px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* App Bottom Bar */
.app-bottom-bar {
    height: 60px;
    background: white;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
}

.app-bottom-bar i {
    font-size: 22px;
    color: #ccc;
}

.app-bottom-bar i.active {
    color: var(--primary);
}

.add-btn {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 94, 98, 0.4);
}

.add-btn i {
    color: white;
    font-size: 20px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Shared Section Title */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 5%;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* 
   =====================================
   Detailed Features Section (NEW)
   ===================================== 
*/
.detailed-features {
    padding: 3rem 5% 6rem;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

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

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ranking-icon {
    background: linear-gradient(135deg, #FFD200, #F7971E);
}

.manage-icon {
    background: linear-gradient(135deg, #00C9FF, #92FE9D);
}

.social-icon {
    background: linear-gradient(135deg, #FF5E62, #FF9966);
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

.feature-text .description {
    margin: 1.5rem 0;
    line-height: 1.8;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 94, 98, 0.2);
    z-index: -1;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-main);
}

.feature-list li i {
    color: var(--primary);
}

/* --- Ranking Visual (Podium) --- */
.podium-container {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 20px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.pet-head {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: -10px;
    z-index: 2;
}

.podium-bar {
    width: 70px;
    background: #eee;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15px;
    font-weight: 700;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.first .pet-head {
    width: 80px;
    height: 80px;
    border-color: #FFD200;
}

.first .podium-bar {
    height: 140px;
    background: linear-gradient(to bottom, #FFD200, #F7971E);
}

.second .podium-bar {
    height: 100px;
    background: linear-gradient(to bottom, #bdc3c7, #2c3e50);
}

.third .podium-bar {
    height: 70px;
    background: linear-gradient(to bottom, #e6dada, #274046);
}

/* Copper-ish */

.crown {
    position: absolute;
    top: -25px;
    color: #FFD200;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.pet-name {
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.score {
    font-size: 0.8rem;
    color: #FF5E62;
    font-weight: 700;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* --- Management Visual (Profile Card) --- */
.profile-card {
    width: 300px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Fixed 'rbga' typo */
    border: 1px solid #eee;
    transform: rotate(-3deg);
    transition: 0.3s;
}

.profile-card:hover {
    transform: rotate(0) scale(1.02);
}

.profile-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.big-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.profile-info h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gender-male {
    color: #3498db;
    font-size: 1rem;
}

.breed {
    font-size: 0.9rem;
    color: #888;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    background: #F9F9F9;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stat strong {
    color: var(--text-main);
    font-size: 1rem;
}

.stat small {
    color: #aaa;
    font-size: 0.8rem;
}

.health-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.health-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
}

.health-item i {
    font-size: 1.1rem;
}

.checked i {
    color: #2ecc71;
}

.pending i {
    color: #f39c12;
}

/* --- Social Visual (Chat) --- */
.chat-interface {
    width: 280px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.chat-header {
    padding: 15px;
    background: white;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.avatar-xs {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
}

.chat-body {
    padding: 15px;
    background: #F9F9F9;
    /* height: 250px; REMOVED fixed height to prevent overflow/overlap */
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.msg.left {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.msg.right {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 2px 5px rgba(255, 94, 98, 0.3);
}

.msg-img {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    background-size: cover;
}

.chat-input {
    padding: 10px;
    background: white;
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-bar {
    flex: 1;
    height: 30px;
    background: #f0f0f0;
    border-radius: 15px;
}

.send-btn {
    color: var(--primary);
    font-size: 1.2rem;
}

.interaction-preview {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.like {
    background: #ffebeb;
    color: #ff5e62;
}

.fav {
    background: #fff8e1;
    color: #ffc107;
}

.chat {
    background: #e3f2fd;
    color: #2196f3;
}

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

.float-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 10;
    animation: float 4s infinite;
}

.heart {
    color: #ff5e62;
    top: -10px;
    right: -10px;
    animation-delay: 0.5s;
}

.star {
    color: #ffc107;
    bottom: 20px;
    left: -20px;
}

/* --- Health Management Visual (NEW) --- */
.health-icon {
    background: linear-gradient(135deg, #FF5E62, #FF8A80);
}

.health-visual {
    padding: 20px;
}

.dual-phone-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

.phone-mockup-mini {
    width: 220px;
    height: 420px;
    background: #1a1a1a;
    border-radius: 30px;
    border: 6px solid #2a2a2a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.phone-mockup-mini:hover {
    transform: translateY(-5px);
}

.left-phone {
    transform: rotate(-5deg);
    z-index: 1;
}

.right-phone {
    transform: rotate(5deg);
    margin-left: -30px;
    z-index: 2;
}

.left-phone:hover {
    transform: rotate(0deg) translateY(-5px);
    z-index: 3;
}

.right-phone:hover {
    transform: rotate(0deg) translateY(-5px);
    z-index: 3;
}

.phone-screen-mini {
    width: 100%;
    height: 100%;
    background: #F9FAFB;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Health App Header */
.health-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.health-back-btn,
.health-calendar-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
}

.placeholder-btn {
    width: 24px;
}

.health-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* Health Tabs */
.health-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px;
    background: white;
    font-size: 11px;
    color: #aaa;
}

.health-tabs span.active {
    color: #FF5E62;
    font-weight: 600;
    position: relative;
}

.health-tabs span.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #FF5E62;
    border-radius: 2px;
}

/* Filter Tags */
.filter-tags {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    background: #f9f9f9;
}

.filter-tags .tag {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 9px;
    background: white;
    color: #666;
    border: 1px solid #eee;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
}

.filter-tags .tag.active {
    background: #FF5E62;
    color: white;
    border-color: #FF5E62;
}

.filter-tags .tag i {
    font-size: 10px;
}

/* Health Records List */
.health-records {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.record-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.record-icon.bug {
    background: #E8F5E9;
}

.record-icon.vaccine {
    background: #FFF3E0;
}

.record-icon.medicine {
    background: #FCE4EC;
}

.record-info {
    flex: 1;
}

.record-name {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.record-date {
    font-size: 9px;
    color: #999;
}

.record-item i {
    color: #ccc;
    font-size: 14px;
}

/* Health Add Button */
.health-add-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #FF5E62;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 94, 98, 0.4);
}

/* Metric Tabs */
.metric-tabs {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px;
    background: white;
    font-size: 9px;
    color: #aaa;
    border-bottom: 1px solid #f0f0f0;
}

.metric-tabs span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.metric-tabs span i {
    font-size: 11px;
}

.metric-tabs span.active {
    color: #FF5E62;
    font-weight: 600;
}

/* Weight Card */
.weight-card {
    margin: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #FF5E62, #FF8A80);
    border-radius: 15px;
    color: white;
}

.weight-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.weight-header i {
    font-size: 14px;
}

.weight-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.weight-value .unit {
    font-size: 14px;
    font-weight: 400;
    margin-left: 4px;
}

.weight-stats {
    display: flex;
    gap: 12px;
}

.weight-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weight-stats .label {
    font-size: 8px;
    opacity: 0.8;
}

.weight-stats .value {
    font-size: 10px;
    font-weight: 600;
}

/* Chart Section */
.chart-section {
    margin: 8px 10px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chart-title {
    font-size: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.chart-placeholder {
    height: 50px;
    width: 100%;
}

.trend-chart {
    width: 100%;
    height: 100%;
}

/* History Section */
.history-section {
    margin: 0 10px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.history-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.history-title i {
    font-size: 12px;
    color: #FF5E62;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.history-icon {
    width: 28px;
    height: 28px;
    background: #FFF0F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5E62;
    font-size: 12px;
}

.history-info {
    flex: 1;
}

.history-value {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

.history-time {
    font-size: 8px;
    color: #999;
}

/* Floating decorative icons for health section */
.float-icon.pulse {
    color: #FF5E62;
    top: -20px;
    right: 10px;
    animation-delay: 0.3s;
    background: linear-gradient(135deg, #FFF0F0, white);
}

.float-icon.scale {
    color: #74b9ff;
    bottom: 40px;
    left: -10px;
    animation-delay: 0.7s;
    background: linear-gradient(135deg, #E8F4FD, white);
}

/* Star Pets Section */
.star-pets {
    padding: 4rem 0;
    background: #f0f8ff;
    /* aliceblue */
    overflow: hidden;
    margin-bottom: 4rem;
}


.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f0f8ff, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f0f8ff, transparent);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.pet-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    transition: transform 0.3s;
    cursor: pointer;
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pet-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    border: 4px solid var(--bg-light);
}

.pet-card h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.badge.dog {
    background: #FF9966;
}

.badge.cat {
    background: #74b9ff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    background: var(--text-main);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #999;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

.icp-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.icp-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .detailed-features {
        gap: 4rem;
        padding-top: 4rem;
    }

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .icon-box {
        margin: 0 auto 1.5rem;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }

    .interaction-preview {
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .app-store-btns {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }

    /* Health Management Responsive */
    .dual-phone-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .phone-mockup-mini {
        width: 200px;
        height: 380px;
    }

    .left-phone,
    .right-phone {
        transform: none;
        margin-left: 0;
    }

    .left-phone:hover,
    .right-phone:hover {
        transform: translateY(-5px);
    }

    .weight-value {
        font-size: 26px;
    }

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