/* ===================================
   AşkBul - Premium Dating App CSS
   Reference-accurate design
   =================================== */

/* --- CSS Variables --- */
:root {
    --red: #E63946;
    --red-dark: #c62828;
    --orange: #FF8C42;
    --yellow: #FFB347;
    --pink: #FF6B6B;
    --pink-light: #FFF0F0;
    --pink-soft: #FFE8E8;
    --dark: #1a1a2e;
    --dark-2: #2d2d44;
    --body: #666;
    --body-light: #999;
    --white: #ffffff;
    --heading: 'Outfit', sans-serif;
    --text: 'Inter', sans-serif;
    --shadow-xs: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(230,57,70,0.15);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --shadow-icon: 0 8px 25px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--text); color: var(--body); background: var(--white); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--dark); line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* --- Utility Colors --- */
.text-gradient { background: linear-gradient(135deg, var(--red), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-red { color: var(--red); }
.text-orange { color: var(--orange); }
.text-yellow { color: var(--yellow); }

/* --- Buttons --- */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white); padding: 14px 32px;
    border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    border: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
    font-family: var(--text);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(230,57,70,0.5); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-large { padding: 16px 38px; font-size: 1rem; }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 18px 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.navbar.scrolled { padding: 12px 0; box-shadow: var(--shadow-xs); background: rgba(255,255,255,0.95); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--heading); font-size: 1.5rem; font-weight: 700; color: var(--dark);
}
.logo-heart { width: 28px; height: 28px; color: var(--red); animation: heartPulse 2s infinite; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--dark); position: relative; transition: color 0.2s; }
.nav-links a.active { color: var(--red); }
.nav-links a:hover { color: var(--red); }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--red); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.cta-btn { font-size: 0.9rem; padding: 10px 24px; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-menu-btn span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 3px; transition: all 0.3s; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); box-shadow: -10px 0 40px rgba(0,0,0,0.1); z-index: 999; padding: 100px 30px 30px; display: flex; flex-direction: column; gap: 20px; transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.mobile-menu.active { right: 0; }
.mobile-link { font-weight: 500; font-size: 1.1rem; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }

/* --- Hero Section --- */
.hero { padding: 160px 0 100px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--white) 0%, var(--pink-light) 50%, var(--white) 100%); }
.hero-container { display: flex; align-items: center; gap: 40px; }
.hero-content { flex: 1; z-index: 2; }

