/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --accent: #FF006E;
    --accent-light: #FF3385;
    --bg-dark: #0A0E27;
    --bg-card: #131829;
    --bg-light: #1A1F3A;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C1EC;
    --text-muted: #6B7A99;
    --border: #2A3250;
    --success: #00D9FF;
    --shadow: rgba(0, 102, 255, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-brand a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, #00D9FF 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

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

.nav-button {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    font-size: 1rem;
}

.nav-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 50%, #0A0E27 100%);
    padding: 80px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00D9FF 0%, #0066FF 50%, #FF006E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-description strong {
    color: var(--success);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 52px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0052CC 100%);
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.4);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #0052CC 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.5);
}

.cta-button.secondary {
    background: rgba(0, 102, 255, 0.1);
    color: var(--text-primary);
    border: 3px solid var(--primary);
}

.cta-button.secondary:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.25);
    border-color: var(--success);
}

/* Tool Section */
.tool-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}

.input-group {
    margin-bottom: 32px;
}

.input-group label,
.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.input-group input[type="url"],
.custom-referer input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input[type="url"]:focus,
.custom-referer input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

/* Referrer Options */
.referrer-options {
    margin-bottom: 32px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.option-btn {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px 16px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.option-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

.option-btn.active {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.option-icon {
    font-size: 2rem;
}

.option-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Custom Referer */
.custom-referer {
    margin-bottom: 32px;
}

.custom-referer label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.125rem;
}

/* Generate Button */
.generate-btn {
    width: 100%;
    padding: 22px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1.375rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.generate-btn:hover::before {
    width: 400px;
    height: 400px;
}

.generate-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 102, 255, 0.5);
}

.generate-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Result Section */
.result-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
}

.result-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.result-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.result-box input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-light);
    border: 2px solid var(--success);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
}

.copy-btn {
    padding: 16px 36px;
    background: var(--success);
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-btn:hover {
    background: #00B8D4;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
}

.result-message {
    margin-top: 12px;
    color: var(--success);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Why Section */
.why-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

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

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 48px rgba(0, 102, 255, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Demo Section */
.demo-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.demo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.demo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
}

.demo-link:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.demo-icon {
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    transition: background 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.faq-question:hover {
    background: rgba(0, 102, 255, 0.05);
}

.faq-toggle {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 32px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--success);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #0052CC 100%);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0052CC 0%, var(--primary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4);
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-brand a {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 60px 20px 50px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .tool-card {
        padding: 32px 24px;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-box {
        flex-direction: column;
    }

    .copy-btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .demo-links {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-link {
        justify-content: center;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

    .options-grid {
        grid-template-columns: 1fr;
    }

    .option-btn {
        padding: 16px;
    }
}
