/* =============================================
   Family Creations - Custom CSS
   ============================================= */

/* --- Utilities --- */
.section-pad {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 12px;
}

.app-tag {
    display: inline-block;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Navbar --- */
.fc-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 20px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    background: transparent;
}

.fc-navbar .container {
    gap: 16px;
}

.fc-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.3px;
    transition: color 0.3s;
}

.fc-logo-mark {
    background: white;
    color: #198754;
    font-size: 0.75rem;
    font-weight: 900;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
}

.fc-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.fc-nav-links li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.fc-nav-links li a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.fc-nav-cta {
    background: white !important;
    color: #198754 !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
}

.fc-nav-cta:hover {
    background: #f0fdf4 !important;
    color: #15803d !important;
}

.fc-toggler {
    background: none;
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

/* --- Navbar scrolled state --- */
.fc-navbar-scrolled {
    background: white;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.06);
    padding: 12px 0;
}

.fc-navbar-scrolled .fc-navbar-brand {
    color: #1a1a2e;
}

.fc-navbar-scrolled .fc-logo-mark {
    background: #198754;
    color: white;
}

.fc-navbar-scrolled .fc-nav-links li a {
    color: #6b7280;
}

.fc-navbar-scrolled .fc-nav-links li a:hover {
    color: #198754;
    background: rgba(25,135,84,0.06);
}

.fc-navbar-scrolled .fc-nav-cta {
    background: #198754 !important;
    color: white !important;
}

.fc-navbar-scrolled .fc-nav-cta:hover {
    background: #15803d !important;
    color: white !important;
}

.fc-navbar-scrolled .fc-toggler {
    border-color: #d1d5db;
    color: #374151;
}

/* Mobile nav */
@media (max-width: 991px) {
    .fc-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 0 8px;
    }

    .fc-nav-links li a {
        color: #374151;
    }

    .fc-navbar {
        background: white;
        box-shadow: 0 1px 0 rgba(0,0,0,0.08);
        padding: 14px 0;
    }

    .fc-navbar-brand {
        color: #1a1a2e;
    }

    .fc-logo-mark {
        background: #198754;
        color: white;
    }
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #0f4c2a 0%, #198754 50%, #146c43 100%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.88;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- App Store Buttons --- */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}

.btn-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.btn-store span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-store span small {
    font-size: 0.72rem;
    opacity: 0.8;
}

.btn-store span strong,
.btn-store span {
    font-weight: 700;
}

.btn-store-dark {
    background: rgba(0,0,0,0.85);
    color: white;
    border: 2px solid rgba(0,0,0,0.85);
}

.btn-store-dark:hover {
    color: white;
    background: #000;
}

.btn-store-outline {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}

.btn-store-outline:hover {
    color: white;
    background: rgba(255,255,255,0.25);
}

/* --- Phone Mockup --- */
.phone-mockup {
    width: 240px;
    height: 488px;
    background: #1a1a2e;
    border-radius: 40px;
    border: 7px solid rgba(255,255,255,0.15);
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 6px;
    background: rgba(255,255,255,0.18);
    border-radius: 3px;
    z-index: 10;
}

.phone-screen {
    position: absolute;
    inset: 0;
    border-radius: 33px;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 16px 16px;
}

/* Phone screen — home screen content */
.ps-app-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.ps-week-block {
    text-align: center;
    margin-bottom: 16px;
}

.ps-week-label {
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ps-week-num {
    color: white;
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
}

.ps-week-sub {
    color: #64748b;
    font-size: 11px;
    margin-top: 2px;
}

.ps-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 20px;
}

.ps-progress-fill {
    height: 100%;
    background: #198754;
    border-radius: 2px;
}

.ps-pill {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 9px 16px;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    text-align: center;
}

