/* ================================================================
   RideLink Web2 — Premium Marketing Site
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #00E5FF;
    --primary-glow: rgba(0, 229, 255, 0.35);
    --accent: #00E676;
    --accent-glow: rgba(0, 230, 118, 0.3);
    --gradient-brand: linear-gradient(90deg, #00E676, #00E5FF);
    --bg-void: #000000;
    --bg-dark: #0a0a0f;
    --bg-card: #111118;
    --bg-elevated: #1a1a24;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --section-padding: 120px;
    --container-max: 1200px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-normal: 0.6s;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Pretendard', 'Outfit', -apple-system, sans-serif;
    background: var(--bg-void); color: var(--text-primary);
    line-height: 1.6; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.section { position: relative; padding: var(--section-padding) 0; overflow: hidden; }
.text-gradient { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.section-label {
    display: inline-block; font-family: 'Outfit', sans-serif;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--primary);
    margin-bottom: 1.25rem; padding-left: 2rem; position: relative;
}
.section-label::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 1.2rem; height: 2px; background: var(--gradient-brand); transform: translateY(-50%);
}
.section-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.section-desc { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text-secondary); max-width: 640px; line-height: 1.75; }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-center .section-label { padding-left: 0; }
.text-center .section-label::before { display: none; }

/* ================================================================ Navigation */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 1000;
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
    background: transparent; border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8); backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--glass-border); box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
}
.nav-inner {
    max-width: var(--container-max); margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    height: 100%; display: flex; justify-content: space-between; align-items: center;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-icon { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; border: 1.5px solid rgba(255,255,255,0.15); flex-shrink: 0; }
.brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: color 0.3s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.25rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
    background: var(--gradient-brand); color: #000; transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 4px 20px var(--primary-glow); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 0.5rem; }

/* ================================================================ Hero */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 120px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image { position: absolute; inset: 0; background: url('hero_bg.png') center/cover no-repeat; opacity: 0.3; }
.hero-bg-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 50%, var(--bg-void) 100%); }
#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem; border-radius: 100px;
    background: rgba(0, 242, 255, 0.08); border: 1px solid rgba(0, 242, 255, 0.2);
    font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
    margin-bottom: 2rem; animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }
.hero-title { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem; animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both; }

/* Countdown */
.countdown-row { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2.5rem; animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s both; }
.countdown-item { text-align: center; }
.countdown-num { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.countdown-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 2rem; border-radius: 100px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: all 0.3s var(--ease-out-expo); }
.btn-primary { background: var(--text-primary); color: var(--bg-void); }
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 8px 30px rgba(255,255,255,0.15); }
.btn-ghost { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-gradient { background: var(--gradient-brand); color: #000; font-weight: 700; }
.btn-gradient:hover { transform: scale(1.04); box-shadow: 0 8px 30px var(--primary-glow); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity var(--duration-normal) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ================================================================ Features */
.section-features { background: var(--bg-dark); }
.section-features::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border), transparent); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.feature-card {
    position: relative; padding: 2.5rem 2rem; border-radius: 24px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-out-expo); overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; inset: 0; border-radius: 24px; background: radial-gradient(ellipse at top left, rgba(0, 242, 255, 0.05), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.feature-card:hover { border-color: rgba(0, 242, 255, 0.15); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-emoji { font-size: 2.5rem; margin-bottom: 1.25rem; display: block; }
.feature-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; }
.feature-badge { display: inline-block; margin-top: 1rem; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; background: rgba(0,242,255,0.1); color: var(--primary); border: 1px solid rgba(0,242,255,0.15); }

/* ================================================================ How It Works */
.section-how { background: var(--bg-void); }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4rem; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 60px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--primary)); opacity: 0.2; }
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800;
    background: var(--glass-bg); border: 2px solid rgba(0,242,255,0.2);
    color: var(--primary); transition: all 0.4s;
}
.step-card:hover .step-number { background: rgba(0,242,255,0.1); border-color: var(--primary); box-shadow: 0 0 30px var(--primary-glow); }
.step-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; max-width: 300px; margin: 0 auto; }

