/* web/styles.css */

/* 🎨 1. THEME VARIABLES */
.dark-theme {
    --bg-color: #080D0B; /* Deep Biotech Charcoal */
    --bg-gradient: linear-gradient(135deg, #050B0A 0%, #0A1B17 50%, #06110E 100%);
    --navbar-bg: rgba(8, 13, 11, 0.82);
    --text-color: #E0F7FA; /* Soft Mint White */
    --text-muted: #8EAEA5;
    --card-bg: rgba(12, 27, 23, 0.65);
    --card-border: rgba(0, 191, 165, 0.12);
    --border-color: #15322B;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --success-card-hover-border: rgba(0, 191, 165, 0.5);
    --glow-color: rgba(0, 191, 165, 0.25);
    
    --sun-display: block;
    --moon-display: none;
}

.light-theme {
    --bg-color: #F4FBF9; /* Soothing Mint White */
    --bg-gradient: linear-gradient(135deg, #E8F8F5 0%, #FDFEFE 50%, #E8F6F3 100%);
    --navbar-bg: rgba(255, 255, 255, 0.88);
    --text-color: #172F29; /* Dark Forest Teal */
    --text-muted: #668880;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(0, 191, 165, 0.12);
    --border-color: #D1F2EB;
    --shadow-color: rgba(0, 191, 165, 0.08);
    --success-card-hover-border: rgba(0, 191, 165, 0.35);
    --glow-color: rgba(0, 191, 165, 0.15);
    
    --sun-display: none;
    --moon-display: block;
}

:root {
    --primary-color: #00BFA5; /* Emerald Mint */
    --primary-dark: #00897B;
    --accent-color: #00E5FF; /* Glowing Cyan */
    --gradient-match: linear-gradient(135deg, #00BFA5 0%, #00E5FF 50%, #00897B 100%);
    --gradient-premium: linear-gradient(135deg, #00BFA5 0%, #009688 50%, #00897B 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-speed: 0.5s;
}

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

body {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, background var(--transition-speed) ease;
}

/* 🌸 Healthcare Floating Elements */
.romantic-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.rom-item {
    position: absolute;
    bottom: -50px;
    font-size: 24px;
    opacity: 0;
    will-change: transform, opacity;
    animation: floatUp 12s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(0.6) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--op, 0.45);
    }
    85% {
        opacity: var(--op, 0.45);
    }
    100% {
        transform: translateY(-105vh) translateX(var(--sway-x, 40px)) scale(1.1) rotate(360deg);
        opacity: 0;
    }
}

/* 🎆 Theme Change Burst Particle styling */
.theme-burst-particle {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    font-size: 16px;
    animation: themeBurstMove 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes themeBurstMove {
    0% {
        transform: translate(0, 0) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.2);
        opacity: 0;
    }
}

/* 🌀 Background Ambient Blurs */
.bg-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -2;
    opacity: 0.3;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease, background var(--transition-speed) ease;
}

.bg-glow-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(0, 191, 165, 0) 70%);
}

.bg-glow-2 {
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(0, 229, 255, 0) 70%);
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 191, 165, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 165, 0.02) 1px, transparent 1px);
    background-size: 65px 65px;
    z-index: -1;
    pointer-events: none;
}

/* 🧭 Fixed Header / Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--card-border);
    z-index: 100;
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo icon styling */
.logo-img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 191, 165, 0.5);
    padding: 2px;
    background-color: #FFF;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #00BFA5 0%, #00897B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

/* 🌗 Theme Toggle Button */
.theme-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 20px;
    transition: all 0.2s ease;
}

.theme-btn:hover {
    background: rgba(0, 191, 165, 0.1);
    border-color: var(--primary-color);
}

.dark-theme .sun-icon { display: var(--sun-display); }
.dark-theme .moon-icon { display: var(--moon-display); }
.light-theme .sun-icon { display: var(--sun-display); }
.light-theme .moon-icon { display: var(--moon-display); }

/* 🔘 Dynamic Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-match);
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 191, 165, 0.3);
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 191, 165, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--card-border);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.btn-secondary:hover {
    background: rgba(0, 191, 165, 0.08);
    border-color: var(--primary-color);
}

.btn-icon {
    font-size: 22px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-sub {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.8;
}

.btn-main {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

/* 🚀 Hero Section Layout */
.hero-section {
    padding: 100px 24px 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.badge-new {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 191, 165, 0.08);
    border: 1px solid rgba(0, 191, 165, 0.2);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    width: fit-content;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-content h1 span {
    background: var(--gradient-match);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 520px;
}

/* Hero Stats Section */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 18px 24px;
    border-radius: 16px;
    width: fit-content;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-item p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 📱 Hero Visual (Floating App Cards) */
.hero-visual {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 191, 165, 0.2);
    animation: rotateRing 20s linear infinite;
}

