* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.01em;
}

body {
    background: #f9fafc;
    color: #1e293b;
    line-height: 1.6;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #1e40af;
}

.timer-section {
    background: #f1f5f9;
    padding: 1.5rem;
    text-align: center;
    display: none;
    margin: 1rem auto;
    max-width: 600px;
    border-radius: 10px;
}

.timer-section.active {
    display: block;
}

.timer-section p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0.75rem 0;
}

.loading-spinner {
    border: 3px solid #e2e8f0;
    border-top: 3px solid #1e40af;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s ease-in-out infinite;
    margin: 0.75rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero {
    padding: 3rem 1.5rem;
    text-align: center;
    background: #ffffff;
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.hero-content p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: #64748b;
}

.url-input {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.url-input input, .url-input select {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.url-input select {
    padding-left: 3rem;
}

.url-input input:focus, .url-input select:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
    outline: none;
}

.safelink-output input {
    padding: 0.875rem;
    background: #f1f5f9;
    cursor: default;
}

.cta-button, .share-toggle, .copy-button {
    width: 100%;
    padding: 0.875rem;
    background: #1e40af;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-button:hover, .share-toggle:hover, .copy-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.share-toggle {
    background: #64748b;
}

.share-toggle:hover {
    background: #475569;
}

.social-share {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.share-button {
    width: 100%;
    padding: 0.875rem;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.twitter:hover {
    background: #3b82f6;
}

.share-button.whatsapp {
    background: #25d366;
}

.share-button.whatsapp:hover {
    background: #22c55e;
}

.share-button.linkedin {
    background: #0a66c2;
}

.share-button.linkedin:hover {
    background: #2563eb;
}

.error-message {
    color: #dc2626;
    font-size: 0.9rem;
    margin: 0.75rem 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.visible {
    opacity: 1;
}

.how-it-works, .features, .faq {
    max-width: 1280px;
    margin: 3rem auto;
    padding: 1.5rem;
}

.how-it-works h2, .features h2, .faq h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.step {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #1e40af;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 auto 0.75rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: #64748b;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #64748b;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.faq-item summary {
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: #1e40af;
    transition: background-color 0.2s ease;
}

.faq-item summary:hover {
    background: #f1f5f9;
}

.faq-item p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.ad-slot {
    background: #e2e8f0;
    text-align: center;
    color: #64748b;
}

.destination-link {
    display: none;
    width: 100%;
    max-width: 600px;
    padding: 0.875rem;
    background: #22c55e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 1rem auto;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.destination-link:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.destination-link.visible {
    display: inline-block;
}

footer {
    background: #1e293b;
    color: #e2e8f0;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
}

footer a {
    color: #93c5fd;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ffffff;
}

footer p {
    margin: 0.5rem 0;
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #1e40af;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.visible {
    opacity: 1;
}

@media (max-width: 1024px) {
    nav {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .steps-container, .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .steps-container, .feature-grid {
        grid-template-columns: 1fr;
    }

    .ad-slot {
        height: 100px;
    }

    .cta-button, .share-toggle, .copy-button, .share-button, .destination-link {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .nav-links a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .url-input input, .url-input select, .cta-button, .share-button, .share-toggle, .copy-button {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .input-icon {
        left: 0.75rem;
        font-size: 1rem;
    }

    .timer-section p {
        font-size: 1.1rem;
    }

    .url-input {
        gap: 0.5rem;
    }

    .toast {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}