:root {
    --bg-primary: #06060a;
    --bg-secondary: #0c0c14;
    --accent-cyan: #00f0ff;
    --accent-purple: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #00f0ff 0%, #7c3aed 100%);
    --text-primary: #ffffff;
    --text-muted: #8e9cb2;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-glow: 0 8px 32px 0 rgba(0, 240, 255, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(0, 240, 255, 0.06) 0%, transparent 40%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 6, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-wrapper {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-header {
    background: var(--accent-gradient);
    color: #000000;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
    transition: var(--transition);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--glass-glow);
}

/* Main Content */
main {
    flex-grow: 1;
}

.hero-section {
    padding: 80px 0 40px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Generator layout */
.generator-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Tabs */
.tabs-header {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 32px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 14px 0;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--accent-cyan);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Inputs */
.input-group {
    margin-bottom: 24px;
}

.input-label {
    display: block;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.input-field:focus {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

textarea.input-field {
    min-height: 120px;
    resize: vertical;
}

/* Output Display */
.output-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-preview-box {
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qr-placeholder {
    width: 250px;
    height: 250px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    gap: 16px;
}

.qr-placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.btn-action {
    width: 100%;
    background: var(--accent-gradient);
    border: none;
    color: #000000;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 240, 255, 0.4);
}

.qr-data-preview {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    word-break: break-all;
    text-align: center;
    max-width: 280px;
}

/* Features Block */
.prose-section {
    padding: 60px 0 100px;
}

.prose-title {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.prose-content {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Legal Pages Styling */
.legal-container {
    max-width: 800px;
    margin: 80px auto;
}

.legal-title {
    font-size: 3rem;
    margin-bottom: 40px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content {
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-content h3 {
    color: var(--text-primary);
    margin: 32px 0 16px;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0 16px 24px;
    list-style-type: square;
}

.legal-content ul li {
    margin-bottom: 8px;
}

/* Contact Page form */
.contact-form {
    max-width: 600px;
    margin: 40px auto 80px;
}

.contact-form button {
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .generator-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