.heart-pulse-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 165, 0.2) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseHeart 1.8s ease-in-out infinite;
}

.heart-pulse-icon ion-icon {
    font-size: 58px;
    color: var(--primary-color);
    filter: drop-shadow(0 4px 16px rgba(0, 191, 165, 0.6));
}

.floating-profile {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 20px 45px var(--shadow-color);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.profile-left {
    top: 5%;
    left: -12%;
    animation: floatLeftCard 6s ease-in-out infinite;
    z-index: 5;
}

.profile-right {
    top: 50%;
    right: -12%;
    animation: floatRightCard 6s ease-in-out infinite;
    z-index: 5;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 191, 165, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.profile-details h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
}

.profile-details p {
    font-size: 12px;
    color: var(--text-muted);
}

.match-score {
    background: var(--gradient-match);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: 8px;
}

/* Floating Chat Bubble on Hero Section */
.floating-chat-bubble {
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 280px;
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 15px 35px var(--shadow-color);
    z-index: 6;
    animation: float1 7s ease-in-out infinite;
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.dot-online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00BFA5;
    display: inline-block;
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-msg {
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.4;
}

.msg-other {
    background-color: var(--border-color);
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    transition: background-color var(--transition-speed) ease;
}

.msg-me {
    background: var(--gradient-match);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

/* Floating micro bubbles inside Hero visual */
.mini-bubble {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.bubble-1 {
    top: 50%;
    left: -10%;
    animation: float1 5s ease-in-out infinite;
}

.bubble-2 {
    bottom: 30%;
    right: -10%;
    animation: float2 5.5s ease-in-out infinite;
}

.bubble-3 {
    top: 35%;
    left: 40%;
    animation: float1 4s ease-in-out infinite;
}

/* 💖 Success Stories (Doctor Reviews Section) */
.success-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    transition: border-color var(--transition-speed) ease;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.success-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 0;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.success-card:hover {
    transform: translateY(-8px);
    border-color: var(--success-card-hover-border);
    box-shadow: 0 20px 45px var(--shadow-color);
}

.couple-image-wrap {
    width: 100%;
    height: 340px;
    overflow: hidden;
    position: relative;
}

.couple-img-display {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.success-card:hover .couple-img-display {
    transform: scale(1.04);
}

.success-card-content {
    padding: 32px;
}

.success-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.tag-wedding {
    display: inline-block;
    background: rgba(0, 191, 165, 0.08);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 18px;
}

/* Chat dialog within stories */
.story-chat-preview {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--card-border);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dark-theme .story-chat-preview {
    background: rgba(0, 0, 0, 0.2);
}

.story-bubble {
    font-size: 12px;
    color: var(--text-color);
    line-height: 1.4;
    padding: 8px 12px;
    background-color: var(--border-color);
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    max-width: 90%;
    align-self: flex-start;
    transition: background-color var(--transition-speed) ease;
}

.story-bubble strong {
    color: var(--primary-color);
}

.story-bubble.reply {
    background: var(--gradient-match);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 12px;
}

.story-bubble.reply strong {
    color: white;
}

.story-desc {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.story-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    transition: border-color var(--transition-speed) ease;
}

/* 🎨 Features Section */
.features-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    transition: border-color var(--transition-speed) ease;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-title-wrap p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 191, 165, 0.3);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.feat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 26px;
}

.pink-bg { background: rgba(0, 191, 165, 0.1); color: #00BFA5; }
.orange-bg { background: rgba(0, 229, 255, 0.1); color: #00E5FF; }
.purple-bg { background: rgba(0, 137, 123, 0.1); color: #00897B; }

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
}

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

/* ⚙️ How It Works Section */
.how-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    transition: border-color var(--transition-speed) ease;
}

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

.step-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.step-badge {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-match);
    color: white;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.4);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    margin: 12px 0 12px 0;
}

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

/* 📣 Banner CTA */
.banner-cta {
    background: linear-gradient(135deg, rgba(0, 191, 165, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 24px;
    text-align: center;
    transition: border-color var(--transition-speed) ease;
}

.banner-inner {
    max-width: 800px;
    margin: 0 auto;
}

.banner-inner h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.banner-inner p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.banner-actions {
    display: flex;
    justify-content: center;
}

/* 🔎 SEO Keywords Directory */
.seo-directory-section {
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.05);
    transition: border-color var(--transition-speed) ease;
}

.dark-theme .seo-directory-section {
    background-color: rgba(0, 0, 0, 0.15);
}

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

.seo-toggle-btn {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 18px 24px;
    border-radius: 14px;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease, background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.seo-toggle-btn:hover {
    background: rgba(0, 191, 165, 0.05);
    border-color: var(--primary-color);
}

.chevron-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.seo-content-panel {
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 1;
    overflow: hidden;
    margin-top: 20px;
}

.seo-content-panel.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    transition: border-color var(--transition-speed) ease;
}

.seo-column h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seo-column ul {
    list-style: none;
}

.seo-column li {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    cursor: default;
}

.seo-column li:hover {
    color: var(--text-color);
}

.seo-mega-tags {
    padding-top: 30px;
}

.seo-mega-tags h5 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-color);
}

.seo-mega-tags p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
}

