:root {
    --primary: #2aab6c;
    --primary-dark: #1d8a55;
    --primary-light: #e8f7f0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --bg: #ffffff;
    --bg-soft: #f7f9fb;
    --bg-alt: #0b1220;
    --card: #ffffff;
    --text-primary: #0d1829;
    --text-secondary: #55627a;
    --text-muted: #8a95a8;
    --border: #e6eaf0;
    --border-light: #eef1f5;
    --gradient-primary: linear-gradient(135deg, #2aab6c, #1d8a55);
    --shadow: 0 4px 20px rgba(13, 24, 41, 0.06);
    --shadow-lg: 0 12px 48px rgba(13, 24, 41, 0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --font: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --navbar-bg-solid: rgba(255, 255, 255, 0.98);
    --err-bg: #fef2f2;
    --err-border: #fecaca;
    --err-text: #b91c1c;
    --warn-bg: #fffbeb;
    --warn-border: #fde68a;
    --warn-text: #92400e;
}

[data-theme="dark"] {
    --primary: #34d399;
    --primary-dark: #2aab6c;
    --primary-light: rgba(42, 171, 108, 0.16);
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --bg: #0a0f1c;
    --bg-soft: #0f172a;
    --bg-alt: #0d1a33;
    --card: #111b30;
    --text-primary: #f1f5f9;
    --text-secondary: #c3cedd;
    --text-muted: #7b8aa3;
    --border: #1e2a42;
    --border-light: #182338;
    --gradient-primary: linear-gradient(135deg, #2aab6c, #1d8a55);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.55);
    --navbar-bg: rgba(10, 15, 28, 0.85);
    --navbar-bg-solid: rgba(10, 15, 28, 0.98);
    --err-bg: rgba(239, 68, 68, 0.12);
    --err-border: rgba(239, 68, 68, 0.3);
    --err-text: #fca5a5;
    --warn-bg: rgba(245, 158, 11, 0.1);
    --warn-border: rgba(245, 158, 11, 0.3);
    --warn-text: #fbbf24;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

::selection { background: var(--primary); color: #fff; }

a { color: var(--primary); }

.navbar, .announcement-bar, .section, .card, .step-card, .feature-card, .testi-card, .pricing-card,
.url-item-modern, .faq-item, .cta-card, .preview-card, .stats-section, .footer, .hero,
.url-bar, .hero-option, .result-box, .extra-btn, .theme-toggle, input, select, textarea {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ---------- Announcement ---------- */
.announcement-bar {
    background: var(--bg-alt);
    color: #cbd5e1;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.announcement-bar i { color: var(--primary); margin-right: 0.45rem; }
.announcement-bar strong { color: #fff; font-weight: 600; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-logo i { color: var(--primary); font-size: 1.5rem; }

.nav-logo-img { height: 38px; width: auto; max-width: 180px; object-fit: contain; border-radius: 8px; }

.footer-logo-img { height: 32px; width: auto; max-width: 160px; object-fit: contain; border-radius: 6px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
}

.theme-toggle {
    position: relative;
    width: 64px;
    height: 32px;
    min-width: 64px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #bfdbfe, #e0e7ff);
    cursor: pointer;
    box-shadow: inset 0 2px 6px rgba(30, 41, 59, 0.14), 0 2px 8px rgba(13, 24, 41, 0.1);
    transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.15s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.theme-toggle:active { transform: scale(0.94); }

.theme-toggle:hover { box-shadow: inset 0 2px 6px rgba(30, 41, 59, 0.14), 0 4px 16px rgba(42, 171, 108, 0.4); }

.theme-toggle::before {
    content: '';
    position: absolute;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.9);
    transition: opacity 0.3s ease;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(226, 232, 240, 0.9);
    box-shadow: 8px -7px 0 rgba(226, 232, 240, 0.7), 12px 5px 0 rgba(226, 232, 240, 0.5);
    transform: translateY(-50%);
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.theme-toggle .tt-icon {
    position: relative;
    left: 0;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.5);
}

.theme-toggle .tt-icon i { line-height: 1; transition: transform 0.4s ease; }

[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .theme-toggle::before { opacity: 0; }

[data-theme="dark"] .theme-toggle::after { opacity: 1; }

[data-theme="dark"] .theme-toggle .tt-icon {
    transform: translateX(32px) rotate(360deg);
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #fde68a;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .theme-toggle:hover { box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(52, 211, 153, 0.45); }

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links a:hover { color: var(--text-primary); background: var(--bg-soft); }

.nav-links .nav-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    margin-left: 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-links .nav-cta:hover { box-shadow: 0 6px 20px rgba(42, 171, 108, 0.35); transform: translateY(-1px); }

.nav-links .nav-login { font-weight: 600; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 5.5rem 1.5rem 4rem;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(900px 400px at 20% -10%, rgba(42, 171, 108, 0.07), transparent 60%),
        radial-gradient(800px 400px at 80% 0%, rgba(29, 138, 85, 0.06), transparent 55%);
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.16;
    animation: particleFloat 16s infinite linear;
}

.particle:nth-child(1) { left: 12%; top: 25%; }
.particle:nth-child(2) { left: 22%; top: 65%; animation-delay: 2s; }
.particle:nth-child(3) { left: 32%; top: 85%; animation-delay: 4s; }
.particle:nth-child(4) { left: 52%; top: 30%; animation-delay: 1s; }
.particle:nth-child(5) { left: 68%; top: 70%; animation-delay: 3s; }
.particle:nth-child(6) { left: 78%; top: 20%; animation-delay: 5s; }
.particle:nth-child(7) { left: 88%; top: 55%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 94%; top: 88%; animation-delay: 6s; }

@keyframes particleFloat {
    0% { transform: translateY(0) scale(1); opacity: 0.16; }
    50% { transform: translateY(-30px) scale(1.4); opacity: 0.35; }
    100% { transform: translateY(0) scale(1); opacity: 0.16; }
}

.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    background: var(--primary-light);
    border: 1px solid rgba(42, 171, 108, 0.2);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.9rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

/* URL form */
.hero-form { max-width: 680px; margin: 0 auto; }

.url-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 0.45rem;
    box-shadow: var(--shadow-lg);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.url-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(42, 171, 108, 0.12), var(--shadow-lg);
}

.url-bar .input-icon { color: var(--primary); font-size: 1.05rem; padding-left: 0.5rem; }

.url-bar input[type="url"] {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 0.6rem;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    font-family: var(--font);
    color: var(--text-primary);
}

.url-bar input::placeholder { color: var(--text-muted); }

.url-bar .hero-btn {
    padding: 0.85rem 1.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.url-bar .hero-btn:hover { box-shadow: 0 6px 18px rgba(42, 171, 108, 0.35); transform: translateY(-1px); }

.hero-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-option {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.hero-option i { color: var(--text-muted); font-size: 0.75rem; }

.hero-option input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font);
    font-size: 0.82rem;
    color: var(--text-secondary);
    width: 100px;
}

.hero-option input::placeholder { color: var(--text-muted); }
.hero-option input:disabled { opacity: .55; cursor: not-allowed; }

.hero-premium-tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .14rem .5rem;
    border-radius: 50px;
    font-size: .65rem;
    font-weight: 700;
    color: #92400e;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d;
    white-space: nowrap;
    text-decoration: none;
    transition: box-shadow .2s ease;
}
.hero-premium-tag:hover { box-shadow: 0 3px 8px rgba(245, 158, 11, .3); }

.hero-hint {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-hint a { font-weight: 600; }

/* Error / result */
.error-message {
    padding: 0.8rem 1.1rem;
    background: var(--err-bg);
    border: 1px solid var(--err-border);
    color: var(--err-text);
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.result-container { margin-top: 1.5rem; animation: slideUp 0.5s ease; }

@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--primary-light);
    border: 1px solid rgba(42, 171, 108, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.9rem;
}

.result-box {
    display: flex;
    background: var(--card);
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(42, 171, 108, 0.12);
}

.result-box input {
    flex: 1;
    min-width: 0;
    padding: 0.95rem 1.1rem;
    border: none;
    outline: none;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
}

.copy-btn {
    padding: 0 1.4rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover { background: var(--primary-dark); }
.copy-btn.copied { background: var(--success); }

.result-extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.9rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.extra-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.extra-btn:hover { background: var(--primary-light); border-color: rgba(42, 171, 108, 0.35); color: var(--primary-dark); }

.share-buttons { display: flex; align-items: center; gap: 0.45rem; }
.share-label { color: var(--text-muted); font-size: 0.85rem; }
.share-btn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 8px; cursor: pointer;
    transition: all 0.2s ease; color: #fff; font-size: 0.85rem;
}
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn:hover { transform: translateY(-2px) scale(1.05); }

.guest-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--warn-bg);
    border: 1px solid var(--warn-border);
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--warn-text);
}

.guest-notice a { color: var(--warn-text); font-weight: 600; }

.hero-stats-mini {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.mini-stat { display: flex; flex-direction: column; align-items: center; }

.mini-stat-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.mini-stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ---------- Sections ---------- */
.section-container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    background: var(--primary-light);
    border: 1px solid rgba(42, 171, 108, 0.2);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
}

.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.75rem; color: var(--text-primary); }

.section-header p { color: var(--text-secondary); font-size: 1.05rem; }

.features-section { padding: 5.5rem 0; border-top: 1px solid var(--border); }

.features-section.alt { background: var(--bg-soft); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: rgba(42, 171, 108, 0.35);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 1.1rem;
}

.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.45rem; color: var(--text-primary); }

.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

.plan-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: var(--primary-light);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.75rem;
}

/* ---------- Compare table ---------- */
.feature-compare-grid { overflow-x: auto; margin-top: 1rem; }

.feature-compare-grid table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; min-width: 640px; }

.feature-compare-grid th {
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.feature-compare-grid th:first-child { text-align: left; padding-left: 1.25rem; border-radius: 12px 0 0 0; }
.feature-compare-grid th:last-child { border-radius: 0 12px 0 0; }

.feature-compare-grid td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.feature-compare-grid td:first-child { text-align: left; padding-left: 1.25rem; font-weight: 600; color: var(--text-primary); }

.feature-compare-grid .check { color: var(--primary); }
.feature-compare-grid .cross { color: var(--text-muted); }
.feature-compare-grid .popular-col { background: var(--primary-light); }

/* ---------- Stats ---------- */
.stats-section {
    padding: 4.5rem 0;
    background: var(--bg-alt);
    color: #fff;
}

.stats-grid-main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }

.stats-item { padding: 1rem; }

.stats-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #4ade80, #2aab6c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stats-label { color: #94a3b8; font-size: 0.88rem; font-weight: 500; }

/* ---------- History ---------- */
.history-section { padding: 5.5rem 0; }

.empty-state { text-align: center; padding: 3.5rem 2rem; color: var(--text-secondary); }

.empty-state i { font-size: 3rem; color: var(--text-muted); margin-bottom: 1rem; opacity: 0.5; }

.empty-state h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text-primary); }