.hero-badge {
    display: inline-block;
    color: var(--red); font-weight: 600; font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero-content h1 { font-size: 3.8rem; font-weight: 800; margin-bottom: 20px; position: relative; }
.h1-heart { position: absolute; top: -10px; left: -5px; width: 36px; height: 36px; opacity: 0.15; }
.hero-content h1 .text-gradient { font-size: inherit; }
.hero-desc { font-size: 1.05rem; color: var(--body); max-width: 440px; margin-bottom: 32px; line-height: 1.8; }
.hero-actions { margin-bottom: 48px; }

/* Hero Stats - ECG heartbeat */
.hero-stats { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.stat-heartbeat {
    display: flex; align-items: center; gap: 6px;
    background: var(--white); padding: 10px 18px; border-radius: 50px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04);
}
.stat-percent { font-family: var(--heading); font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.ecg-line { width: 100px; height: 30px; }
.ecg-line polyline { stroke-dasharray: 300; stroke-dashoffset: 300; animation: ecgDraw 2.5s ease-in-out infinite; }
.stat-heart-icon { animation: heartPulse 1.5s infinite; }

/* Review Badge - Dark style like reference */
.review-badge {
    background: var(--dark); border-radius: 14px; padding: 10px 16px;
    box-shadow: var(--shadow-sm);
}
.review-badge-inner { display: flex; align-items: center; gap: 12px; }
.review-info strong { display: block; color: var(--white); font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.stars { display: flex; gap: 2px; }
.review-avatar-img { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid var(--yellow); }
.review-avatar-img img { width: 100%; height: 100%; object-fit: cover; }

/* Hero Image */
.hero-image-wrapper { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; min-height: 500px; }
.hero-image { width: 380px; height: 480px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; z-index: 3; }

/* Decorative Circles - matching reference */
.deco-circle { position: absolute; border-radius: 50%; z-index: 1; }
.deco-circle-orange { width: 420px; height: 420px; background: var(--orange); right: -30px; top: 10px; opacity: 0.9; }
.deco-circle-red { width: 160px; height: 160px; background: var(--red); bottom: 30px; left: 10px; opacity: 0.25; animation: float 6s ease-in-out infinite; }
.deco-ring { position: absolute; width: 200px; height: 200px; border: 3px solid rgba(230,57,70,0.15); border-radius: 50%; top: 60px; right: 60px; z-index: 2; animation: float 8s ease-in-out infinite reverse; }

/* Professional Floating Icons */
.float-icon {
    position: absolute; z-index: 5;
    width: 48px; height: 48px;
    background: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-icon);
    transition: transform 0.3s;
}
.float-icon:hover { transform: scale(1.15); }
.fi-heart { top: 5%; right: 5%; animation: float 4s ease-in-out infinite; }
.fi-link { top: 20%; left: 5%; animation: float 5s ease-in-out infinite 0.5s; }
.fi-camera { bottom: 15%; left: -5%; animation: float 4.5s ease-in-out infinite 1s; }
.fi-video { top: 55%; right: -5%; animation: float 5.5s ease-in-out infinite 1.5s; }

/* Heart Particles */
#heart-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; color: var(--pink); font-size: 18px; bottom: -20px; animation: heartFloat 6s linear forwards; opacity: 0; }

/* --- Features Section --- */
.features { background: var(--pink-light); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.feature-card {
    background: var(--white); padding: 50px 35px; border-radius: var(--radius-lg);
    text-align: center; box-shadow: var(--shadow-xs);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
}
.feature-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }

.feature-icon-wrap {
    width: 80px; height: 80px; margin: 0 auto 28px;
    border-radius: 22px; display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s;
}
.feature-card:hover .feature-icon-wrap { transform: scale(1.1) rotate(5deg); }
.feature-icon-wrap svg { width: 38px; height: 38px; color: var(--white); }
.icon-orange { background: linear-gradient(135deg, #FFB74D, var(--orange)); box-shadow: 0 8px 25px rgba(255,140,66,0.35); }
.icon-red { background: linear-gradient(135deg, var(--pink), var(--red)); box-shadow: 0 8px 25px rgba(230,57,70,0.35); }
.icon-yellow { background: linear-gradient(135deg, #FFD54F, var(--yellow)); box-shadow: 0 8px 25px rgba(255,179,71,0.35); }

.feature-card h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 700; }
.feature-card p { font-size: 0.95rem; color: var(--body-light); line-height: 1.7; }

/* --- Meet Section --- */
.meet-container { display: flex; align-items: center; gap: 80px; }
.meet-image-wrapper { flex: 1; position: relative; }
.meet-deco-circle { position: absolute; width: 300px; height: 300px; background: var(--pink-soft); border-radius: 50%; top: -30px; left: -30px; z-index: 0; }
.meet-image { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.meet-content { flex: 1; }

.section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--pink-light); color: var(--red);
    padding: 8px 18px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 20px;
}

.meet-content h2 { font-size: 3.2rem; font-weight: 800; margin-bottom: 20px; }
.meet-content p { font-size: 1.05rem; margin-bottom: 36px; line-height: 1.8; }

.stats-row { display: flex; align-items: center; gap: 30px; margin-bottom: 40px; }
.stat-box { display: flex; flex-direction: column; }
.stat-box strong { font-size: 2.2rem; font-family: var(--heading); font-weight: 800; color: var(--dark); }
.stat-box span { font-size: 0.9rem; color: var(--body-light); font-weight: 500; }
.stat-divider { width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, var(--body-light), transparent); }

/* --- Testimonials Section --- */
.testimonials { background: linear-gradient(180deg, var(--white) 0%, var(--pink-light) 100%); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; font-weight: 800; }

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

.testimonial-card {
    background: var(--white); padding: 36px 30px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; overflow: hidden;
}
.testimonial-card::before {
    content: '"'; position: absolute; top: 10px; right: 20px;
    font-size: 6rem; font-family: serif; color: var(--pink-light);
    line-height: 1; z-index: 0; font-weight: 700;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.tc-stars { display: flex; gap: 3px; margin-bottom: 18px; position: relative; z-index: 1; }
.tc-text { font-size: 0.95rem; line-height: 1.8; color: var(--body); margin-bottom: 24px; position: relative; z-index: 1; font-style: italic; }

.tc-author { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.tc-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--heading); font-weight: 700; font-size: 1.1rem; color: var(--white);
}
.tc-avatar-1 { background: linear-gradient(135deg, var(--red), var(--pink)); }
.tc-avatar-2 { background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.tc-avatar-3 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.tc-info strong { display: block; font-size: 0.95rem; color: var(--dark); }
.tc-info span { font-size: 0.8rem; color: var(--body-light); }

/* --- Footer --- */
.footer { background: var(--dark); color: var(--white); padding: 70px 0 25px; }
.footer-container { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }

.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; max-width: 320px; }

.footer-links h4, .footer-social h4 { font-size: 1.1rem; margin-bottom: 20px; font-weight: 600; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); transition: all 0.2s; font-size: 0.9rem; }
.footer-links a:hover { color: var(--red); padding-left: 4px; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; color: rgba(255,255,255,0.7);
}
.social-icons a:hover { background: var(--red); color: var(--white); transform: translateY(-3px); }
.social-icons svg { width: 18px; height: 18px; }

.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* --- Floating Download Button --- */
.floating-btn {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000;
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white); padding: 14px 24px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(230,57,70,0.5);
    transition: all 0.3s;
    animation: floatingPulse 3s infinite;
}
.floating-btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 40px rgba(230,57,70,0.6); }

