/* EU.PE Premium URL Shortener - Main Stylesheet */

/* Inter Font - Local Hosting */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/Inter-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/Inter-ExtraBold.woff2') format('woff2');
}

:root {
    --primary: #D4AF37;
    --primary-dark: #B8941F;
    --primary-light: #F4E4B7;
    --secondary: #1a1a1a;
    --accent: #2C2C2C;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --dark: #0a0a0a;
    --light: #fafafa;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --border: #d1d5db;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-light);
}

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

.nav-brand .logo {
    height: 65px;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    letter-spacing: -0.01em;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-secondary-light, .btn-danger {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

/* Neuer Button für dunklen Hintergrund */
.btn-secondary-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
}

.btn-secondary-light:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.btn-icon:hover {
    color: var(--primary);
}

.btn-icon.btn-danger:hover {
    color: var(--danger);
}

/* Hero Section */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.trust-badge i {
    color: var(--primary);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-demo {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.quick-shorten-form {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.quick-shorten-form input {
    flex: 1;
    border: none;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
}

.quick-shorten-form input::placeholder {
    color: var(--gray);
}

.quick-shorten-form button {
    white-space: nowrap;
}

.demo-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-icon i {
    display: block;
    text-align: center;
    width: 100%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Security Section */
.security-section {
    padding: 6rem 0;
    background: var(--light);
}

.security-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-text h2 i {
    color: var(--primary);
}

.security-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.security-features {
    list-style: none;
}

.security-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 0;
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 500;
}

.security-features i {
    color: var(--success);
    font-size: 1.25rem;
}

.security-badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    position: relative;
}

.badge-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

.badge-circle i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.badge-circle span {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.badge-circle strong {
    font-size: 2rem;
    font-weight: 800;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

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

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

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

.footer-about {
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-seo {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.footer-seo h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.footer-seo p {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
}

.auth-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    height: 60px;
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 800;
}

.auth-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-terms {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.auth-terms a {
    color: var(--primary);
    text-decoration: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Dashboard Layout */
.dashboard-page {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--secondary);
    color: var(--white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand img {
    height: 45px;
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.nav-item i {
    width: 20px;
    font-size: 1.1rem;
}

.sidebar-upgrade {
    margin: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    text-align: center;
    color: var(--dark);
}

.sidebar-upgrade h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sidebar-upgrade p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    background: var(--light);
}

.top-header {
    background: var(--white);
    padding: 1.25rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-light);
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s;
    font-weight: 500;
}

.user-menu-toggle:hover {
    background: var(--light);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 220px;
    display: none;
    border: 1px solid var(--gray-light);
}

.user-menu-dropdown.show {
    display: block;
}

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 500;
}

.user-menu-dropdown a:hover {
    background: var(--light);
}

.content-wrapper {
    padding: 2.5rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    display: flex;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

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

/* Cards */
.chart-card,
.links-card,
.form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    margin-bottom: 2rem;
}

.chart-card h3,
.card-header h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Tables */
.links-table {
    overflow-x: auto;
}

.links-table table {
    width: 100%;
    border-collapse: collapse;
}

.links-table th,
.links-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.links-table th {
    font-weight: 600;
    color: var(--gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.short-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.long-url {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

/* Badges */
.badge {
    padding: 0.35rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Upgrade Banner */
.upgrade-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--dark);
    padding: 1.75rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.upgrade-content h3 {
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.upgrade-content p {
    opacity: 0.9;
}

/* Pricing */
.pricing-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.pricing-plans {
    padding: 5rem 0;
}

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

.plan-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--gray-light);
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.plan-featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: var(--dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.plan-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.period {
    color: var(--gray);
    font-weight: 500;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 0;
    font-weight: 500;
}

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

.feature i.fa-times {
    color: var(--gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .security-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .badge-circle {
        width: 220px;
        height: 220px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .quick-shorten-form {
        flex-direction: column;
    }
    
    .nav-menu {
        display: none;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .features h2,
    .cta h2 {
        font-size: 2rem;
    }
}

/* Success Link Display */
.success-link {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
}

.success-link input {
    flex: 1;
    padding: 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.form-help {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.625rem 1.125rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    font-weight: 500;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* Error Pages */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.error-container {
    text-align: center;
    color: var(--white);
}

.error-container h1 {
    font-size: 8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.error-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.error-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Splash Page */
.splash-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.splash-container {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 2rem;
}

.splash-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.splash-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Legal Pages Styles */
.legal-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.legal-icon {
    width: 100px;
    height: 100px;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--primary);
}

.legal-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.legal-hero p {
    font-size: 1.25rem;
    opacity: 0.85;
}

.legal-content {
    padding: 5rem 0;
    background: var(--light);
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.legal-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-light);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-light);
}

.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.info-box {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.info-box p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--dark);
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: var(--dark);
    font-weight: 600;
}

.info-box a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.info-box a:hover {
    color: var(--primary-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    min-width: 20px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.highlight-link {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid var(--border);
}

.highlight-link a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.highlight-link a:hover {
    color: var(--primary-dark);
}

.legal-note {
    font-size: 0.95rem;
    color: var(--gray);
    font-style: italic;
    margin-top: 1rem;
}

.warning-box {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.warning-box i {
    color: var(--warning);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    min-width: 24px;
}

.warning-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.warning-box p {
    margin: 0;
    color: var(--dark);
    line-height: 1.7;
}

.legal-footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.legal-footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.legal-footer-links a:hover {
    color: var(--primary-dark);
}

.legal-footer-links i {
    font-size: 1.1rem;
}

/* Legal Sidebar */
.legal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-light);
    text-align: center;
}

.sidebar-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--dark);
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.sidebar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--dark);
}

.sidebar-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.trust-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive Legal Pages */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2.5rem;
    }
    
    .legal-card {
        padding: 2rem 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-sidebar {
        flex-direction: column;
    }
    
    .legal-footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Additional Privacy Policy Styles */
.legal-updated {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subsection-title::before {
    content: '';
    width: 4px;
    height: 1.3rem;
    background: var(--primary);
    border-radius: 2px;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
}

.privacy-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.privacy-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9rem;
}

.privacy-list li strong {
    color: var(--dark);
}

.info-box h3, .info-box h4 {
    color: var(--dark);
    font-weight: 700;
}

.info-box ul {
    margin-top: 1rem;
}

/* Additional Terms Styles */
.plan-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.plan-box h4 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-box h4 i {
    color: var(--primary);
}

.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-box > i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.highlight-box h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.legal-footer-note {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.legal-footer-note i {
    font-size: 1.5rem;
    color: #4caf50;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.legal-footer-note p {
    margin: 0;
    font-weight: 500;
    color: var(--dark);
}