.urls-list { display: flex; flex-direction: column; gap: 0.7rem; }

.url-item-modern {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
}

.url-item-modern:hover { border-color: rgba(42, 171, 108, 0.3); box-shadow: var(--shadow); }

.url-item-main { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

.url-info { flex: 1; min-width: 0; }

.url-short a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.url-short a i { font-size: 0.75rem; opacity: 0.7; }
.url-short a:hover { text-decoration: underline; }

.url-original {
    font-size: 0.83rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.1rem;
}

.url-meta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

.url-clicks, .url-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.url-clicks { color: var(--primary-dark); font-weight: 600; }

.url-copy {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 32px; height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex; align-items: center; justify-content: center;
}

.url-copy:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.view-all { text-align: center; margin-top: 2rem; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light); }

/* ---------- Pricing cards on home ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; align-items: stretch; }

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card.popular { border: 1.5px solid var(--primary); box-shadow: 0 0 0 4px rgba(42, 171, 108, 0.08); }

.popular-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.22rem 0.8rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.pricing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }

.pricing-price { margin-bottom: 1rem; }

.pricing-price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -1px; color: var(--text-primary); }

.pricing-price .period { color: var(--text-muted); font-size: 0.82rem; }

.pricing-features {
    list-style: none;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-secondary);
    flex: 1;
}

.pricing-features li { display: flex; align-items: center; gap: 0.45rem; text-align: left; }
.pricing-features li i { color: var(--success); font-size: 0.8rem; }
.pricing-features li.off i { color: var(--text-muted); }

.pricing-btn {
    display: block;
    padding: 0.75rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pricing-btn:hover { box-shadow: 0 6px 18px rgba(42, 171, 108, 0.35); transform: translateY(-1px); }

.pricing-btn.outline {
    background: var(--bg-soft);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

/* ---------- CTA ---------- */
.cta-section { padding: 4rem 0; }

