/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100vw;
}

/* Hide scrollbars but keep functionality */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

/* Dark Mode Toggle */
.mode-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.theme-toggle-btn .dark-icon {
    display: none;
}

.light-icon, .dark-icon {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) invert(1);
}

/* Dark mode styles */
body.dark-mode {
    background: #0f172a;
    color: #e2e8f0;
}

body.dark-mode .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(156, 39, 176, 0.3);
    color: #e2e8f0;
}

body.dark-mode .theme-toggle-btn .light-icon {
    display: none;
}

body.dark-mode .theme-toggle-btn .dark-icon {
    display: block;
}

/* Dark mode section backgrounds */
body.dark-mode .hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e40af 100%);
}

body.dark-mode .features {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .features::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1.5" fill="rgba(167,139,250,0.12)"/><circle cx="75" cy="35" r="2" fill="rgba(167,139,250,0.08)"/><circle cx="45" cy="75" r="1" fill="rgba(167,139,250,0.15)"/><circle cx="85" cy="85" r="1.5" fill="rgba(167,139,250,0.1)"/><circle cx="15" cy="65" r="1" fill="rgba(167,139,250,0.12)"/><circle cx="65" cy="20" r="1.5" fill="rgba(167,139,250,0.06)"/><circle cx="35" cy="55" r="2.5" fill="rgba(167,139,250,0.05)"/><circle cx="80" cy="70" r="1" fill="rgba(167,139,250,0.14)"/></svg>') repeat;
}

body.dark-mode .features::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="40" r="7" fill="rgba(59,130,246,0.12)"/><circle cx="80" cy="20" r="9" fill="rgba(99,102,241,0.10)"/><circle cx="60" cy="80" r="6" fill="rgba(59,130,246,0.14)"/><circle cx="30" cy="70" r="8" fill="rgba(99,102,241,0.11)"/></svg>') repeat;
}

body.dark-mode .activity-icons {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

body.dark-mode .activity-icons::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="20" r="1" fill="rgba(167,139,250,0.1)"/><circle cx="70" cy="45" r="2" fill="rgba(167,139,250,0.07)"/><circle cx="20" cy="70" r="1.5" fill="rgba(167,139,250,0.12)"/><circle cx="90" cy="80" r="1" fill="rgba(167,139,250,0.08)"/><circle cx="50" cy="10" r="1.5" fill="rgba(167,139,250,0.11)"/><circle cx="10" cy="40" r="1" fill="rgba(167,139,250,0.09)"/><circle cx="80" cy="25" r="2" fill="rgba(167,139,250,0.05)"/><circle cx="40" cy="90" r="1.5" fill="rgba(167,139,250,0.13)"/></svg>') repeat;
}

body.dark-mode .activity-icons::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="30" r="9" fill="rgba(59,130,246,0.13)"/><circle cx="75" cy="65" r="7" fill="rgba(99,102,241,0.11)"/><circle cx="45" cy="85" r="6" fill="rgba(59,130,246,0.15)"/><circle cx="85" cy="25" r="8" fill="rgba(99,102,241,0.12)"/></svg>') repeat;
}

body.dark-mode .testimonials {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .testimonials::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="30" r="1.5" fill="rgba(167,139,250,0.11)"/><circle cx="85" cy="20" r="1" fill="rgba(167,139,250,0.08)"/><circle cx="60" cy="80" r="2" fill="rgba(167,139,250,0.06)"/><circle cx="25" cy="75" r="1" fill="rgba(167,139,250,0.12)"/><circle cx="75" cy="60" r="1.5" fill="rgba(167,139,250,0.09)"/><circle cx="40" cy="15" r="1" fill="rgba(167,139,250,0.14)"/><circle cx="90" cy="50" r="2" fill="rgba(167,139,250,0.05)"/><circle cx="10" cy="85" r="1.5" fill="rgba(167,139,250,0.1)"/></svg>') repeat;
}

body.dark-mode .testimonials::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="35" cy="25" r="10" fill="rgba(59,130,246,0.14)"/><circle cx="70" cy="75" r="8" fill="rgba(99,102,241,0.12)"/><circle cx="15" cy="80" r="7" fill="rgba(59,130,246,0.16)"/><circle cx="90" cy="40" r="9" fill="rgba(99,102,241,0.13)"/></svg>') repeat;
}