/* ================================================================ Technology */
.section-tech { background: var(--bg-dark); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 4rem; }
.tech-card {
    padding: 2.5rem; border-radius: 24px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    transition: border-color 0.3s, transform 0.3s;
}
.tech-card:hover { border-color: rgba(0,242,255,0.15); transform: translateY(-2px); }
.tech-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.tech-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.tech-card.highlight { border-color: rgba(0,242,255,0.2); background: linear-gradient(135deg, rgba(0,242,255,0.03), rgba(112,0,255,0.03)); }
.formula { display: inline-block; font-family: 'Courier New', monospace; font-size: 1.1rem; font-weight: 700; color: var(--primary); background: rgba(0,242,255,0.06); padding: 0.6rem 1.2rem; border-radius: 10px; border: 1px solid rgba(0,242,255,0.12); margin-top: 0.75rem; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.stat-card { padding: 1.5rem; border-radius: 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); text-align: center; transition: border-color 0.3s; }
.stat-card:hover { border-color: rgba(0,242,255,0.15); }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 0.4rem; }
.stat-unit { font-size: 1.2rem; font-weight: 600; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ================================================================ Compatibility */
.section-compat { background: var(--bg-void); }
.compat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.compat-card {
    padding: 2rem; border-radius: 20px; background: var(--glass-bg);
    border: 1px solid var(--glass-border); text-align: center;
    transition: all 0.3s;
}
.compat-card:hover { border-color: rgba(0,242,255,0.15); transform: translateY(-3px); }
.compat-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.compat-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.compat-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.compat-list { list-style: none; margin-top: 0.75rem; }
.compat-list li { font-size: 0.85rem; color: var(--text-secondary); padding: 0.25rem 0; }
.compat-list li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ================================================================ Pricing */
.section-pricing { background: var(--bg-dark); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.price-card {
    padding: 3rem; border-radius: 24px; background: var(--glass-bg);
    border: 1px solid var(--glass-border); position: relative; overflow: hidden;
}
.price-card.featured { border-color: rgba(0,242,255,0.3); }
.price-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-brand); }
.price-tag { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.price-amount { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }
.price-period { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }
.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li { font-size: 0.9rem; color: var(--text-secondary); padding: 0.5rem 0; border-bottom: 1px solid var(--glass-border); }
.price-features li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.price-features li.disabled { color: var(--text-muted); }
.price-features li.disabled::before { content: '— '; color: var(--text-muted); }

/* ================================================================ FAQ */
.section-faq { background: var(--bg-void); }
.faq-list { max-width: 800px; margin: 4rem auto 0; }
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-question {
    width: 100%; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center;
    background: none; border: none; color: var(--text-primary); font-size: 1.05rem; font-weight: 600;
    cursor: pointer; text-align: left; font-family: inherit; transition: color 0.3s;
}
.faq-question:hover { color: var(--primary); }
.faq-question .faq-icon { font-size: 1.5rem; transition: transform 0.3s; color: var(--text-muted); flex-shrink: 0; margin-left: 1rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out-expo), padding 0.3s; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; padding-bottom: 1.5rem; }

/* ================================================================ CTA */
.section-cta { background: var(--bg-dark); padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.section-cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(0,242,255,0.04), transparent 60%); pointer-events: none; }
.cta-icon { width: 120px; height: 120px; border-radius: 28px; overflow: hidden; margin: 0 auto 2.5rem; border: 2px solid rgba(0,242,255,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,242,255,0.08); transition: transform 0.4s var(--ease-out-expo); }
.cta-icon:hover { transform: scale(1.05); }
.cta-icon img { width: 100%; height: 100%; object-fit: cover; }
.cta-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.cta-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.7; }
.store-buttons { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.store-btn { height: 52px; display: flex; align-items: center; position: relative; transition: transform 0.3s var(--ease-out-expo); border-radius: 8px; overflow: hidden; }
.store-btn img { height: 100%; width: auto; }
.store-btn:hover { transform: scale(1.06); }
.store-btn.disabled { filter: grayscale(1) opacity(0.4); cursor: default; }
.store-btn.disabled:hover { transform: none; }
.coming-soon { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; }

/* ================================================================ Footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--glass-border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }
.footer span { font-size: 0.8rem; color: var(--text-muted); }

/* ================================================================ Responsive */
@media (max-width: 1024px) {
    :root { --section-padding: 100px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    :root { --section-padding: 80px; }
    .hero { padding: 100px 0 60px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .features-grid, .compat-grid, .steps-row { grid-template-columns: 1fr; }
    .steps-row::before { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .countdown-row { gap: 1rem; }
    .countdown-num { font-size: 2rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .feature-card { padding: 2rem 1.5rem; }
    .nav-cta span { display: none; }
    .section-cta { padding: 100px 0; }
    .cta-icon { width: 100px; height: 100px; border-radius: 24px; }
    .store-btn { height: 46px; }
}
@media (max-width: 480px) {
    :root { --section-padding: 60px; }
    .hero { padding: 90px 0 50px; }
    .hero-badge { font-size: 0.65rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; max-width: 280px; justify-content: center; }
    .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .store-buttons { flex-direction: column; align-items: center; }
    .store-btn { height: 42px; }
}
@supports (-webkit-touch-callout: none) {
    .hero { min-height: -webkit-fill-available; }
}
