
/* DirectLink.at - Hauptstylesheet */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #10b981;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

/* Reset und Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Header und Navigation */
header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links .btn-login,
.nav-links .btn-register {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.nav-links .btn-login {
    color: var(--primary-color);
}

.nav-links .btn-register {
    background: var(--primary-color);
    color: white;
}

.nav-links .btn-register:hover {
    background: var(--primary-hover);
}

/* Language Toggle */
.lang-toggle {
    background: var(--border-color);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.2s;
}

.lang-toggle:hover {
    background: var(--secondary-color);
    color: white;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Shortener Box */
.shortener-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.input-group input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

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

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

/* Result Box */
.result-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f0fdf4;
    border: 2px solid var(--success);
    border-radius: var(--radius);
}

.result-box.hidden {
    display: none;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--success);
    font-weight: 600;
}

.success-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-url-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.short-url-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: monospace;
    font-size: 1rem;
}

.btn-copy {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
}

.result-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.result-info a {
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing-teaser,
.pricing-detail {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-teaser h2,
.pricing-detail h2,
.page-header h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-cards-large {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

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

.pricing-card.premium {
    border-color: var(--primary-color);
}

.pricing-card.yearly {
    border-color: var(--accent-color);
}

.pricing-card.highlight {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, var(--card-bg), #f0fdf4);
}

.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card.yearly .badge {
    background: var(--accent-color);
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-card.yearly .price {
    color: var(--accent-color);
}

.pricing-card .period {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.pricing-card .savings {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.5rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Pay Per Link Section */
.pay-per-link {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: var(--radius-lg);
}

.pay-per-link h2 {
    margin-bottom: 1rem;
}

.pay-per-link p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.highlight-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.price-big {
    font-size: 4rem;
    font-weight: 700;
}

.price-period {
    font-size: 1.25rem;
    opacity: 0.8;
}

.pay-per-link-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Info Section */
.info-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.info-box {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.info-box h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-box p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.coming-soon {
    display: inline-block;
    background: #f3f4f6;
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: var(--card-bg);
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.cta-section h2 {
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    color: white;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.25rem;
}

/* Content Section */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.legal-content h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-content p,
.legal-content ul,
.legal-content li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-content ul {
    padding-left: 1.5rem;
}

.imprint-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.imprint-block h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.last-updated {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-method h3 {
    margin-bottom: 0.75rem;
}

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

.contact-link:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.contact-form textarea {
    resize: vertical;
}

/* Footer */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

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

.footer-section p {
    color: var(--text-secondary);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .pricing-cards-large {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .price-big {
        font-size: 3rem;
    }
}

.enterprise-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.enterprise-box {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.enterprise-box h2 {
    margin-bottom: 1rem;
}

.enterprise-box p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.enterprise-box ul {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-bottom: 2rem;
}

.enterprise-box li {
    margin: 0.5rem 0;
}

.enterprise-box .btn-secondary {
    border-color: white;
    color: white;
}

.enterprise-box .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.pricing-explanation {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 0 2rem;
}

.custom-link-input {
    background: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.custom-link-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.custom-link-input input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.custom-link-input small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.info-box.highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
}

.premium-message {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    overflow-x: auto;
    padding: 0 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table th:first-child {
    background: #1e40af;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

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

.pricing-card.free {
    border-color: var(--success);
    background: linear-gradient(to bottom, var(--card-bg), #f0fdf4);
}

.pricing-card.free .badge {
    background: var(--success);
}

/* Enterprise Section */
.enterprise-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.enterprise-box {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.enterprise-box h2 {
    margin-bottom: 1rem;
}

.enterprise-box p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.enterprise-box ul {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-bottom: 2rem;
}

.enterprise-box li {
    margin: 0.5rem 0;
}

.enterprise-box .btn-secondary {
    border-color: white;
    color: white;
}

.enterprise-box .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.pricing-explanation {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 0 2rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}