body.dark-mode .app-preview {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

body.dark-mode .download {
    background: #0f172a;
}

/* Dark mode text colors */
body.dark-mode .section-title {
    color: #f1f5f9;
}

body.dark-mode .section-subtitle {
    color: #94a3b8;
}

body.dark-mode .feature-title {
    color: #f1f5f9;
}

body.dark-mode .feature-description {
    color: #94a3b8;
}

body.dark-mode .feature-card {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(167, 139, 250, 0.2);
    backdrop-filter: blur(10px);
}

body.dark-mode .feature-card:hover {
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.25);
}

body.dark-mode .activity-icon-card {
    background: rgba(30, 41, 59, 0.4);
    border-color: rgba(167, 139, 250, 0.2);
}

body.dark-mode .activity-icon-card:hover {
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.25);
}

body.dark-mode .multi-baby-feature {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border-color: rgba(167, 139, 250, 0.2);
}

body.dark-mode .multi-baby-feature h3 {
    color: #f1f5f9;
}

body.dark-mode .multi-baby-feature p {
    color: #94a3b8;
}

body.dark-mode .baby-icon {
    filter: brightness(0) invert(1);
}

body.dark-mode .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

body.dark-mode .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
}

body.dark-mode .btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

body.dark-mode .mood-sync {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .mood-sync::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="1.5" fill="rgba(167,139,250,0.10)"/><circle cx="80" cy="50" r="2" fill="rgba(167,139,250,0.07)"/><circle cx="40" cy="80" r="1" fill="rgba(167,139,250,0.12)"/><circle cx="90" cy="20" r="1.5" fill="rgba(167,139,250,0.08)"/><circle cx="10" cy="70" r="1" fill="rgba(167,139,250,0.11)"/><circle cx="60" cy="25" r="1.5" fill="rgba(167,139,250,0.06)"/><circle cx="30" cy="60" r="2" fill="rgba(167,139,250,0.09)"/><circle cx="75" cy="85" r="1" fill="rgba(167,139,250,0.13)"/></svg>') repeat;
}

body.dark-mode .mood-sync::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="45" r="8" fill="rgba(59,130,246,0.13)"/><circle cx="85" cy="25" r="6" fill="rgba(99,102,241,0.11)"/><circle cx="50" cy="75" r="7" fill="rgba(59,130,246,0.15)"/><circle cx="25" cy="15" r="9" fill="rgba(99,102,241,0.12)"/></svg>') repeat;
}

