/* ================================================================
   Link Forge PRO — Landing Page Styles
   ================================================================ */

:root {
    --bg: #0f0f0f;
    --surface: #1a1a1a;
    --surface2: #242424;
    --border: #2e2e2e;
    --border-light: #3a3a3a;
    --text: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --orange: #f97316;
    --orange-hover: #fb923c;
    --orange-bg: rgba(249, 115, 22, 0.08);
    --orange-light: rgba(249, 115, 22, 0.15);
    --green: #22c55e;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(15,15,15,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.1em; }
.logo-icon { font-size: 24px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 500; transition: color var(--transition); }
.nav a:hover { color: var(--orange); }
.lang-switcher select { background: var(--surface2); border: 1px solid var(--border); color: var(--text); padding: 5px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; outline: none; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2em; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.5px; }
.section-subtitle { color: var(--text-secondary); font-size: 14px; }

/* Hero */
.hero { padding: 80px 0; }
.hero .container { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; }
.hero-badge { display: inline-block; background: var(--orange-bg); color: var(--orange); padding: 5px 14px; border-radius: 20px; font-size: 11px; font-weight: 600; margin-bottom: 16px; border: 1px solid var(--orange-light); }
.hero-content h1 { font-size: 2.6em; font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -1px; }
.hero-content p { font-size: 1.1em; color: var(--text-secondary); margin-bottom: 28px; max-width: 500px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { flex-shrink: 0; }
.hero-icon-bg { width: 260px; height: 260px; background: linear-gradient(135deg, var(--orange-bg), rgba(249,115,22,0.03)); border: 2px solid var(--orange-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 100px; box-shadow: 0 0 80px rgba(249,115,22,0.15); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all var(--transition); border: none; white-space: nowrap; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline { background: transparent; border: 1px solid var(--border-light); color: var(--text); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* How It Works */
.how-it-works { padding: 80px 0; background: var(--surface); }
.how-blocks { display: flex; flex-direction: column; gap: 24px; }
.how-block { display: flex; gap: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.how-icon { font-size: 40px; flex-shrink: 0; width: 60px; height: 60px; background: var(--orange-bg); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.how-content { flex: 1; }
.how-content h3 { font-size: 1.2em; font-weight: 700; margin-bottom: 8px; }
.how-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.how-example { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.how-code.full { flex: 0 0 auto; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.how-code { font-family: monospace; font-size: 12px; background: var(--surface2); padding: 8px 12px; border-radius: 4px; color: var(--text-secondary); }
.how-code.highlight { background: var(--orange-bg); color: var(--orange); border: 1px solid var(--orange-light); }
.how-arrow { color: var(--orange); font-size: 18px; font-weight: 700; }
.how-label { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* Features */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; transition: all var(--transition); }
.feature-card:hover { border-color: var(--orange); }
.feature-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.feature-card h3 { font-size: 1.05em; font-weight: 700; margin-bottom: 6px; }
.feature-card p { color: var(--text-secondary); font-size: 13px; line-height: 1.5; }

/* Pricing */
.pricing { padding: 80px 0; background: var(--surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 950px; margin: 0 auto; }
.pricing-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; transition: all var(--transition); }
.pricing-card.popular { border-color: var(--orange); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; padding: 4px 16px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.pricing-card h3 { font-size: 1.2em; font-weight: 700; margin-bottom: 4px; }
.pricing-desc { color: var(--text-muted); font-size: 12px; margin-bottom: 16px; }
.pricing-price { margin-bottom: 20px; }
.pricing-value { font-size: 2.4em; font-weight: 800; }
.pricing-period { font-size: 0.8em; color: var(--text-muted); }
.pricing-features { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-features li { padding: 5px 0; font-size: 13px; color: var(--text-secondary); }
.pricing-guarantee { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 13px; }

/* Comparison Cards */
.comparison { padding: 80px 0; }
.comparison-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 0 auto; }
.comparison-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.comparison-card.popular { border-color: var(--orange); }
.comparison-card-header { padding: 16px 20px; font-size: 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.comparison-card-header.free { background: var(--surface2); color: var(--text-muted); }
.comparison-card-header.pro { background: var(--orange-bg); color: var(--orange); }
.comparison-card ul { list-style: none; padding: 0; margin: 0; }
.comparison-card li { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); }
.comparison-card li:last-child { border-bottom: none; }
.comparison-card li strong { color: var(--text); font-weight: 600; }
.comparison-card.popular li strong { color: var(--orange); }

/* FAQ */
.faq { padding: 80px 0; background: var(--surface); }
.faq-grid { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; cursor: pointer; transition: all var(--transition); }
.faq details:hover { border-color: var(--orange); }
.faq summary { font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '▾'; font-size: 16px; color: var(--orange); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin-top: 10px; color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.faq details a { color: var(--orange); text-decoration: none; }

/* CTA */
.cta { padding: 80px 0; text-align: center; }
.cta h2 { font-size: 2em; font-weight: 700; margin-bottom: 12px; }
.cta p { color: var(--text-secondary); font-size: 15px; margin-bottom: 28px; }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.75); z-index: 1000; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; max-width: 420px; width: 90%; position: relative; text-align: center; }
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 22px; cursor: pointer; color: var(--text-muted); }
.modal-close:hover { color: var(--text); }
.modal-content h2 { font-size: 1.3em; margin-bottom: 6px; }
.modal-content p { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; }
.modal-content label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: var(--text); text-align: left; }
.modal-content input[type="email"] { width: 100%; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-size: 14px; margin-bottom: 14px; outline: none; }
.modal-content input[type="email"]:focus { border-color: var(--orange); }
.modal-secure { margin-top: 10px; font-size: 11px; color: var(--text-muted); }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer p { color: var(--text-muted); font-size: 13px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--orange); }

/* Responsive */
@media (max-width: 768px) {
    .hero .container { flex-direction: column; }
    .hero-content h1 { font-size: 2em; }
    .hero-icon-bg { width: 180px; height: 180px; font-size: 72px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
    .how-block { flex-direction: column; }
    .comparison-cards { grid-template-columns: 1fr; }
    .how-example { flex-direction: column; align-items: flex-start; }
    .how-code.full { max-width: 100%; }
    .nav a { display: none; }
}
