* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #00D9FF;
    --lime: #39FF14;
    --charcoal: #2C2C2C;
    --dark-charcoal: #1A1A1A;
    --darker-charcoal: #0F0F0F;
    --white: #FFFFFF;
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(0, 217, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--darker-charcoal);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: var(--white);
}

.logo-nav img {
    height: 45px;
    width: auto;
    display: block;
}

.logo-nav-icon {
    margin-right: 0;
}

.logo-nav-text {
    margin-left: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--lime));
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: auto;
    height: 200px;
    max-width: 400px;
    margin: 0 auto 40px;
    display: block;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.4));
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    color: var(--dark-charcoal);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Preview Form Section */
.preview-section {
    background: rgba(28, 28, 28, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.form-card {
    background: var(--charcoal);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    color: var(--white);
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300D9FF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    color: var(--dark-charcoal);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.result, .error, .loading {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    display: none;
}

.result.active, .error.active, .loading.active {
    display: block;
}

.result {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--lime);
}

.error {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #FF3B30;
}

.loading {
    text-align: center;
    color: var(--text-secondary);
}

.spinner {
    border: 3px solid rgba(0, 217, 255, 0.2);
    border-top: 3px solid var(--cyan);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result-url {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
    word-break: break-all;
}

.result-url a {
    color: var(--cyan);
    text-decoration: none;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--charcoal);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--charcoal);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--cyan);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--cyan);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--cyan);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Privacy Policy & Terms */
.legal-section {
    background: rgba(28, 28, 28, 0.5);
    border-top: 1px solid var(--border-color);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--charcoal);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
}

.legal-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--white);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.legal-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--cyan);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--darker-charcoal);
    border-top: 1px solid var(--border-color);
    padding: 60px 40px 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo-nav img {
        height: 35px;
        max-width: 150px;
    }

    .hero-logo {
        height: 150px;
        max-width: 300px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .form-card {
        padding: 30px 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 30px 20px;
    }
}

/* Ad banner slot (tasteful, single strip) */
.ad-banner-slot {
    background: rgba(44, 44, 44, 0.6);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-banner-slot .ad-placeholder {
    font-size: 13px;
    color: var(--text-muted);
}
.ad-banner-slot a {
    color: var(--cyan);
    text-decoration: none;
}

/* Adblock notice modal */
.adblock-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.adblock-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.adblock-modal {
    background: var(--charcoal);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.adblock-modal h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
}
.adblock-modal p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.adblock-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.adblock-modal-buttons button {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}
.adblock-modal-buttons button.primary {
    background: var(--cyan);
    color: var(--darker-charcoal);
    border-color: var(--cyan);
}
.adblock-modal-buttons button.primary:hover {
    background: rgba(0, 217, 255, 0.85);
}
.adblock-modal-buttons button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

