/*
 * LinkSnap - URL Shortener SaaS
 * Premium Design Stylesheet
 */

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f472b6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --shadow-glow-lg: 0 0 100px rgba(99, 102, 241, 0.4);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

* {
    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-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

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

.text-glow {
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

/* ========== Buttons ========== */
.btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ========== Navbar ========== */
.navbar {
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
}

.navbar-dark .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ========== Hero Section ========== */
.hero-section {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(217, 70, 239, 0.1) 0%, transparent 50%);
    animation: aurora 20s ease-in-out infinite;
}

@keyframes aurora {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--gradient-primary);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* ========== URL Input Box ========== */
.url-shortener-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

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

.url-shortener-box h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.url-shortener-box p {
    color: var(--gray);
    margin-bottom: 24px;
}

.url-input-group {
    display: flex;
    gap: 12px;
}

.url-input-group input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.url-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.url-input-group input::placeholder {
    color: var(--gray-light);
}

.url-input-group button {
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 1rem;
    white-space: nowrap;
}

/* ========== Floating Elements ========== */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), transparent);
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.15), transparent);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(0, 20px) rotate(180deg); }
    75% { transform: translate(-30px, -10px) rotate(270deg); }
}

/* ========== Trust Badges ========== */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.trust-badge i {
    color: var(--success);
    font-size: 1.1rem;
}

/* ========== Features Section ========== */
.features-section {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: var(--border-radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    background: #fff;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 88px;
    height: 88px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2.25rem;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    margin: 0;
    line-height: 1.7;
}

/* ========== Stats Section ========== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 0% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    color: var(--gray-light);
    font-size: 1.1rem;
}

/* ========== Pricing Section ========== */
.pricing-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.pricing-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-card .subtitle {
    color: var(--gray);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 32px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.pricing-features li i.bi-check-circle-fill {
    color: var(--success);
}

.pricing-features li i.bi-x-circle-fill {
    color: var(--gray-light);
}

.pricing-features li.disabled {
    color: var(--gray-light);
}

/* ========== Testimonials ========== */
.testimonials-section {
    padding: 120px 0;
    background: #fff;
}

.testimonial-card {
    background: #f8fafc;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.testimonial-author-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-author-info span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(217, 70, 239, 0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-light);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 80px 0 40px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    margin-top: 60px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ========== Dashboard ========== */
body:has(.dashboard-sidebar) {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.dashboard-sidebar {
    background: var(--dark);
    padding: 28px;
    width: 280px;
    flex-shrink: 0;
    z-index: 100;
}

.dashboard-sidebar nav {
    position: sticky;
    top: 28px;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.dashboard-sidebar .nav-link {
    color: var(--gray-light);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dashboard-sidebar .nav-link:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #fff;
}

.dashboard-sidebar .nav-link.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.dashboard-sidebar .nav-link i {
    width: 22px;
    font-size: 1.1rem;
}

.dashboard-main {
    flex: 1;
    padding: 36px;
    min-height: 100vh;
    background: #f1f5f9;
    min-width: 0;
}

/* ========== Stats Cards ========== */
.stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

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

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.stat-card .stat-icon.primary { background: var(--gradient-primary); }
.stat-card .stat-icon.success { background: linear-gradient(135deg, #10b981, #34d399); }
.stat-card .stat-icon.warning { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.stat-card .stat-icon.info { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }

.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 12px 0 4px;
    color: var(--dark);
}

.stat-card .stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== Cards ========== */
.card-custom {
    background: #fff;
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-sm);
}

/* ========== Links Table ========== */
.links-table {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.links-table table {
    margin-bottom: 0;
}

.links-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 18px 20px;
    border: none;
}

.links-table td {
    padding: 18px 20px;
    vertical-align: middle;
    border-color: #f1f5f9;
}

.links-table tbody tr {
    transition: background 0.2s ease;
}

.links-table tbody tr:hover {
    background: #f8fafc;
}

.short-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.short-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========== Badges ========== */
.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.badge-info { background: rgba(14, 165, 233, 0.1); color: var(--secondary); }

/* ========== Forms ========== */
.form-control {
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-text {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* ========== Copy Button ========== */
.copy-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.copy-btn.copied {
    color: var(--success);
}

/* ========== Alerts ========== */
.alert {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

[data-delay="1"] { animation-delay: 0.1s; }
[data-delay="2"] { animation-delay: 0.2s; }
[data-delay="3"] { animation-delay: 0.3s; }
[data-delay="4"] { animation-delay: 0.4s; }
[data-delay="5"] { animation-delay: 0.5s; }

/* ========== Responsive ========== */
@media (max-width: 1200px) {
    .hero-title { font-size: 3rem; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 992px) {
    .hero-section { padding: 100px 0 60px; }
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 24px; }

    .url-input-group {
        flex-direction: column;
    }

    body:has(.dashboard-sidebar) {
        display: block;
    }

    .dashboard-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        z-index: 1000;
        transition: transform 0.3s ease;
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
        padding: 24px;
    }

    .stat-number { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }
    .cta-content h2 { font-size: 2rem; }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-card { padding: 32px 24px; }
}

@media (max-width: 576px) {
    .hero-section { padding: 80px 0 40px; }
    .url-shortener-box { padding: 24px; }
    .feature-card { padding: 32px 24px; }
}

/* ========== Auth Pages ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.auth-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.auth-card .logo {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 32px;
}

/* ========== QR Modal ========== */
.qr-code-container {
    text-align: center;
    padding: 24px;
}

.qr-code-container canvas {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* ========== Plan Badge ========== */
.plan-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    color: #fff;
}

/* ========== Progress Bar ========== */
.progress {
    height: 10px;
    border-radius: 10px;
    background: #e2e8f0;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}
