/* ===== LOCOLINK GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --bg-primary: #08080d;
    --bg-secondary: #0e0e16;
    --bg-card: #14141e;
    --bg-card-hover: #1a1a28;
    --bg-elevated: #1e1e2c;
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #55556a;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.12);
    --accent-glow-strong: rgba(245, 158, 11, 0.25);
    --blue: #3b82f6;
    --blue-glow: rgba(59, 130, 246, 0.12);
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.12);
    --red: #ef4444;
    --red-glow: rgba(239, 68, 68, 0.12);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.12);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.12);
    --pink: #ec4899;
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.25);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 80px var(--accent-glow);
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
    --bg-primary: #f8f8fb;
    --bg-secondary: #eeeef4;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f4fa;
    --bg-elevated: #ffffff;
    --text-primary: #111118;
    --text-secondary: #55556a;
    --text-muted: #8a8a9a;
    --accent: #d97706;
    --accent-light: #b45309;
    --accent-dark: #92400e;
    --accent-glow: rgba(217, 119, 6, 0.08);
    --accent-glow-strong: rgba(217, 119, 6, 0.15);
    --blue-glow: rgba(59, 130, 246, 0.08);
    --green-glow: rgba(16, 185, 129, 0.08);
    --red-glow: rgba(239, 68, 68, 0.08);
    --purple-glow: rgba(139, 92, 246, 0.08);
    --cyan-glow: rgba(6, 182, 212, 0.08);
    --border: rgba(0,0,0,0.08);
    --border-light: rgba(0,0,0,0.12);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 80px var(--accent-glow);
}

[data-theme="light"] nav {
    background: rgba(248, 248, 251, 0.85);
}
[data-theme="light"] nav.scrolled {
    background: rgba(248, 248, 251, 0.95);
}
[data-theme="light"] .nav-logo-icon svg { stroke: #fff; }
[data-theme="light"] .nav-links a:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .nav-links.open { background: rgba(248, 248, 251, 0.98); }
[data-theme="light"] .price-btn-secondary { background: var(--bg-secondary); }
[data-theme="light"] .card { box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
[data-theme="light"] .card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
[data-theme="light"] .price-card { box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
[data-theme="light"] .price-card.featured { box-shadow: 0 4px 24px rgba(217,119,6,0.12); }
[data-theme="light"] .badge { background: rgba(217,119,6,0.06); border-color: rgba(217,119,6,0.15); }
[data-theme="light"] .badge-purple { background: rgba(139,92,246,0.06); border-color: rgba(139,92,246,0.15); }
[data-theme="light"] .section-label { color: var(--accent); }
[data-theme="light"] footer { border-color: var(--border); }

/* Smooth transition for theme change */
html { transition: background-color 0.35s ease, color 0.35s ease; }
body, nav, .card, .price-card, .badge, footer, .btn-secondary, .theme-toggle {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    color: var(--text-secondary);
    margin: 0;
}
.theme-toggle:hover {
    background: var(--bg-card-hover);
    color: var(--accent);
    border-color: var(--border-light);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== CONTAINER ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(8, 8, 13, 0.75);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(8, 8, 13, 0.95);
    padding: 10px 0;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
}

.nav-logo-text {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
    background: var(--accent) !important;
    color: var(--bg-primary) !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* Theme toggle in nav */
nav .container {
    gap: 12px;
}

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

/* ===== TYPOGRAPHY ===== */
.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1.08;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 560px;
    line-height: 1.65;
}

.page-header {
    text-align: center;
    padding: 140px 0 60px;
}

.page-header .section-sub { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    padding: 14px 0;
}

.btn-ghost:hover { color: var(--accent-light); }

.btn svg, .btn img { width: 20px; height: 20px; }

.btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Card icon colors */
.ci-orange { background: var(--accent-glow); }
.ci-blue { background: var(--blue-glow); }
.ci-green { background: var(--green-glow); }
.ci-red { background: var(--red-glow); }
.ci-purple { background: var(--purple-glow); }
.ci-cyan { background: var(--cyan-glow); }

/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.18);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
}

.badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.18);
    color: var(--blue);
}

.badge-green {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.18);
    color: var(--green);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.18);
    color: var(--purple);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== DIVIDER ===== */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ===== SECTION BACKGROUNDS ===== */
.bg-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ===== GLOW EFFECTS ===== */
.glow-orange { box-shadow: 0 0 80px var(--accent-glow); }
.glow-blue { box-shadow: 0 0 80px var(--blue-glow); }

/* ===== PRICE CARDS ===== */
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s;
}

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

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 60px var(--accent-glow);
}

.price-card.featured::before {
    content: attr(data-badge);
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-primary);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.price-tier {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-amount {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 4px;
}

.price-amount .sm { font-size: 22px; font-weight: 600; }

.price-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.price-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.55;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.price-features .ck { color: var(--green); font-weight: 700; }
.price-features .xx { color: var(--text-muted); }

.price-btn {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.price-btn-primary { background: var(--accent); color: var(--bg-primary); }
.price-btn-primary:hover { background: var(--accent-light); }
.price-btn-secondary { background: var(--bg-secondary); color: var(--text-primary); border: 1px solid var(--border); }
.price-btn-secondary:hover { background: var(--bg-card-hover); }

/* ===== PRICING TOGGLE ===== */
.pricing-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
    margin: 0 auto;
}

.pricing-toggle-btn {
    padding: 10px 28px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-toggle-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-secondary); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    section { padding: 64px 0; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(8, 8, 13, 0.98);
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .nav-links.open a { padding: 12px 16px; display: block; }
    .btn-group { flex-direction: column; align-items: stretch; }
    .btn-group .btn { justify-content: center; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { justify-content: center; }
    .page-header { padding: 120px 0 40px; }
    .price-card { padding: 28px 22px; }
}

/* ===== SUBTLE ANIMATED ICONS — GLOBAL ===== */

/* Feature icon hover lift */
.feat-icon {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .feat-icon {
    transform: translateY(-3px);
}

/* Gentle float animation for decorative elements */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Section label subtle entrance */
.section-label {
    position: relative;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    margin-right: 8px;
    vertical-align: middle;
    animation: labelDotPulse 3s ease-in-out infinite;
}
@keyframes labelDotPulse {
    0%, 100% { opacity: 0.25; transform: scale(0.8); }
    50% { opacity: 0.6; transform: scale(1); }
}

/* Checkmark subtle pop-in on scroll visibility */
.feature-list .ck,
.sync-features .ck {
    display: inline-block;
    transition: transform 0.3s ease;
}
.feature-list li:hover .ck,
.sync-features li:hover .ck {
    transform: scale(1.3);
}

/* Card hover micro-interaction */
.card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: rgba(245,158,11,0.15);
}

/* Nav logo subtle animation */
.nav-logo-icon {
    transition: transform 0.3s ease;
}
.nav-logo-icon:hover {
    transform: rotate(-8deg) scale(1.05);
}

/* Footer link underline animation */
.footer-links a {
    position: relative;
}
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.footer-links a:hover::after {
    width: 100%;
}

/* Stats number count-up feel */
.stat-number {
    transition: transform 0.3s ease;
}
.stat:hover .stat-number {
    transform: scale(1.08);
}