.cta-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.5px; }

.cta-card p { color: #94a3b8; margin-bottom: 2rem; font-size: 1.05rem; }

.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary-large:hover { box-shadow: 0 8px 24px rgba(42, 171, 108, 0.4); transform: translateY(-2px); }

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary-large:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Footer ---------- */
.footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg-soft); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }

.footer-col h4 { font-size: 0.83rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-secondary); margin-bottom: 1rem; }

.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; padding: 0.35rem 0; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--primary-dark); }

.footer-brand { display: flex; align-items: center; gap: 0.55rem; font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.footer-brand i { color: var(--primary); }

.footer-extras { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; padding: 1.25rem 0; border-top: 1px solid var(--border); margin-bottom: 1rem; }
.footer-extras a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s ease; }
.footer-extras a:hover { color: var(--text-primary); }

.footer-bottom { text-align: center; padding-top: 1.25rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }

.footer-branding {
    text-align: center;
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.2px;
}

.history-guest-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.history-guest-cta i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; opacity: 0.7; }
.history-guest-cta h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.history-guest-cta p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.25rem; }
.history-guest-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.history-guest-cta .cta-btn:hover { box-shadow: 0 8px 24px rgba(42, 171, 108, 0.35); transform: translateY(-2px); }

/* ---------- Steps (How It Works) ---------- */
.steps-section { padding: 5.5rem 0 2rem; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(42, 171, 108, 0.4), transparent);
}

