* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B9D;
    --secondary: #8B5CF6;
    --dark: #1F2937;
    --light: #FFF9F0;
    --gray: #6B7280;
    --success: #10B981;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.6;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #FFF9F0 0%, #F5EFE6 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px 0;
    text-align: center;
}

.hero-content-centered {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 0;
}

.google-play-badge {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.google-play-badge img {
    height: 80px;
    width: auto;
}

.google-play-badge:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
}

/* Features */
.features {

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: var(--light);
    border: 2px solid #E9D5FF; /* ✅ ADDED OUTLINE */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; /* ✅ ADDED border-color */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: var(--secondary); /* ✅ ADDED */
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

.feature-icon svg {
    transition: transform 0.3s, stroke 0.3s;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    stroke: var(--primary);
}

/* Family */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.family-member {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    border: 2px solid #E9D5FF; /* ✅ ADDED OUTLINE */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, border-color 0.3s; /* ✅ ADDED border-color */
}

.family-member:hover {
    transform: translateY(-10px);
    border-color: var(--secondary); /* ✅ ADDED */
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 60px;
    overflow: hidden;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 56px;
    border: 3px solid white;
}

/* Individual character borders */
.family-member:nth-child(1) .member-avatar {
    background: linear-gradient(135deg, #FF6B9D, #FFB6C1);
}

.family-member:nth-child(2) .member-avatar {
    background: linear-gradient(135deg, #4169E1, #1E90FF);
}

.family-member:nth-child(3) .member-avatar {
    background: linear-gradient(135deg, #FF4500, #FF6347);
}

.family-member:nth-child(4) .member-avatar {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.family-member:nth-child(5) .member-avatar {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

.family-member h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}

.member-role {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.family-member p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.family-member:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

/* Pricing */
.pricing {

}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #E9D5FF; /* ✅ CHANGED from transparent */
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary); /* ✅ ADDED */
}

.pricing-card-featured {
    background: var(--secondary);
    color: white;
    border: 3px solid #FFD700; /* ✅ GOLD BORDER */
    transform: scale(1.05);
    box-shadow:
        0 10px 30px rgba(139, 92, 246, 0.3),
        0 0 30px rgba(255, 215, 0, 0.3); /* ✅ GOLD GLOW */
}

.pricing-card-featured:hover {
    border-color: #FFA500; /* ✅ BRIGHTER GOLD ON HOVER */
    box-shadow:
        0 15px 40px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(255, 215, 0, 0.5);
}

.pricing-card-featured .price,
.pricing-card-featured h3,
.pricing-card-featured .features-list li {
    color: white;
}

/* ✅ FIX: Make PRO card button visible with white border */
.pricing-card-featured .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.pricing-card-featured .btn-secondary:hover {
    background: white;
    color: var(--secondary);
}

/* ✅ FIX: Make /year text white */
.pricing-card-featured .price span {
    color: white;
}

/* ✅ FIX: Override PRIMARY button in featured card */
.pricing-card-featured .btn-primary {
    background: white;
    color: var(--secondary);
    border: 2px solid white;
}

.pricing-card-featured .btn-primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* ✅ FIX: Override SECONDARY button in featured card (for other cards if needed) */
.pricing-card-featured .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.pricing-card-featured .btn-secondary:hover {
    background: white;
    color: var(--secondary);
}

.plan-description {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    min-height: 40px;
    line-height: 1.4;
}

.pricing-card-featured .plan-description {
    color: #FFFF00;
    font-weight: 600;
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #FFD700;
    color: #92400E;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}

.price span {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray);
}

.savings {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-card-featured .savings {
    color: #E9D5FF;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    padding: 12px 0;
    color: var(--gray);
    font-weight: 600;
}

.trial-text {
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray);
}

.pricing-card-featured .trial-text {
    color: #E9D5FF;
}

/* Download */
.download {
    color: white;
}

.download .section-title,
.download .section-subtitle {
    color: var(--dark);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button img {
    height: 60px;
    transition: transform 0.3s;
}

.store-button:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    color: var(--dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--gray);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: var(--gray); /* CHANGE from #9CA3AF */
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 40px;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .google-play-badge img {
        height: 60px;
    }
}
