:root {
    --bg-dark: #0a0c10;
    --bg-card: #161b22;
    --primary: #25D366;
    --primary-hover: #1ebd5b;
    --text-white: #ffffff;
    --text-gray: #8b949e;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --grad: linear-gradient(135deg, #25D366, #128C7E);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Gradient Orbs ─────────────────────────────────────────── */
.orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
}
.orb-1 { top: -100px; right: -100px; background: var(--primary); }
.orb-2 { bottom: -100px; left: -100px; background: #128C7E; }

/* ── Navbar ─────────────────────────────────────────────────── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary); }

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #161b22;
    min-width: 220px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    z-index: 1001;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-top: 15px;
    padding: 10px;
    backdrop-filter: blur(20px);
}

.dropdown-content a {
    color: var(--text-gray);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--primary);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-primary {
    background: var(--grad);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    padding: 10rem 5% 6rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Features ────────────────────────────────────────────────── */
.features {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: border-color 0.3s, transform 0.3s;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.feature-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.feature-card p { color: var(--text-gray); }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing {
    padding: 8rem 5%;
    background: rgba(255, 255, 255, 0.02);
}

.pricing-header { text-align: center; margin-bottom: 4rem; }
.pricing-header h2 { font-size: 3rem; margin-bottom: 1rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.price-card h4 { color: var(--text-gray); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.price-card .amount { font-size: 3.5rem; font-weight: 800; margin-bottom: 2rem; }
.price-card .amount span { font-size: 1rem; color: var(--text-gray); font-weight: 400; }

.price-features { list-style: none; margin-bottom: 3rem; flex-grow: 1; }
.price-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; color: var(--text-gray); }
.price-features li i { color: var(--primary); }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--border);
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.footer-section h4 { margin-bottom: 1.5rem; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.8rem; }
.footer-section a { text-decoration: none; color: var(--text-gray); transition: color 0.3s; }
.footer-section a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ── Free Tools Section ───────────────────────────────────────── */
.tools-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 28px;
    transition: 0.3s;
}

.tool-card:hover { border-color: var(--primary); }

.tool-card h3 { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 600;
}

.input-group input, .input-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 12px;
    color: white;
    width: 100%;
}

.qr-result {
    margin-top: 2rem;
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    display: none;
}

.qr-result img { width: 180px; height: 180px; }

.link-result {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(37,211,102,0.1);
    border: 1px dashed var(--primary);
    border-radius: 12px;
    display: none;
    word-break: break-all;
}

/* ── Developer Guide (Landing) ─────────────────────────── */
.code-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
}

.tab-btn.active {
    color: var(--primary);
    background: rgba(37,211,102,0.1);
}

.code-snippet-container {
    position: relative;
    background: #0d1117;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.code-snippet-container pre {
    margin: 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e6edf3;
}

.code-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-gray);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .price-card.featured { transform: scale(1); }
}