.step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    z-index: 1;
}

.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(42, 171, 108, 0.35); }

.step-number {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(42, 171, 108, 0.35);
}

.step-number .step-icon {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ---------- Brands ---------- */
.brands-section { padding: 3rem 0 5rem; }

.brands-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.75rem;
}

.brands-row { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.85;
    transition: all 0.25s ease;
}

.brand-pill:hover { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(42, 171, 108, 0.3); }
.brand-pill i { font-size: 1.05rem; }

/* ---------- Why Choose Us ---------- */
.why-section { padding: 5.5rem 0; background: var(--bg-soft); border-top: 1px solid var(--border); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

.why-list { display: flex; flex-direction: column; gap: 1.5rem; }

.why-item { display: flex; gap: 1rem; align-items: flex-start; }

.why-item .why-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
}

.why-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-primary); }
.why-item p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; }

.preview-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.preview-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.preview-head .dots { display: flex; gap: 0.35rem; }
.preview-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.preview-head strong { color: #fff; font-size: 0.95rem; flex: 1; }

.preview-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.preview-row:last-child { border-bottom: none; }

.preview-row .pr-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.preview-row .pr-body { flex: 1; min-width: 0; }
.preview-row .pr-body strong { display: block; font-size: 0.88rem; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-row .pr-body small { color: var(--text-muted); font-size: 0.75rem; }
.preview-row .pr-clicks { font-weight: 700; color: var(--primary-dark); font-size: 0.85rem; }

.preview-float {
    position: absolute;
    bottom: -14px;
    right: -14px;
    width: 92px;
    height: 92px;
    background: var(--gradient-primary);
    border-radius: 22px;
    opacity: 0.12;
    transform: rotate(12deg);
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.testi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testi-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 1rem; display: flex; gap: 0.15rem; }

.testi-quote { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.25rem; }

.testi-author { display: flex; align-items: center; gap: 0.85rem; }

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.testi-author strong { display: block; font-size: 0.92rem; color: var(--text-primary); }
.testi-author small { color: var(--text-muted); font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq-section { padding: 5.5rem 0; background: var(--bg-soft); border-top: 1px solid var(--border); }

.faq-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.open { border-color: rgba(42, 171, 108, 0.4); box-shadow: var(--shadow); }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-primary);
}

.faq-q i { color: var(--primary); transition: transform 0.3s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 1.35rem 1.25rem; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ---------- CTA glow decoration ---------- */
.cta-card::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 171, 108, 0.4), transparent 70%);
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 70%);
    bottom: -160px;
    left: -100px;
    pointer-events: none;
}

.cta-card h2, .cta-card p, .cta-buttons { position: relative; z-index: 1; }

/* ---------- Blog / News ---------- */
.blog-section { padding: 5.5rem 0; border-top: 1px solid var(--border); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(42, 171, 108, 0.35); }

