/* assets/css/style.css - Complete Premium Stylesheet */

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== PREMIUM HEADER ==================== */
.header-premium {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

/* ==================== LOGO WITH TAGLINE (LEFT ALIGNED) ==================== */
.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;  /* Changed from center to flex-start */
    justify-content: center;
    text-align: left;  /* Changed from center to left */
    text-decoration: none;
    gap: 4px;
    padding: 0;
    margin: 0;
    line-height: 1;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.site-logo {
    height: 45px;
    width: auto;
    max-width: 200px;
    display: block;
    transition: all 0.3s ease;
    object-fit: contain;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.site-logo:hover {
    transform: scale(1.05);
}

.logo-tagline {
    display: block;
    padding: 0;
    margin: 0;
    line-height: 1;
    width: 100%;  /* Added to ensure full width */
}

.tagline-text {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.3px;
    padding: 0;
    margin: 0;
    display: block;
    text-align: left;  /* Added explicit left alignment */
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
}

.nav-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-icon {
    font-size: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 20px
    );
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-stats {
    padding: 50px 0 35px;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding: 60px 0;
}

/* ==================== PREMIUM FORM BOX ==================== */
.form-box-premium {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-header .form-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.form-group-inline {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-shorten {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-shorten:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-shorten:active {
    transform: translateY(-1px);
}

.advanced-toggle-premium {
    text-align: center;
    margin: 20px 0;
}

.btn-advanced {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s;
}

.btn-advanced:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.advanced-icon {
    font-size: 18px;
}

.toggle-arrow {
    margin-left: 5px;
    transition: transform 0.3s;
}

.advanced-options-panel {
    margin-top: 25px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.options-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ==================== FORM ELEMENTS ==================== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.optional {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group input[type="datetime-local"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.slug-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.slug-prefix {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.slug-input-group input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

.slug-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-check {
    padding: 12px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-check:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

#slugStatus {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* ==================== ALERTS & MESSAGES ==================== */
.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--error-color);
}

.info-message {
    background: #dbeafe;
    color: #1e40af;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

/* ==================== COMPACT RESULT BOX ==================== */
.result-box-compact {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.result-box-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--success-color), var(--primary-color));
}

.success-animation {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.success-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.result-header h2 {
    font-size: 22px;
    margin: 0;
    color: var(--text-primary);
}

.result-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: center;
}

.result-urls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.url-item label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.url-copy-compact {
    display: flex;
    gap: 8px;
    align-items: center;
}

.url-copy-compact input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-copy-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-copy-icon:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.btn-copy-icon:active {
    transform: scale(0.95);
}

.url-text-compact {
    padding: 10px 14px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    word-break: break-all;
}

.result-qr {
    display: flex;
    align-items: center;
}

.qr-wrapper {
    text-align: center;
}

.qr-image-compact {
    width: 140px;
    height: 140px;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    padding: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.qr-image-compact:hover {
    transform: scale(1.05);
}

.qr-actions-compact {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-primary);
}

.btn-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.result-actions-compact {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-outline {
    padding: 12px 24px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-primary-compact {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary-compact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ==================== FEATURES SECTION (FLEXBOX METHOD) ==================== */
.features-section {
    margin: 60px 0;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;  /* Auto-centers all cards */
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    text-align: center;
    width: calc(25% - 23px);      /* 4 cards per row */
    min-width: 250px;
    max-width: 280px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 18px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .feature-card {
        width: calc(33.333% - 20px);  /* 3 per row */
    }
}

@media (max-width: 900px) {
    .feature-card {
        width: calc(50% - 15px);  /* 2 per row */
    }
}

@media (max-width: 600px) {
    .features-grid {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-card {
        width: 100%;
        max-width: 100%;
    }
}

/* ==================== STATS PAGE ==================== */
.stats-page {
    min-height: 100vh;
    padding: 0;
}

.stats-search-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto 40px;
}

.stats-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: all 0.3s;
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-prefix {
    padding: 12px 16px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    background: var(--bg-secondary);
}

.search-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 16px;
    background: transparent;
}

.search-input-group input:focus {
    outline: none;
}

.btn-search {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.analytics-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.analytics-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.card-header h2,
.card-header h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.url-info-card .info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.url-info-card .info-row:last-child {
    border-bottom: none;
}

.url-info-card .info-row label {
    font-weight: 600;
    min-width: 150px;
    color: var(--text-primary);
}

.url-info-card .info-row span {
    color: var(--text-secondary);
    word-break: break-all;
}

.url-link {
    color: var(--primary-color);
    text-decoration: none;
}

.url-link:hover {
    text-decoration: underline;
}

.url-text-wrap {
    word-break: break-all;
}

.btn-copy-small {
    margin-left: 8px;
    padding: 4px 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-copy-small:hover {
    background: var(--primary-dark);
}

.status-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.badge-locked {
    background: #fef3c7;
    color: #92400e;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-primary .stat-value {
    color: var(--primary-color);
}

.stat-success .stat-value {
    color: var(--success-color);
}

.stat-info .stat-value {
    color: var(--secondary-color);
}

.stat-warning .stat-value {
    color: var(--warning-color);
}

.analytics-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.chart-table {
    margin-top: 20px;
    overflow-x: auto;
}

.chart-table table {
    width: 100%;
    border-collapse: collapse;
}

.chart-table th {
    background: var(--bg-secondary);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.chart-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.progress-bar {
    height: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s;
}

.qr-card {
    text-align: center;
}

.qr-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-display {
    max-width: 250px;
    margin: 20px auto;
    display: block;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qr-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

.btn-download,
.btn-print {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-download {
    background: var(--success-color);
    color: white;
    text-decoration: none;
}

.btn-download:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-print {
    background: var(--secondary-color);
    color: white;
}

.btn-print:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.error-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.error-content strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--error-color);
}

.error-content p {
    color: var(--text-secondary);
}

/* ==================== PREMIUM FOOTER ==================== */
.footer-premium {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.footer-logo {
    padding: 0;
    margin: 0;
    line-height: 1;
}

.footer-logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
    line-height: 1;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

/* ==================== RESPONSIVE STYLES ==================== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 5px;
    }

    .nav-item {
        padding: 8px 14px;
        font-size: 14px;
    }

    .analytics-grid-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .header-content {
        padding: 10px 0;
        gap: 10px;
    }

    .site-logo {
        height: 38px;
        max-width: 160px;
    }

    .tagline-text {
        font-size: 10px;
    }

    .logo-link {
        gap: 3px;
    }

    /* Mobile Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        gap: 8px;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-item {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero Mobile */
    .hero-section {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }

    /* Form Mobile */
    .form-box-premium {
        padding: 20px;
        margin-top: -20px;
        border-radius: 16px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .form-group-inline {
        flex-direction: column;
    }

    .input-wrapper input {
        padding: 14px 16px 14px 45px;
    }

    .btn-shorten {
        width: 100%;
    }

    /* Advanced Options Mobile */
    .options-grid-two {
        grid-template-columns: 1fr;
    }

    .slug-input-group {
        flex-direction: column;
    }

    .slug-prefix {
        width: 100%;
        justify-content: center;
    }

    .btn-check {
        width: 100%;
    }

    /* Features Mobile */
    .section-header h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer Mobile */
    .footer-premium {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
        gap: 12px;
    }

    .footer-logo img {
        height: 42px;
        max-width: 150px;
    }

    .footer-desc {
        font-size: 14px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col a:hover {
        padding-left: 0;
    }

    /* Result Box Mobile */
    .result-box-compact {
        padding: 20px;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .result-qr {
        justify-content: center;
    }

    .qr-image-compact {
        width: 120px;
        height: 120px;
    }

    .result-actions-compact {
        flex-direction: column;
    }

    .btn-outline,
    .btn-primary-compact {
        width: 100%;
        justify-content: center;
    }

    /* Stats Mobile */
    .stats-search-box {
        padding: 25px;
    }

    .stats-search-form {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }

    .stats-overview {
        grid-template-columns: 1fr;
    }

    .analytics-card {
        padding: 20px;
    }

    .url-info-card .info-row {
        flex-direction: column;
        gap: 5px;
    }

    .url-info-card .info-row label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    /* Header Small Mobile */
    .site-logo {
        height: 32px;
        max-width: 140px;
    }

    .tagline-text {
        font-size: 9px;
    }

    .logo-link {
        gap: 2px;
    }

    .header-content {
        padding: 8px 0;
    }

    /* Hero Small Mobile */
    .hero-title {
        font-size: 26px;
    }

    /* Form Small Mobile */
    .form-box-premium {
        padding: 16px;
    }

    /* Features Small Mobile */
    .feature-card {
        padding: 20px 15px;
    }

    /* Result Box Small Mobile */
    .result-card {
        padding: 15px;
    }

    /* Footer Small Mobile */
    .footer-logo img {
        height: 36px;
        max-width: 130px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .footer-premium {
        padding: 30px 0 15px;
    }
}

@media (max-width: 360px) {
    /* Extra Small Mobile */
    .site-logo {
        height: 28px;
        max-width: 120px;
    }

    .tagline-text {
        font-size: 8px;
    }

    .footer-logo img {
        height: 32px;
        max-width: 110px;
    }
}