body.dark-mode .mood-card {
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .mood-feature {
    background: rgba(30, 41, 59, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .mood-feature h4 {
    color: #f1f5f9;
}

body.dark-mode .mood-feature p {
    color: #94a3b8;
}

body.dark-mode .feature-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

body.dark-mode .mood-feature-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

body.dark-mode .baby-profile {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

body.dark-mode .testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    border-left-color: #6366f1;
}

body.dark-mode .testimonial-content p {
    color: #cbd5e1;
}

body.dark-mode .testimonial-author strong {
    color: #f1f5f9;
}

body.dark-mode .testimonial-author span {
    color: #94a3b8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.15)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.12)"/><circle cx="90" cy="90" r="2" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="60" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="15" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="30" cy="50" r="2.5" fill="rgba(255,255,255,0.04)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.12)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="35" r="8" fill="rgba(255,255,255,0.25)"/><circle cx="85" cy="70" r="12" fill="rgba(255,255,255,0.18)"/><circle cx="50" cy="15" r="6" fill="rgba(255,255,255,0.22)"/><circle cx="25" cy="85" r="10" fill="rgba(255,255,255,0.20)"/></svg>') repeat;
    animation: float 35s ease-in-out infinite reverse;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


/* Section styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1.5" fill="rgba(156,39,176,0.08)"/><circle cx="75" cy="35" r="2" fill="rgba(156,39,176,0.05)"/><circle cx="45" cy="75" r="1" fill="rgba(156,39,176,0.1)"/><circle cx="85" cy="85" r="1.5" fill="rgba(156,39,176,0.06)"/><circle cx="15" cy="65" r="1" fill="rgba(156,39,176,0.08)"/><circle cx="65" cy="20" r="1.5" fill="rgba(156,39,176,0.04)"/><circle cx="35" cy="55" r="2.5" fill="rgba(156,39,176,0.03)"/><circle cx="80" cy="70" r="1" fill="rgba(156,39,176,0.09)"/></svg>') repeat;
    animation: float 25s ease-in-out infinite reverse;
    opacity: 0.6;
    z-index: 1;
}

.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="40" r="7" fill="rgba(236,72,153,0.08)"/><circle cx="80" cy="20" r="9" fill="rgba(168,85,247,0.06)"/><circle cx="60" cy="80" r="6" fill="rgba(236,72,153,0.10)"/><circle cx="30" cy="70" r="8" fill="rgba(168,85,247,0.07)"/></svg>') repeat;
    animation: float 40s ease-in-out infinite;
    opacity: 0.8;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 2vw;
    margin-bottom: 4rem;
    width: 95vw;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    padding: min(2.5rem, 4vw);
    border-radius: min(20px, 3vw);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(156, 39, 176, 0.1);
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(156, 39, 176, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.feature-icon img {
    width: 2rem;
    height: 2rem;
    filter: brightness(0) invert(1);
}

.btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* Activity Icons section */
.activity-icons {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.activity-icons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="20" r="1" fill="rgba(156,39,176,0.06)"/><circle cx="70" cy="45" r="2" fill="rgba(156,39,176,0.04)"/><circle cx="20" cy="70" r="1.5" fill="rgba(156,39,176,0.08)"/><circle cx="90" cy="80" r="1" fill="rgba(156,39,176,0.05)"/><circle cx="50" cy="10" r="1.5" fill="rgba(156,39,176,0.07)"/><circle cx="10" cy="40" r="1" fill="rgba(156,39,176,0.06)"/><circle cx="80" cy="25" r="2" fill="rgba(156,39,176,0.03)"/><circle cx="40" cy="90" r="1.5" fill="rgba(156,39,176,0.09)"/></svg>') repeat;
    animation: float 30s ease-in-out infinite;
    opacity: 0.5;
    z-index: 1;
}

.activity-icons::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="30" r="9" fill="rgba(236,72,153,0.09)"/><circle cx="75" cy="65" r="7" fill="rgba(168,85,247,0.07)"/><circle cx="45" cy="85" r="6" fill="rgba(236,72,153,0.11)"/><circle cx="85" cy="25" r="8" fill="rgba(168,85,247,0.08)"/></svg>') repeat;
    animation: float 45s ease-in-out infinite reverse;
    opacity: 0.7;
    z-index: 2;
}

.icons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 2vw;
    margin-bottom: 4rem;
    width: 90vw;
    max-width: 600px;
    height: 90vw;
    max-height: 600px;
    margin-left: auto;
    margin-right: auto;
}

.activity-icon-card {
    background: #f8fafc;
    border-radius: min(20px, 4vw);
    transition: all 0.3s ease;
    border: 1px solid rgba(156, 39, 176, 0.1);
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.activity-icon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.15);
}

.activity-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: min(20px, 4vw);
}

.multi-baby-feature {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 24px;
    border: 1px solid rgba(156, 39, 176, 0.1);
}

.multi-baby-feature h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.multi-baby-feature p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.baby-profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    width: 70vw;
    max-width: 400px;
    gap: min(2rem, 3vw);
    margin: 0 auto;
    justify-items: center;
    align-items: stretch;
}

.baby-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: min(2rem, 3vw);
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    border-radius: min(20px, 3vw);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    width: 100%;
    min-height: min(180px, 25vw);
    color: white;
}

.baby-profile:hover {
    transform: translateY(-5px);
}

.baby-icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 0.5rem;
}

.baby-profile span {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.baby-profile small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}


