@import url(fontawesome-all.min.css);

/* ============================================================
   Hoppy Modern Landing Page Styles
   ============================================================ */

/* --- Variables --- */
:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-surface: rgba(255,255,255,0.04);
    --color-surface-hover: rgba(255,255,255,0.07);
    --color-border: rgba(255,255,255,0.1);
    --color-primary: #f59e0b;
    --color-primary-hover: #d97706;
    --color-primary-glow: rgba(245,158,11,0.2);
    --color-text: #ffffff;
    --color-text-secondary: rgba(255,255,255,0.65);
    --color-text-muted: rgba(255,255,255,0.4);
    --color-error: #ef4444;
    --color-success: #10b981;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1140px;
    --nav-height: 72px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-family); font-size: 16px; line-height: 1.7; color: var(--color-text-secondary); background: var(--color-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-hover); }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--color-text); font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
strong { color: var(--color-text); font-weight: 600; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* --- Navbar --- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); display: flex; align-items: center; background: rgba(10,10,10,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--color-border); transition: background var(--transition); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--color-text); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.nav-brand:hover { color: var(--color-text); }
.nav-brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--color-text-secondary); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: color var(--transition); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--color-text); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--color-primary); transition: width var(--transition); border-radius: 1px; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* --- Hero Section --- */
.hero { padding: 160px 0 80px; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 1200px; height: 1200px; background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--color-text-secondary); max-width: 600px; margin: 0 auto 40px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 100px; padding: 8px 20px; font-size: 0.85rem; color: var(--color-primary); margin-bottom: 28px; font-weight: 500; }
.hero-badge .fa, .hero-badge .fas, .hero-badge .fab { font-size: 0.8rem; }
.hero-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-buttons a { border-bottom: none; }
.store-badge { height: 52px; width: auto; transition: transform var(--transition), opacity var(--transition); border-radius: var(--radius-sm); }
.store-badge:hover { transform: translateY(-2px); opacity: 0.9; }

/* --- Section Common --- */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--color-text-secondary); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* --- Video Demo Section --- */
.demo-section { padding: 40px 0 80px; }
.phone-frame { max-width: 340px; margin: 0 auto; border-radius: 48px; overflow: hidden; background: #000; box-shadow: 0 25px 80px rgba(245,158,11,0.1), 0 0 0 1px rgba(255,255,255,0.08); }
.phone-frame video { width: 100%; display: block; transform: scale(1.04); }

/* --- How It Works --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: transform var(--transition), border-color var(--transition), background var(--transition); }
.step-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,0.3); background: var(--color-surface-hover); }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); color: #000; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.step-card p { color: var(--color-text-secondary); font-size: 0.95rem; margin-bottom: 0; }
.step-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: 16px; }

/* --- Features / Highlights --- */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.highlight-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px 24px; transition: transform var(--transition), border-color var(--transition); }
.highlight-card:hover { transform: translateY(-2px); border-color: rgba(245,158,11,0.2); }
.highlight-card .icon { font-size: 1.5rem; color: var(--color-primary); margin-bottom: 14px; }
.highlight-card h3 { font-size: 1rem; margin-bottom: 8px; }
.highlight-card p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0; }

/* --- CTA Section --- */
.cta-section { padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%); pointer-events: none; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section > .container > p { color: var(--color-text-secondary); margin-bottom: 32px; font-size: 1.05rem; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; line-height: 1.4; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); color: #000; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--color-primary-glow); color: #000; }
.btn-outline { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* --- Footer --- */
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--color-text); font-weight: 700; font-size: 1.15rem; }
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.footer-col h4 { color: var(--color-text); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--color-text-secondary); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-border); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; color: var(--color-text-muted); }
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }

/* --- Content Pages (Privacy, Terms, Contact) --- */
.page-header { padding: 140px 0 40px; text-align: center; }
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--color-text-muted); font-size: 0.95rem; }
.page-content { padding: 0 0 80px; }
.page-content .container { max-width: 800px; }
.content-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 48px; }
.content-card h2, .content-card strong { color: var(--color-text); }
.content-card h2 { font-size: 1.25rem; margin-top: 32px; margin-bottom: 12px; }
.content-card h2:first-child { margin-top: 0; }
.content-card p { font-size: 0.95rem; line-height: 1.8; color: var(--color-text-secondary); }
.content-card ul { margin: 12px 0 20px 20px; }
.content-card ul li { position: relative; padding-left: 16px; margin-bottom: 8px; font-size: 0.95rem; color: var(--color-text-secondary); }
.content-card ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }
.content-card a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.content-card a:hover { color: var(--color-primary-hover); }

/* --- Legacy page support (PrivacyPolicy, Terms - unmodified markup) --- */
section.main { padding-top: var(--nav-height); }
section.main > .content,
section#intro.main > .content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
section.main > .content > header.major { text-align: center; margin-bottom: 32px; }
section.main > .content > header.major h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 8px; }
section.main > .content > header.major p { color: var(--color-text-muted); font-size: 0.95rem; }
section.main > .content p { font-size: 0.95rem; line-height: 1.8; color: var(--color-text-secondary); margin-bottom: 1rem; }
section.main > .content strong { color: var(--color-text); font-weight: 600; font-size: 1.1rem; display: inline-block; margin-top: 20px; }
section.main > .content ul { margin: 12px 0 20px 20px; }
section.main > .content ul li { position: relative; padding-left: 16px; margin-bottom: 8px; font-size: 0.95rem; color: var(--color-text-secondary); list-style: none; }
section.main > .content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }
section.main > .content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
section.main > .content a:hover { color: var(--color-primary-hover); }
section.main > .content div { margin-bottom: 8px; }

/* --- Contact Form --- */
.form-group { margin-bottom: 24px; }
.form-group label, .form-label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--color-text); margin-bottom: 8px; }
.form-input, input[type="text"], input[type="email"], textarea, select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-input:focus, input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}
textarea.form-input, textarea { resize: vertical; min-height: 120px; }
.form-error, span[style*="color:Red"], span[style*="color:red"] { color: var(--color-error) !important; font-size: 0.85rem; margin-top: 6px; display: inline-block; font-weight: 500; }
.form-result { margin-bottom: 24px; padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-result p { margin-bottom: 0; }

/* ASP.NET button styling */
input[type="submit"], .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.4;
}
input[type="submit"]:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-primary-glow);
}

/* Recaptcha container */
.recaptcha-wrapper { margin: 20px 0; }

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* Preload state */
body.is-preload * { animation: none !important; transition: none !important; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    .hero { padding: 130px 0 60px; }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .highlights-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .content-card { padding: 28px 20px; }
    .phone-frame { max-width: 280px; }
    .section { padding: 60px 0; }
    .nav-links { gap: 20px; }
    .nav-links a { font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .store-badge { height: 46px; }
    .page-header { padding: 120px 0 28px; }
    .container { padding: 0 16px; }
    h1 { font-size: 1.75rem; }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
