/* --- Global Styles & Variables --- */
:root {
    --color-background: #1a1a1a;
    --color-surface: #2c2c2c;
    --color-primary: #D4AF37; /* Gold */
    --color-text: #f0f0f0;
    --color-text-secondary: #a0a0a0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-top: 0;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 1)), url('https://images.unsplash.com/photo-1515694346937-94d85e41e620?q=80&w=2070') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1rem 0 2.5rem 0;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    font-family: var(--font-body);
    border-radius: 8px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border: 2px solid var(--color-primary);
}

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

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--color-background);
}

.patent-pending {
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Social Proof --- */
.social-proof {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid #333;
}

.social-proof p {
    color: var(--color-text-secondary);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.social-proof .logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    filter: grayscale(1) brightness(1.5);
}

/* --- Live Demo --- */
.live-demo {
    padding: 60px 0;
}

.generator-ui {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.generator-ui .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.generator-ui #count-input {
    font-family: var(--font-body);
    background: var(--color-background);
    color: var(--color-text);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 1rem;
    width: 80px;
}

.generator-ui #generate-btn {
    background-color: var(--color-primary);
    color: var(--color-background);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.generator-ui #generate-btn:hover {
    background-color: #b89b30;
}

.seed-container {
    background: var(--color-background);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 2rem;
    font-family: 'Roboto Mono', monospace;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.seed-label {
    font-weight: 700;
    color: var(--color-text);
}

#seed-value {
    color: var(--color-primary);
    word-break: break-all;
    padding: 0 15px;
}

#copy-seed-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

#copy-seed-btn:hover {
    color: var(--color-primary);
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.random-number {
    background: var(--color-background);
    color: var(--color-primary);
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* --- How It Works --- */
.how-it-works {
    padding: 60px 0;
    background: var(--color-surface);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
}

.step-icon {
    font-size: 3rem;
    color: var(--color-primary);
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 1rem 0 0.5rem 0;
}

/* --- API Access --- */
.api-access {
    padding: 60px 0;
}

.plans-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.plan {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #444;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.plan.enterprise {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.plan-badge {
    background: var(--color-primary);
    color: var(--color-background);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.plan h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin: 0;
}

.plan-price {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 1rem 0 2rem 0;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.plan li {
    margin-bottom: 1rem;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #333;
    color: var(--color-text-secondary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .plans-container { grid-template-columns: 1fr; }
    .plan.enterprise { transform: scale(1); }
}