/* Mood Sync section */
.mood-sync {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.mood-sync::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="1.5" fill="rgba(156,39,176,0.06)"/><circle cx="80" cy="50" r="2" fill="rgba(156,39,176,0.04)"/><circle cx="40" cy="80" r="1" fill="rgba(156,39,176,0.08)"/><circle cx="90" cy="20" r="1.5" fill="rgba(156,39,176,0.05)"/><circle cx="10" cy="70" r="1" fill="rgba(156,39,176,0.07)"/><circle cx="60" cy="25" r="1.5" fill="rgba(156,39,176,0.03)"/><circle cx="30" cy="60" r="2" fill="rgba(156,39,176,0.06)"/><circle cx="75" cy="85" r="1" fill="rgba(156,39,176,0.09)"/></svg>') repeat;
    animation: float 28s ease-in-out infinite;
    opacity: 0.5;
    z-index: 1;
}

.mood-sync::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="45" r="8" fill="rgba(236,72,153,0.09)"/><circle cx="85" cy="25" r="6" fill="rgba(168,85,247,0.07)"/><circle cx="50" cy="75" r="7" fill="rgba(236,72,153,0.11)"/><circle cx="25" cy="15" r="9" fill="rgba(168,85,247,0.08)"/></svg>') repeat;
    animation: float 42s ease-in-out infinite reverse;
    opacity: 0.7;
    z-index: 2;
}

.mood-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 80vw;
    max-width: 600px;
    gap: min(1.5rem, 2vw);
    margin: 3rem auto;
    justify-items: center;
    align-items: stretch;
    position: relative;
    z-index: 3;
}

.mood-card {
    background: white;
    border-radius: min(16px, 3vw);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    aspect-ratio: 1;
}

.mood-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mood-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: min(16px, 3vw);
}

.mood-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 2vw;
    margin-bottom: 4rem;
    width: 95vw;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}

.mood-feature {
    background: white;
    padding: min(2.5rem, 4vw);
    border-radius: min(20px, 3vw);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(156, 39, 176, 0.1);
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.mood-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(156, 39, 176, 0.15);
}

.mood-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.mood-feature-icon img {
    width: 2rem;
    height: 2rem;
    filter: brightness(0) invert(1);
}