.ps-sync-badge {
    margin-top: auto;
    background: rgba(25, 135, 84, 0.3);
    border: 1px solid rgba(25, 135, 84, 0.5);
    color: #4ade80;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Phone screen — names screen */
.phone-screen-names {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
}

.names-card {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 20px 16px 16px;
    text-align: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.names-current {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 14px;
}

.names-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.names-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}

.names-btn:hover {
    transform: scale(1.1);
}

.names-btn-no {
    background: rgba(220,53,69,0.15);
    color: #dc3545;
}

.names-btn-yes {
    background: rgba(25,135,84,0.15);
    color: #198754;
}

.names-match-alert {
    width: 100%;
    background: linear-gradient(135deg, #198754, #20c997);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 14px;
}

.names-recent {
    width: 100%;
    margin-top: auto;
}

.names-recent-label {
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.names-chip {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-right: 6px;
    margin-bottom: 4px;
}

.names-chip-pending {
    opacity: 0.5;
}

/* --- Feature Cards --- */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.feature-icon-green {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.feature-icon-red {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.feature-icon-yellow {
    background: rgba(255, 193, 7, 0.12);
    color: #e6a800;
}

.feature-icon-blue {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* --- Service Cards (for services section) --- */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.service-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h5 {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.service-card p {
    color: #6c757d;
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

/* --- Product Cards --- */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.product-card-header {
    padding: 32px 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.product-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.product-card-body {
    padding: 0 28px 28px;
}

.product-card-body h5 {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.product-card-body p {
    color: #6c757d;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.product-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

/* --- Featured Product Card --- */
.product-card-featured {
    background: white;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
    border: 2px solid rgba(25,135,84,0.2);
}

/* --- App Features List --- */
.app-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-size: 0.97rem;
    color: #374151;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.app-features-list li:last-child {
    border-bottom: none;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #0f4c2a 0%, #198754 60%, #146c43 100%);
    padding: 100px 0;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 48px;
}

/* --- Hero Stats --- */
.hero-stat {
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    backdrop-filter: blur(4px);
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.8rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- About Section --- */
.about-stat {
    background: white;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-card-group {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.about-dev-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-dev-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-values-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-tag-cloud span {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 50px;
}

/* --- Por qué elegirnos Section --- */
.why-section {
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25,135,84,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.why-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.app-tag-light {
    display: inline-block;
    background: rgba(25,135,84,0.2);
    border: 1px solid rgba(25,135,84,0.4);
    color: #4ade80;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.07);
}

.why-card-featured {
    background: rgba(25,135,84,0.12);
    border-color: rgba(25,135,84,0.3);
}

.why-card-featured:hover {
    background: rgba(25,135,84,0.18);
}

.why-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: Arial Black, sans-serif;
}

.why-icon {
    width: 52px;
    height: 52px;
    background: rgba(25,135,84,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #4ade80;
    margin-bottom: 20px;
}

.why-card-featured .why-icon {
    background: rgba(25,135,84,0.3);
}

.why-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* --- Privacy Pages --- */
.privacy-hero {
    background: linear-gradient(135deg, #0f4c2a 0%, #198754 100%);
}

.privacy-hero-purple {
    background: linear-gradient(135deg, #312e81 0%, #6366f1 100%);
}

.privacy-hero-blue {
    background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
}

.privacy-hero-pink {
    background: linear-gradient(135deg, #831843 0%, #ec4899 100%);
}

.privacy-content {
    padding: 60px 0 40px;
    max-width: 800px;
}

.privacy-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #f0f0f0;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #198754;
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 8px;
    flex-shrink: 0;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
}

.privacy-list li i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1rem;
}

.privacy-alert {
    background: #fff8e1;
    border: 1px solid #fbbf24;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.privacy-alert-icon {
    color: #d97706;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-alert h5 {
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.privacy-alert p {
    color: #78350f;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Privacy hub - app cards */
.privacy-app-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.privacy-app-card:hover {
    border-color: #198754;
    box-shadow: 0 4px 20px rgba(25,135,84,0.1);
    transform: translateY(-2px);
    color: inherit;
}

.privacy-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.privacy-tag {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 50px;
    margin-right: 4px;
}

.privacy-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 24px 0;
    margin-top: 40px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .section-pad {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 50px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .cta-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
}
