/* ============================================
   SADEE JODI — Home Page Styles
   ============================================ */

/* ---- HERO SECTION ---- */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: 100px 0 60px;
}


.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(233,30,99,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-body), transparent);
    pointer-events: none;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    animation: heroTextReveal 1s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(233, 30, 99, 0.08);
    border: 1px solid rgba(233, 30, 99, 0.15);
    border-radius: var(--border-radius-pill);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-badge span {
    font-size: var(--fs-sm);
    color: var(--primary-light);
    font-weight: var(--fw-medium);
}

.hero-title {
    font-size: var(--fs-6xl);
    font-weight: var(--fw-black);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.3;
}

/* ---- TYPEWRITER EFFECT ---- */
.typewriter-title {
    min-height: 1.2em;
    display: block;
}

.typewriter-title .typewriter-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-title .typewriter-cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: var(--fw-light);
    animation: blink 0.8s infinite;
    margin-left: 2px;
    -webkit-text-fill-color: var(--primary);
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    line-height: var(--lh-relaxed);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-weight: var(--fw-medium);
}

/* Hero Image/Visual Side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.2s ease 0.5s both;
}

.hero-image-wrapper {
    position: relative;
    width: 420px;
    height: auto;
}

.hero-image-main {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(233, 30, 99, 0.15);
}

.hero-float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    animation: heroImageFloat 4s ease-in-out infinite;
}

.hero-float-card.card-match {
    top: -15px;
    right: -30px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    animation-delay: 0.5s;
    z-index: 5;
}

.hero-float-card.card-match .match-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 230, 118, 0.15);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
}

.hero-float-card.card-match .match-text {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
}

.hero-float-card.card-match .match-text span {
    display: block;
    color: var(--success);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
}

.hero-float-card.card-verified {
    bottom: 15%;
    left: -50px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation-delay: 1s;
}

.hero-float-card.card-verified .verified-icon {
    font-size: var(--fs-xl);
}

.hero-float-card.card-verified .verified-text {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--info);
}

.hero-orbital {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(233, 30, 99, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbitalSpin 30s linear infinite;
    pointer-events: none;
}

.hero-orbital::before {
    content: '💕';
    position: absolute;
    top: 0;
    left: 50%;
    font-size: 20px;
    transform: translate(-50%, -50%);
}

/* ---- QUICK SEARCH WIDGET ---- */
.quick-search {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 5;
}

.search-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    align-items: flex-end;
    gap: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.search-widget .search-field {
    flex: 1;
}

.search-widget .search-field label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--fw-medium);
}

.search-widget .search-field select,
.search-widget .search-field input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: var(--fs-sm);
    appearance: none;
}

.search-widget .btn {
    flex-shrink: 0;
    padding: 12px 32px;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
    background: var(--bg-body);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-color-light), var(--border-color-light), transparent);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
}

.step-card .step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-xl);
    background: var(--gradient-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover .step-icon {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-5px);
}

.step-card .step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: #fff;
}

.step-card h4 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
}

.step-card p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ---- FEATURED PROFILES ---- */
.featured-profiles {
    background: var(--bg-surface);
    overflow: hidden;
}

.profiles-carousel {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    padding: var(--space-md) 0 var(--space-xl);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.profiles-carousel::-webkit-scrollbar {
    display: none;
}

/* ---- CAROUSEL NAV BUTTONS ---- */
.carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: var(--fs-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-primary);
}

.profile-card {
    min-width: 280px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.profile-card:hover {
    border-color: var(--border-color-active);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.profile-card .profile-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    position: relative;
}

.profile-card .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0);
    transition: filter var(--transition-base);
}

.profile-card.blurred .profile-image img {
    filter: blur(8px);
}

/* Blur overlay for guest users — prompts registration */
.profile-card .blur-overlay {
    display: none;
}

.profile-card.blurred .blur-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.profile-card.blurred .blur-overlay i {
    font-size: 28px;
    opacity: 0.9;
}

.profile-card.blurred .blur-overlay:hover {
    background: rgba(233, 30, 99, 0.35);
}

.profile-card .profile-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius-pill);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--gold);
}

.profile-card .profile-info {
    padding: var(--space-lg);
}

.profile-card .profile-name {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-xs);
}

.profile-card .profile-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.profile-card .profile-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-card .profile-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-card .match-percent {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--success);
}

.profile-card .profile-actions {
    display: flex;
    gap: var(--space-sm);
}

.profile-card .profile-actions .action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: var(--fs-md);
    transition: all var(--transition-fast);
}

.profile-card .profile-actions .action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.profile-card .profile-actions .action-btn.liked {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---- SUCCESS STORIES ---- */
.success-stories {
    background: var(--bg-body);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.story-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.story-card:hover {
    border-color: var(--border-color-active);
    transform: translateY(-4px);
}

.story-card .story-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.story-card .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-card .story-content {
    padding: var(--space-lg);
}

.story-card .story-couple {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
}

.story-card .story-text {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: var(--lh-relaxed);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card .story-date {
    font-size: var(--fs-xs);
    color: var(--primary);
    font-weight: var(--fw-medium);
}

/* ---- STATS COUNTER SECTION ---- */
.stats-section {
    background: var(--gradient-primary);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item .stat-icon {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: var(--space-md);
    display: block;
}

.stat-item .stat-count {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-black);
    color: #fff;
    margin-bottom: var(--space-xs);
}

.stat-item .stat-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- MEMBERSHIP PREVIEW ---- */
.membership-preview {
    background: var(--bg-surface);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.plan-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.plan-card.popular {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow-gold);
    transform: scale(1.05);
}

.plan-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-gold);
    color: #111;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-card .plan-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.plan-card .plan-name {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-sm);
}

.plan-card .plan-price {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.plan-card .plan-duration {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.plan-card .plan-features {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.plan-card .plan-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.plan-card .plan-features li:last-child {
    border-bottom: none;
}

.plan-card .plan-features li .feature-icon {
    font-size: var(--fs-md);
}

.plan-card .plan-features li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

/* ---- CTA / DOWNLOAD SECTION ---- */
.cta-section {
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(233,30,99,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-wrapper h2 {
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-md);
}

.cta-wrapper p {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