/* 🏷️ Detailed Footer */
footer {
    padding: 80px 24px 60px 24px;
    border-top: 1px solid var(--border-color);
    transition: border-color var(--transition-speed) ease;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.footer-brand-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
}

.footer-brand-area p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

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

.copyright {
    grid-column: 1 / span 2;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    transition: border-color var(--transition-speed) ease;
}

/* 💫 Animations */
@keyframes float1 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(4deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-4deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(0, 191, 165, 0.6)); }
    100% { transform: scale(1); }
}

@keyframes floatLeftCard {
    0% { transform: translateY(0px) rotate(-1.5deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(-1.5deg); }
}

@keyframes floatRightCard {
    0% { transform: translateY(0px) rotate(1.5deg); }
    50% { transform: translateY(-15px) rotate(-0.5deg); }
    100% { transform: translateY(0px) rotate(1.5deg); }
}

/* 📱 10. RESPONSIVE DESIGN FOR ALL DEVICES (TV, LAPTOP, DESKTOP, TABLET, MOBILE) */

/* 📺 A. Ultra-Large Displays & TVs (>= 1600px) */
@media (min-width: 1600px) {
    .hero-container, .nav-container, .success-section, .features-section, .how-section, .interactive-section, .seo-container, .footer-container {
        max-width: 1440px;
    }
    .hero-content h1 {
        font-size: 76px;
    }
    body {
        font-size: 18px;
    }
}

/* 💻 B. Standard Laptops & Large Tablets (993px - 1199px) */
@media (max-width: 1199px) {
    .hero-container {
        gap: 40px;
    }
    .hero-content h1 {
        font-size: 52px;
    }
}

/* 📠 C. Small Laptops & Tablets (768px - 992px) */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-stats {
        margin: 0 auto 30px auto;
    }
    .success-grid, .features-grid, .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto;
    }
    .seo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand-area {
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }
    .footer-nav-links {
        justify-content: center;
    }
    .copyright {
        grid-column: 1;
    }
}

/* 📱 D. Portrait Tablets & Mobile Devices (481px - 767px) */
@media (max-width: 767px) {
    .nav-menu {
        display: none; /* Collapsed on mobile */
    }
    .nav-container {
        padding: 12px 16px;
    }
    .hero-section {
        padding: 50px 16px 70px 16px;
    }
    .hero-content h1 {
        font-size: 40px;
        text-align: center;
    }
    .hero-content p {
        text-align: center;
        font-size: 15px;
    }
    .hero-stats {
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        max-width: 480px;
        margin: 0 auto 30px auto;
        padding: 12px 16px;
        gap: 8px;
    }
    .stat-item h3 {
        font-size: 20px;
    }
    .stat-item p {
        font-size: 9px;
    }
    .hero-cta {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .hero-cta .btn-primary {
        width: 100%;
        max-width: 290px;
        padding: 14px 20px;
        font-size: 14px;
        animation: mobileCtaPulseVaidhya 2s infinite ease-in-out;
    }
    @keyframes mobileCtaPulseVaidhya {
        0% { transform: scale(1); box-shadow: 0 8px 20px rgba(0, 191, 165, 0.3); }
        50% { transform: scale(1.03); box-shadow: 0 12px 28px rgba(0, 191, 165, 0.55); }
        100% { transform: scale(1); box-shadow: 0 8px 20px rgba(0, 191, 165, 0.3); }
    }
    .hero-visual {
        height: 380px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        overflow: visible;
        margin-top: 20px;
    }
    .glow-ring {
        width: 220px;
        height: 220px;
        position: absolute;
    }
    .heart-pulse-icon {
        width: 90px;
        height: 90px;
        position: absolute;
    }
    .heart-pulse-icon ion-icon {
        font-size: 46px;
    }
    .floating-profile {
        padding: 10px 14px;
        border-radius: 16px;
        max-width: 240px;
        z-index: 5;
    }
    .profile-left {
        left: 0%;
        top: 8%;
        transform: scale(0.85) !important;
        animation: floatLeftCard 6s ease-in-out infinite;
    }
    .profile-right {
        right: 0%;
        top: 45%;
        transform: scale(0.85) !important;
        animation: floatRightCard 6s ease-in-out infinite;
    }
    .floating-chat-bubble {
        width: 240px;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%) scale(0.88);
        z-index: 6;
        animation: float1 7s ease-in-out infinite;
    }
    .mini-bubble {
        width: 32px;
        height: 32px;
    }
    .bubble-1 { left: 4%; top: 52%; }
    .bubble-2 { right: 4%; top: 20%; }
    .bubble-3 { display: none !important; }

    .success-section, .features-section, .how-section, .interactive-section {
        padding: 60px 16px;
    }
    .calc-inputs-row {
        flex-direction: column;
        gap: 16px;
    }
    .heart-separator {
        transform: rotate(90deg);
        margin: 6px 0;
    }
}

