/* ============================================
   PinsCorner Landing - Dark Theme
   Colors: Navy #1B2A4A, Orange #F47B20, Blue #4A90D9
   ============================================ */

:root {
    --navy: #1B2A4A;
    --navy-light: #243656;
    --navy-dark: #0F1923;
    --orange: #F47B20;
    --orange-hover: #E06A10;
    --blue: #4A90D9;
    --blue-light: #5BA0E9;
    --green: #27AE60;
    --yellow: #F1C40F;
    --red: #E74C3C;
    --bg: #0B1120;
    --bg-card: #131C2E;
    --bg-card-hover: #1A2740;
    --text: #E8ECF1;
    --text-muted: #8B95A5;
    --text-dim: #5A6577;
    --border: #1E2D45;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-light); }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm);
    font-size: 16px; font-weight: 600; cursor: pointer;
    transition: var(--transition); border: none; text-decoration: none;
}
.btn-primary {
    background: var(--orange); color: #fff;
}
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); color: #fff; }
.btn-secondary {
    background: transparent; color: var(--text); border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 20px; font-size: 14px; }

/* ---- Header / Nav ---- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(11,17,32,0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 16px 24px;
}
.nav-logo {
    font-size: 24px; font-weight: 800; color: var(--text);
    display: flex; align-items: center; gap: 4px;
}
.nav-logo .pin { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch {
    background: transparent; border: 1px solid var(--border);
    color: var(--text-muted); padding: 6px 12px; border-radius: var(--radius-sm);
    font-size: 13px; cursor: pointer;
}
.lang-switch:hover { border-color: var(--blue); color: var(--text); }

/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---- Hero ---- */
.hero {
    padding: 160px 0 100px; text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(74,144,217,0.1) 0%, transparent 60%);
}
.hero h1 {
    font-size: clamp(32px, 5vw, 56px); font-weight: 800;
    line-height: 1.15; margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text) 0%, var(--blue) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: clamp(16px, 2vw, 20px); color: var(--text-muted);
    max-width: 640px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Sections ---- */
section { padding: 100px 0; }
.section-title {
    font-size: clamp(28px, 3.5vw, 42px); font-weight: 700;
    text-align: center; margin-bottom: 16px;
}
.section-subtitle {
    font-size: 18px; color: var(--text-muted);
    text-align: center; max-width: 600px; margin: 0 auto 60px;
}

/* ---- How It Works ---- */
.steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; margin-top: 60px;
}
.step {
    text-align: center; padding: 40px 24px;
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.step:hover { border-color: var(--orange); transform: translateY(-4px); }
.step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--orange); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; margin: 0 auto 20px;
}
.step h3 { font-size: 20px; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---- Features Grid ---- */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px; background: var(--bg-card);
    border-radius: var(--radius); border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.feature-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: rgba(244,123,32,0.1); color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.feature-card .pro-badge {
    display: inline-block; background: var(--orange); color: #fff;
    padding: 2px 8px; border-radius: 4px; font-size: 11px;
    font-weight: 600; margin-left: 8px; vertical-align: middle;
}

/* ---- Compatible ---- */
.compatible-logos {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 32px; margin-top: 40px;
}
.compatible-logos .panel-badge {
    padding: 16px 32px; background: var(--bg-card);
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    font-size: 16px; font-weight: 600; color: var(--text-muted);
    transition: var(--transition);
}
.compatible-logos .panel-badge:hover { border-color: var(--orange); color: var(--text); }

/* ---- Security ---- */
.security-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.security-content { display: flex; align-items: center; gap: 60px; }
.security-text { flex: 1; }
.security-text h2 { font-size: 36px; margin-bottom: 16px; }
.security-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.security-visual {
    flex: 1; display: flex; justify-content: center; align-items: center;
    font-size: 120px; opacity: 0.15;
}

/* ---- Pricing ---- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px; max-width: 800px; margin: 0 auto;
}
.pricing-card {
    padding: 40px 32px; background: var(--bg-card);
    border-radius: var(--radius); border: 1px solid var(--border);
    text-align: center; transition: var(--transition); position: relative;
}
.pricing-card.featured {
    border-color: var(--orange);
    box-shadow: 0 0 40px rgba(244,123,32,0.15);
}
.pricing-card.featured::before {
    content: 'RECOMMENDED'; position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%); background: var(--orange); color: #fff;
    padding: 4px 16px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
.pricing-card h3 { font-size: 24px; margin-bottom: 8px; }
.pricing-price {
    font-size: 48px; font-weight: 800; margin: 16px 0 8px;
}
.pricing-price .currency { font-size: 24px; vertical-align: top; }
.pricing-price .period { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.pricing-card p { color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; }
.pricing-features li {
    padding: 8px 0; color: var(--text-muted); font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; }
.pricing-features li.disabled { opacity: 0.4; }
.pricing-features li.disabled::before { content: '\2717'; color: var(--red); }

/* Volume discounts */
.volume-table {
    margin: 40px auto 0; max-width: 600px;
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
}
.volume-table table { width: 100%; border-collapse: collapse; }
.volume-table th {
    background: var(--navy); padding: 12px 16px;
    text-align: left; font-size: 13px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.volume-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; }
.volume-table .discount { color: var(--green); font-weight: 600; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border); padding: 24px 0;
}
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-size: 17px; font-weight: 600; color: var(--text);
    background: none; border: none; width: 100%; text-align: left; padding: 0;
}
.faq-question:hover { color: var(--orange); }
.faq-question .arrow { transition: var(--transition); font-size: 20px; color: var(--text-dim); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    color: var(--text-muted); font-size: 15px; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 200px; padding-top: 12px; }

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--border); padding: 60px 0 30px;
    background: var(--navy-dark);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; color: var(--text-dim); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--text-muted); font-size: 14px; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-dim); font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: var(--navy-dark);
        padding: 24px; border-bottom: 1px solid var(--border);
    }
    .hero { padding: 120px 0 60px; }
    .security-content { flex-direction: column; }
    .security-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .pricing-grid { grid-template-columns: 1fr; }
}