.mood-feature h4 {
    font-size: min(1.4rem, 3.5vw);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mood-feature p {
    color: #64748b;
    line-height: 1.6;
    font-size: min(1rem, 2.8vw);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* App preview section */
.app-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.app-preview .section-title,
.app-preview .section-subtitle {
    color: white;
}

.screenshot-carousel {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.screenshot-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screenshot-slide.active {
    opacity: 1;
}

.phone-frame {
    flex: 1;
    max-width: 300px;
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border-radius: 30px;
    z-index: -1;
}

.screenshot-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-info {
    flex: 1;
    text-align: left;
}

.screenshot-info h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.screenshot-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-btn img {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) invert(1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Testimonials section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="30" r="1.5" fill="rgba(156,39,176,0.07)"/><circle cx="85" cy="20" r="1" fill="rgba(156,39,176,0.05)"/><circle cx="60" cy="80" r="2" fill="rgba(156,39,176,0.04)"/><circle cx="25" cy="75" r="1" fill="rgba(156,39,176,0.08)"/><circle cx="75" cy="60" r="1.5" fill="rgba(156,39,176,0.06)"/><circle cx="40" cy="15" r="1" fill="rgba(156,39,176,0.09)"/><circle cx="90" cy="50" r="2" fill="rgba(156,39,176,0.03)"/><circle cx="10" cy="85" r="1.5" fill="rgba(156,39,176,0.07)"/></svg>') repeat;
    animation: float 22s ease-in-out infinite reverse;
    opacity: 0.4;
    z-index: 1;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="35" cy="25" r="10" fill="rgba(236,72,153,0.10)"/><circle cx="70" cy="75" r="8" fill="rgba(168,85,247,0.08)"/><circle cx="15" cy="80" r="7" fill="rgba(236,72,153,0.12)"/><circle cx="90" cy="40" r="9" fill="rgba(168,85,247,0.09)"/></svg>') repeat;
    animation: float 50s ease-in-out infinite;
    opacity: 0.6;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #9C27B0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #1e293b;
    font-weight: 600;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Download section */
.download {
    padding: 6rem 0;
    background: #1e293b;
    color: white;
    text-align: center;
}

.download .section-title,
.download .section-subtitle {
    color: white;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #374151;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
    min-width: 200px;
}

.store-button:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.store-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.75rem;
}

.store-button.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.store-button.coming-soon .store-text-small {
    color: #f59e0b;
    font-weight: 600;
}

.store-text-small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.store-text-large {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: #0f172a;
    color: #94a3b8;
}

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

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* Features grid - maintain 2x3 but smaller */
    .features-grid {
        width: 90vw;
        max-width: 800px;
        gap: 1.5vw;
    }

    .feature-card {
        padding: min(1.5rem, 3vw);
    }

    .feature-title {
        font-size: min(1.2rem, 3.5vw);
    }

    .feature-description {
        font-size: min(0.9rem, 2.8vw);
    }

    /* Video icons - maintain 3x3 but smaller */
    .icons-grid {
        width: 80vw;
        max-width: 400px;
        height: 80vw;
        max-height: 400px;
        gap: 1.5vw;
    }

    /* Testimonials - 2 columns */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .store-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }


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

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-image {
        width: 60px;
        height: 60px;
    }

    .baby-profiles {
        width: 80vw;
        max-width: 350px;
        gap: min(1.5rem, 2vw);
    }

    .baby-profile {
        min-width: 120px;
        padding: 1.25rem;
    }

    .multi-baby-feature {
        padding: 2rem 1rem;
    }

    .multi-baby-feature h3 {
        font-size: 1.6rem;
    }

    .screenshot-slide {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .screenshot-info {
        text-align: center;
    }

    .screenshot-info h4 {
        font-size: 1.5rem;
    }

    .phone-frame {
        max-width: 250px;
    }

    .mode-toggle {
        top: 1rem;
        right: 1rem;
    }

    .theme-toggle-btn {
        padding: 0.5rem 0.75rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        padding: 1rem;
    }

    .logo {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: 2rem;
    }

    /* Features - keep 2x3 but much smaller */
    .features-grid {
        width: 85vw;
        max-width: 600px;
        gap: 1vw;
    }

    .feature-card {
        padding: min(1.25rem, 2.5vw);
        border-radius: min(15px, 2.5vw);
    }

    .feature-title {
        font-size: min(1.1rem, 3vw);
    }

    .feature-description {
        font-size: min(0.85rem, 2.5vw);
    }

    /* Testimonials - single column */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .features,
    .app-preview,
    .testimonials,
    .download,
    .activity-icons {
        padding: 3rem 0;
    }

    /* Video icons - keep 3x3 but much smaller */
    .icons-grid {
        width: 70vw;
        max-width: 280px;
        height: 70vw;
        max-height: 280px;
        gap: 1vw;
    }

    .activity-icon-card {
        border-radius: 3vw;
        max-border-radius: 15px;
    }

    .activity-video {
        border-radius: 3vw;
        max-border-radius: 15px;
    }

    .activity-icon-card {
        aspect-ratio: 1;
    }

    .multi-baby-feature {
        padding: 1.5rem;
    }

    .baby-profiles {
        width: 85vw;
        max-width: 300px;
        gap: min(1rem, 1.5vw);
    }
    
    .baby-profile {
        padding: min(1.5rem, 2.5vw);
        min-height: min(140px, 20vw);
    }
    
    .mood-grid {
        width: 85vw;
        max-width: 300px;
        gap: 1vw;
    }
    
    .mood-features {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        width: 90vw;
        max-width: 350px;
        gap: 1.5vw;
        margin-top: 2rem;
    }
    
    .mood-feature {
        padding: min(1.5rem, 3vw);
    }
    
    .mood-feature h4 {
        font-size: min(1.1rem, 3.5vw);
    }
    
    .mood-feature p {
        font-size: min(0.85rem, 3vw);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content {
        padding: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        width: 95vw;
        max-width: 1000px;
        gap: 2vw;
    }

    .feature-card {
        padding: min(2.5rem, 4vw);
        border-radius: min(20px, 3vw);
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .feature-title {
        font-size: min(1.4rem, 3.5vw);
    }

    .feature-description {
        font-size: min(1rem, 3vw);
    }

    .icons-grid {
        width: 90vw;
        max-width: 600px;
        height: 90vw;
        max-height: 600px;
        gap: 2vw;
    }

    .activity-icon-card {
        border-radius: min(20px, 4vw);
    }

    .activity-video {
        border-radius: min(20px, 4vw);
    }

    .multi-baby-feature {
        padding: 2rem;
    }

    .baby-profiles {
        width: 70vw;
        max-width: 400px;
        gap: min(2rem, 3vw);
    }

    .baby-profile {
        padding: min(2rem, 3vw);
        border-radius: min(20px, 3vw);
        min-height: min(180px, 25vw);
    }

    .theme-toggle-btn {
        padding: 0.5rem 0.75rem;
        font-size: 1.1rem;
    }
    
    .mood-grid {
        width: 90vw;
        max-width: 400px;
        gap: min(1rem, 1.5vw);
    }
    
    .mood-features {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        width: 95vw;
        max-width: 400px;
        gap: 2vw;
        margin-top: 3rem;
    }
    
    .mood-feature {
        padding: min(2rem, 4vw);
    }
    
    .mood-feature h4 {
        font-size: min(1.2rem, 4vw);
    }
    
    .mood-feature p {
        font-size: min(0.9rem, 3.5vw);
    }
}

/* Animation classes for scroll effects */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page-specific styles */

/* Page Header */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #9C27B0;
}

body.dark-mode .page-header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .nav-menu a {
    color: #e2e8f0;
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    color: #A78BFA;
}

/* Page Titles */
.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

body.dark-mode .page-title {
    color: #f1f5f9;
}

body.dark-mode .page-subtitle {
    color: #94a3b8;
}

/* Pricing Page */
.pricing-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pricing-plans {
    padding: 6rem 0;
    background: #f8fafc;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(156, 39, 176, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(156, 39, 176, 0.15);
}

.pricing-card.featured {
    border-color: #9C27B0;
    box-shadow: 0 8px 30px rgba(156, 39, 176, 0.15);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9C27B0;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0.25rem;
}

.period {
    font-size: 1.2rem;
    color: #64748b;
}

.plan-description {
    color: #64748b;
    font-size: 1.1rem;
}

.coming-soon-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-item .feature-icon {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(286deg) brightness(118%) contrast(119%);
}

.pricing-faq {
    margin-top: 6rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.faq-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Security Page */
.security-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.security-features {
    padding: 6rem 0;
    background: #f8fafc;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(156, 39, 176, 0.1);
    transition: transform 0.3s ease;
}

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

.security-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.security-icon img {
    width: 1.8rem;
    height: 1.8rem;
    filter: brightness(0) invert(1);
}

.security-card h3 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.security-card p {
    color: #64748b;
    line-height: 1.6;
}

.technical-details {
    padding: 6rem 0;
    background: white;
}

.tech-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tech-section h3 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tech-section ul {
    list-style: none;
    padding: 0;
}

.tech-section li {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.tech-section li::before {
    content: '•';
    color: #9C27B0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tech-section strong {
    color: #1e293b;
}

.privacy-comparison {
    padding: 6rem 0;
    background: #f8fafc;
}

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    color: white;
    font-weight: 700;
    padding: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.feature-col {
    font-weight: 600;
    color: #1e293b;
}

.nestquest-col,
.others-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.check-icon,
.cross-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.check-icon {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(286deg) brightness(118%) contrast(119%);
}

.cross-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

/* FAQ Page */
.faq-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.faq-content {
    padding: 6rem 0;
    background: #f8fafc;
}

.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    color: #1e293b;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(286deg) brightness(118%) contrast(119%);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.faq-contact {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-contact h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.faq-contact p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-content {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9C27B0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) invert(1);
}

.contact-details h3 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #64748b;
    margin-bottom: 0.25rem;
}

.response-time {
    color: #9C27B0;
    font-size: 0.9rem;
    font-weight: 500;
}

.faq-link {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-link h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.faq-link p {
    color: #64748b;
    margin-bottom: 1rem;
}

.privacy-notice {
    padding: 4rem 0;
    background: white;
}

.privacy-card {
    display: flex;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid #9C27B0;
}

.privacy-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-icon img {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) invert(1);
}

.privacy-content h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.privacy-content p {
    color: #64748b;
    line-height: 1.6;
}

.privacy-content a {
    color: #9C27B0;
    text-decoration: none;
}

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

/* Dark mode for all pages */
body.dark-mode .pricing-hero,
body.dark-mode .security-hero,
body.dark-mode .faq-hero,
body.dark-mode .contact-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e40af 100%);
}

body.dark-mode .pricing-plans,
body.dark-mode .security-features,
body.dark-mode .faq-content,
body.dark-mode .contact-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .pricing-card,
body.dark-mode .security-card,
body.dark-mode .faq-item,
body.dark-mode .contact-form,
body.dark-mode .contact-method,
body.dark-mode .faq-link,
body.dark-mode .comparison-table {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(167, 139, 250, 0.2);
}

body.dark-mode .technical-details,
body.dark-mode .privacy-notice {
    background: #0f172a;
}

body.dark-mode .plan-name,
body.dark-mode .amount,
body.dark-mode .security-card h3,
body.dark-mode .category-title,
body.dark-mode .faq-question h3,
body.dark-mode .contact-form-section h2,
body.dark-mode .contact-info-section h2,
body.dark-mode .contact-details h3,
body.dark-mode .privacy-content h3,
body.dark-mode .tech-section h3,
body.dark-mode .feature-col,
body.dark-mode .faq-contact h2,
body.dark-mode .faq-link h3,
body.dark-mode .form-group label {
    color: #f1f5f9;
}

body.dark-mode .plan-description,
body.dark-mode .security-card p,
body.dark-mode .faq-item p,
body.dark-mode .contact-details p,
body.dark-mode .privacy-content p,
body.dark-mode .tech-section li,
body.dark-mode .faq-contact p,
body.dark-mode .faq-link p,
body.dark-mode .faq-answer p {
    color: #94a3b8;
}

body.dark-mode .security-icon,
body.dark-mode .contact-icon,
body.dark-mode .privacy-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(167, 139, 250, 0.2);
    color: #f1f5f9;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

body.dark-mode .privacy-card {
    background: rgba(30, 41, 59, 0.6);
    border-left-color: #6366f1;
}

/* Mobile responsiveness for pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .plans-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .comparison-header {
        display: none;
    }
    
    .comparison-row {
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .privacy-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Legal Pages */
.legal-content {
    padding: 6rem 0;
    background: #f8fafc;
}

.legal-text {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-summary,
.terms-summary {
    background: linear-gradient(135deg, #9C27B0, #A78BFA);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.privacy-summary h2,
.terms-summary h2 {
    color: white;
    margin-bottom: 1rem;
}

.privacy-summary p,
.terms-summary p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.legal-text h2 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-text li {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-text strong {
    color: #1e293b;
    font-weight: 600;
}

.legal-text a {
    color: #9C27B0;
    text-decoration: none;
}

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

.policy-footer {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    border-left: 4px solid #9C27B0;
}

.policy-footer p {
    color: #1e293b;
    font-weight: 500;
    margin: 0;
}

/* Dark mode for legal pages */
body.dark-mode .legal-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .legal-text {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(167, 139, 250, 0.2);
}

body.dark-mode .privacy-summary,
body.dark-mode .terms-summary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

body.dark-mode .legal-text h2 {
    color: #f1f5f9;
    border-bottom-color: rgba(167, 139, 250, 0.2);
}

body.dark-mode .legal-text p,
body.dark-mode .legal-text li {
    color: #94a3b8;
}

body.dark-mode .legal-text strong {
    color: #f1f5f9;
}

body.dark-mode .legal-text a {
    color: #A78BFA;
}

body.dark-mode .policy-footer {
    background: rgba(30, 41, 59, 0.8);
    border-left-color: #6366f1;
}

body.dark-mode .policy-footer p {
    color: #f1f5f9;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