/* ===================================
   Animations
   =================================== */
@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

@keyframes ecgDraw {
    0% { stroke-dashoffset: 300; }
    40% { stroke-dashoffset: 0; }
    60% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -300; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

@keyframes heartFloat {
    0% { transform: translateY(0) rotate(0deg) scale(0.5); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-100vh) rotate(45deg) scale(1.2); opacity: 0; }
}

@keyframes floatingPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(230,57,70,0.5); }
    50% { box-shadow: 0 8px 40px rgba(230,57,70,0.7); }
}

/* ===================================
   Scroll Reveal
   =================================== */
.reveal { opacity: 0; visibility: hidden; transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.active { opacity: 1; visibility: visible; transform: translate(0, 0); }
.fadeInUp { transform: translateY(40px); }
.slideInLeft { transform: translateX(-50px); }
.slideInRight { transform: translateX(50px); }

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-image { width: 320px; height: 420px; }
    .deco-circle-orange { width: 350px; height: 350px; }
    .meet-container { gap: 50px; }
    .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .cta-btn { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero { padding: 130px 0 60px; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-desc { margin: 0 auto 28px; }
    .hero-actions { display: flex; justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-wrapper { margin-top: 20px; min-height: 400px; }
    .hero-image { width: 280px; height: 360px; }
    .deco-circle-orange { width: 280px; height: 280px; }

    .section { padding: 70px 0; }
    .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .meet-container { flex-direction: column; gap: 40px; }
    .meet-content h2 { font-size: 2.5rem; }
    .section-header h2 { font-size: 2.2rem; }

    .footer-container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .stat-heartbeat { width: 100%; justify-content: center; }
    .stats-row { flex-direction: column; gap: 10px; }
    .stat-divider { width: 50px; height: 1px; }
    .floating-btn { bottom: 20px; right: 20px; padding: 12px 18px; font-size: 0.85rem; }
}