/* 📟 E. Ultra-Small Mobiles & Foldables (< 480px) */
@media (max-width: 480px) {
    .nav-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    .theme-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
        border-radius: 8px;
    }
    .logo span {
        font-size: 18px;
    }
    .logo-img {
        height: 32px;
        width: 32px;
    }
    .hero-content h1 {
        font-size: 30px;
        letter-spacing: -1px;
    }
    .hero-stats {
        padding: 10px;
        gap: 6px;
    }
    .stat-item h3 {
        font-size: 18px;
    }
    .stat-item p {
        font-size: 8px;
    }
    .hero-visual {
        height: 320px;
        transform: scale(0.88);
        margin-top: 10px;
    }
    .floating-profile {
        max-width: 200px;
    }
    .profile-left {
        left: -8%;
    }
    .profile-right {
        right: -8%;
    }
    .floating-chat-bubble {
        width: 220px;
        bottom: -15px;
    }
    .seo-grid {
        grid-template-columns: 1fr;
    }
    .footer-nav-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 💖 11. INTERACTIVE HEALTH CALCULATOR & GAMES */
.interactive-section {
    padding: 90px 24px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.interactive-container {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.badge-mini {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 191, 165, 0.08);
    border: 1px solid rgba(0, 191, 165, 0.2);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.interactive-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.interactive-header p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.calc-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 40px 32px;
    box-shadow: 0 15px 40px var(--shadow-color);
    position: relative;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.calc-hearts-decor {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
    font-size: 26px;
}

.decor-heart {
    animation: simpleSway 4s ease-in-out infinite alternate;
}

.sway-1 { animation-delay: 0s; }
.sway-2 { animation-delay: 1.5s; }
.sway-3 { animation-delay: 0.8s; }

@keyframes simpleSway {
    0% { transform: translateY(0) rotate(-10deg); }
    100% { transform: translateY(-10px) rotate(10deg); }
}

.calc-inputs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.input-group {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.love-input {
    background: rgba(0, 0, 0, 0.03);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-color);
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

.dark-theme .love-input {
    background: rgba(255, 255, 255, 0.03);
}

.love-input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 191, 165, 0.02);
    box-shadow: 0 0 12px rgba(0, 191, 165, 0.15);
}

.heart-separator {
    font-size: 32px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-pulse-active {
    animation: heartPulseIconEffect 1.2s infinite ease-in-out;
}

@keyframes heartPulseIconEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(0, 191, 165, 0.6)); }
    100% { transform: scale(1); }
}

.calculate-btn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Result panel reveal animation */
.calc-result-panel {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scaleInResult 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.calc-result-panel.hidden {
    display: none;
}

@keyframes scaleInResult {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.score-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
}

.result-verdict {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.result-message {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.6;
}

/* Burst heart particle for explosion */
.burst-heart-particle {
    position: absolute;
    pointer-events: none;
    z-index: 100;
    font-size: 18px;
    animation: heartExplodeMove 1s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes heartExplodeMove {
    0% {
        transform: translate(0, 0) scale(0.5) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1.3) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .calc-inputs-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .heart-separator {
        transform: rotate(90deg);
        margin: 6px 0;
    }
}