.blog-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.blog-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); line-height: 1.5; flex: 1; }

.blog-link { color: var(--primary); font-size: 0.88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Contact ---------- */
.contact-section { padding: 5.5rem 0; background: var(--bg-soft); border-top: 1px solid var(--border); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.contact-item strong { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.2rem; }

.contact-item a, .contact-item span { color: var(--text-primary); font-size: 0.95rem; font-weight: 600; text-decoration: none; }

.contact-item a:hover { color: var(--primary); }

.contact-extra {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(42, 171, 108, 0.35);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(42, 171, 108, 0.06);
}

.contact-extra i { color: var(--primary); }

.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.contact-field input, .contact-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-field input:focus, .contact-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 171, 108, 0.15);
}

.contact-field textarea { resize: vertical; min-height: 120px; }

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42, 171, 108, 0.35); }

.contact-success { text-align: center; padding: 2.5rem 1rem; }

.contact-success i { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; }

.contact-success h3 { font-size: 1.3rem; color: var(--text-primary); margin-bottom: 0.5rem; }

.contact-success p { color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--navbar-bg-solid);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        flex-direction: column;
        gap: 0.25rem;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.show { display: flex; }
    .nav-links a { width: 100%; }
    .nav-links .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }
    .mobile-toggle { display: block; }
    .theme-toggle { margin-left: auto; }

    .hero { padding: 3.5rem 1rem 3rem; }
    .url-bar { flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 0.75rem; }
    .url-bar .hero-btn { justify-content: center; padding: 0.85rem; }
    .hero-stats-mini { gap: 1.5rem; flex-wrap: wrap; }
    .stats-grid-main { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .url-item-main { flex-direction: column; align-items: flex-start; }
    .url-meta { width: 100%; justify-content: space-between; }
    .result-extras { flex-direction: column; align-items: stretch; }
    .share-buttons { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-col:first-child { grid-column: 1 / -1; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .testi-grid { grid-template-columns: 1fr; }
    .brands-row { gap: 0.6rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid-main { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form > div[style] { grid-template-columns: 1fr !important; }
}

/* ---------- Auth pages (Login / Register) ---------- */
.auth-page { min-height: 100vh; background: var(--bg); overflow-x: hidden; }

.auth-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.auth-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: authFloat 16s ease-in-out infinite; }
.auth-blob-1 { width: 420px; height: 420px; background: rgba(42, 171, 108, 0.35); top: -130px; left: -110px; }
.auth-blob-2 { width: 380px; height: 380px; background: rgba(99, 102, 241, 0.3); bottom: -130px; right: -90px; animation-delay: -5s; }
.auth-blob-3 { width: 260px; height: 260px; background: rgba(245, 158, 11, 0.22); top: 45%; left: 62%; animation-delay: -9s; }

[data-theme="dark"] .auth-blob { opacity: 0.38; }

@keyframes authFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.08); }
    66% { transform: translate(-25px, 25px) scale(0.94); }
}

.auth-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 75%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 75%);
}

.auth-container { position: relative; z-index: 1; min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }

.auth-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: authCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }

@keyframes authCardIn {
    from { opacity: 0; transform: translateY(34px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-icon-wrap {
    width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 1.25rem;
    background: var(--gradient-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
    box-shadow: 0 12px 32px rgba(42, 171, 108, 0.35);
    position: relative; animation: authPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.auth-icon-wrap::after {
    content: ''; position: absolute; inset: -9px; border-radius: 28px;
    border: 2px solid rgba(42, 171, 108, 0.35);
    animation: authRing 2.4s ease-in-out infinite;
}

@keyframes authPop {
    from { opacity: 0; transform: scale(0.5) rotate(-14deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes authRing {
    0% { opacity: 0.8; transform: scale(0.9); }
    70% { opacity: 0; transform: scale(1.28); }
    100% { opacity: 0; transform: scale(1.28); }
}

.auth-header { text-align: center; margin-bottom: 2rem; animation: authFadeUp 0.6s ease 0.25s both; }
.auth-header h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.3px; }
.auth-header p { color: var(--text-secondary); margin-top: 0.35rem; }

@keyframes authFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form .form-group { margin-bottom: 1.3rem; animation: authFadeUp 0.55s ease both; }
.auth-form .form-group:nth-child(1) { animation-delay: 0.3s; }
.auth-form .form-group:nth-child(2) { animation-delay: 0.38s; }
.auth-form .form-group:nth-child(3) { animation-delay: 0.46s; }
.auth-form .form-group:nth-child(4) { animation-delay: 0.54s; }

.form-group label { display: block; color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: 0.2px; }
.form-group label i { color: var(--primary); margin-right: 0.45rem; }

.input-wrap { position: relative; }

.input-wrap .input-icon {
    position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 0.9rem; pointer-events: none;
    transition: color 0.25s ease, transform 0.25s ease; z-index: 1;
}

.input-wrap input {
    width: 100%; padding: 0.9rem 2.75rem 0.9rem 2.85rem;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 13px;
    color: var(--text-primary); font-size: 0.95rem; font-family: var(--font);
    transition: all 0.3s ease;
}

.input-wrap input::placeholder { color: var(--text-muted); }

.input-wrap input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(42, 171, 108, 0.15);
    background: var(--card);
}

.input-wrap:focus-within .input-icon { color: var(--primary); transform: translateY(-50%) scale(1.1); }

.pwd-toggle {
    position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    padding: 0.4rem; font-size: 0.95rem; transition: color 0.2s ease;
}

.pwd-toggle:hover { color: var(--primary); }

.auth-btn {
    width: 100%; padding: 0.95rem; margin-top: 0.5rem; position: relative; overflow: hidden;
    background: var(--gradient-primary); color: #fff; border: none; border-radius: 13px;
    font-size: 1rem; font-weight: 700; cursor: pointer; font-family: var(--font);
    display: flex; align-items: center; justify-content: center; gap: 0.55rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(42, 171, 108, 0.3);
    animation: authFadeUp 0.55s ease 0.55s both;
}

.auth-btn::after {
    content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg); transition: left 0.6s ease;
}

.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(42, 171, 108, 0.42); }
.auth-btn:hover::after { left: 125%; }
.auth-btn:active { transform: translateY(0) scale(0.98); }

.auth-footer { text-align: center; color: var(--text-secondary); font-size: 0.9rem; margin-top: 1.25rem; animation: authFadeUp 0.55s ease 0.65s both; }
.auth-footer a { color: var(--primary); text-decoration: none; font-weight: 700; position: relative; }
.auth-footer a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.auth-footer a:hover::after { transform: scaleX(1); transform-origin: left; }

.auth-error {
    padding: 0.85rem 1rem; background: var(--err-bg); border: 1px solid var(--err-border);
    color: var(--err-text); border-radius: 12px; margin-bottom: 1.25rem; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.6rem; animation: authFadeUp 0.4s ease both;
}

.auth-success {
    padding: 0.85rem 1rem; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981; border-radius: 12px; margin-bottom: 1.25rem; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.6rem; animation: authFadeUp 0.4s ease both;
}

@media (max-width: 480px) {
    .auth-card { padding: 2rem 1.4rem; border-radius: 20px; }
    .auth-container { padding: 1.25rem 0.75rem; }
}

/* ============================================================
   3D style — full website (cards, buttons, auth, hover + click)
   ============================================================ */
.features-grid, .pricing-grid, .steps-grid, .testi-grid, .blog-grid, .faq-wrap, .contact-grid, .cta-card, .preview-card, .hero-option, .auth-container, .url-item-modern {
    perspective: 1200px;
}

.feature-card, .url-item-modern, .pricing-card, .step-card, .testi-card, .blog-card, .faq-item, .contact-item, .cta-card, .preview-card, .hero-option, .result-box, .brand-pill {
    transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease, border-color .3s ease;
    will-change: transform;
}

.feature-card:hover, .url-item-modern:hover, .pricing-card:hover, .step-card:hover, .testi-card:hover, .blog-card:hover, .faq-item:hover, .contact-item:hover, .cta-card:hover, .preview-card:hover, .hero-option:hover, .result-box:hover {
    transform: perspective(1000px) translateZ(16px) translateY(-5px) rotateX(1.6deg) rotateY(-1.2deg);
    border-color: rgba(42, 171, 108, .4);
    box-shadow: 0 22px 48px rgba(2, 44, 34, .18), 0 4px 12px rgba(42, 171, 108, .16);
}

[data-theme="dark"] .feature-card:hover, [data-theme="dark"] .url-item-modern:hover, [data-theme="dark"] .pricing-card:hover, [data-theme="dark"] .step-card:hover, [data-theme="dark"] .testi-card:hover, [data-theme="dark"] .blog-card:hover, [data-theme="dark"] .faq-item:hover, [data-theme="dark"] .contact-item:hover, [data-theme="dark"] .cta-card:hover, [data-theme="dark"] .preview-card:hover, [data-theme="dark"] .hero-option:hover, [data-theme="dark"] .result-box:hover {
    box-shadow: 0 24px 50px rgba(0, 0, 0, .6), 0 4px 14px rgba(52, 211, 153, .25);
}

.feature-card:active, .url-item-modern:active, .pricing-card:active, .step-card:active, .testi-card:active, .blog-card:active, .faq-item:active, .cta-card:active, .preview-card:active, .hero-option:active {
    transform: perspective(1000px) translateZ(2px) translateY(-1px) scale(.98);
}

/* JS sets opacity/transform with !important once visible — hover must override */
.feature-card.animate-visible:hover, .url-item-modern.animate-visible:hover {
    transform: perspective(1000px) translateZ(16px) translateY(-5px) rotateX(1.6deg) rotateY(-1.2deg) !important;
}

.feature-icon, .step-number, .testi-avatar, .blog-icon, .contact-icon { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.feature-card:hover .feature-icon, .step-card:hover .step-number, .testi-card:hover .testi-avatar, .blog-card:hover .blog-icon, .contact-item:hover .contact-icon {
    transform: translateZ(26px) scale(1.12) rotate(6deg);
}

.brand-pill:hover { transform: translateZ(10px) scale(1.06) translateY(-2px); }
.brand-pill:active { transform: scale(.94); }

/* ---------- 3D buttons ---------- */
.btn-outline, .btn-primary-large, .btn-secondary-large, .copy-btn, .extra-btn, .share-btn, .contact-btn, .pricing-btn, .cta-btn, .nav-cta, .auth-btn, .url-copy, .theme-toggle {
    transform-style: preserve-3d;
    transition: transform .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn-outline:hover, .btn-primary-large:hover, .btn-secondary-large:hover, .copy-btn:hover, .extra-btn:hover, .share-btn:hover, .contact-btn:hover, .pricing-btn:hover, .cta-btn:hover, .nav-cta:hover, .auth-btn:hover, .url-copy:hover {
    transform: translateY(-3px) translateZ(10px);
}
.btn-outline:active, .btn-primary-large:active, .btn-secondary-large:active, .copy-btn:active, .extra-btn:active, .share-btn:active, .contact-btn:active, .pricing-btn:active, .cta-btn:active, .auth-btn:active, .url-copy:active {
    transform: translateY(0) translateZ(2px) scale(.95);
}

/* ---------- 3D auth card ---------- */
.auth-card {
    transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
    will-change: transform;
}
.auth-card:hover {
    transform: perspective(1100px) translateZ(12px) rotateX(1.2deg) rotateY(-1.4deg);
    border-color: rgba(42, 171, 108, .35);
    box-shadow: 0 32px 64px rgba(2, 44, 34, .22), 0 6px 16px rgba(42, 171, 108, .14);
}
[data-theme="dark"] .auth-card:hover {
    box-shadow: 0 34px 70px rgba(0, 0, 0, .65), 0 6px 16px rgba(52, 211, 153, .22);
}
.auth-card:active { transform: perspective(1100px) translateZ(3px) scale(.985); }

/* ---------- hero elements ---------- */
.hero-badge { transition: transform .3s ease, box-shadow .3s ease; }
.hero-badge:hover { transform: translateZ(12px) scale(1.04) rotate(-1deg); box-shadow: 0 12px 30px rgba(42, 171, 108, .25); }
.mini-stat { transition: transform .3s ease; }
.mini-stat:hover { transform: translateZ(8px) translateY(-2px); }

/* ---------- nav ---------- */
.nav-logo, .footer-logo, .footer-brand { transition: transform .3s ease; }
.nav-logo:hover, .footer-brand:hover { transform: translateZ(8px) scale(1.03); }

@media (prefers-reduced-motion: reduce) {
    .feature-card, .url-item-modern, .pricing-card, .step-card, .testi-card, .blog-card, .faq-item, .cta-card, .preview-card, .hero-option, .auth-card, .btn-outline, .copy-btn, .auth-btn { transform: none !important; }
}
