@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto+Mono:wght@400&display=swap');

:root {
    --background-color: #0a0a0a; /* Slightly darker */
    --primary-text-color: #f0f0f0; /* Slightly brighter */
    --secondary-text-color: #a0a0a0;
    --accent-color: #00f0ff; /* Glowing cyan */
    --glass-bg: rgba(30, 30, 30, 0.6); /* Darker glass */
    --glass-border: rgba(255, 255, 255, 0.15);
    --glow-color: rgba(0, 240, 255, 0.4);
    --hover-glow-color: rgba(0, 240, 255, 0.7);
    --card-shadow: rgba(0, 0, 0, 0.3);
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--primary-text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Subtle pattern + gradient animation */
    background: 
        linear-gradient(45deg, rgba(18, 18, 18, 0.95), rgba(34, 34, 34, 0.95)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path fill="%231a1a1a" d="M0 0h20v20H0z M20 20h20v20H20z"/></svg>'); /* Subtle grid */
    background-size: 400% 400%, 40px 40px;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%, 0 0; }
    50% { background-position: 100% 50%, 0 0; }
    100% { background-position: 0% 50%, 0 0; }
}

.container {
    max-width: 800px; /* Slightly narrower for focus */
    margin: 50px auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Consistent Card Styling */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 50px;
    box-shadow: 0 5px 25px var(--card-shadow);
    position: relative;
    overflow: hidden;
    /* Subtle entrance animation */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUP 0.6s ease-out forwards;
}

/* Stagger animation */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUP {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glowing Border Effect */
.card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(60deg, transparent, var(--accent-color), transparent);
    border-radius: 14px; 
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none; /* Allow clicks through */
}

.card:hover::before {
    opacity: 0.5;
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 3.8em;
    font-weight: 700;
    color: var(--primary-text-color);
    margin-bottom: 5px;
    letter-spacing: -1px;
    text-shadow: 0 0 20px var(--glow-color);
}

.hero .tagline {
    font-size: 1.6em;
    font-weight: 400;
    color: var(--secondary-text-color);
    margin-bottom: 15px;
    font-family: var(--font-mono); /* Use mono for tagline */
}

.hero .subtitle {
    font-size: 1.1em;
    color: var(--secondary-text-color);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    background-color: var(--accent-color);
    color: #001f24; /* Darker text for contrast */
    border: none;
    padding: 16px 35px;
    font-size: 1.1em;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 18px var(--glow-color);
    display: inline-block; /* For transform */
}

.cta-button:hover {
    background-color: #3cfaff;
    box-shadow: 0 0 30px var(--hover-glow-color);
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(1.02);
}

/* Section Headers */
.card h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--primary-text-color);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 8px;
    position: relative; /* For potential pseudo-elements */
    left: 50%;
    transform: translateX(-50%);
}

/* What You Get Section */
.what-you-get .perks-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
}

.what-you-get li {
    background: rgba(0, 0, 0, 0.25);
    padding: 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent; /* For hover effect */
    transition: transform 0.3s ease, border-left-color 0.3s ease, background-color 0.3s ease;
}

.what-you-get li:hover {
    transform: translateY(-4px);
    border-left-color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.4);
}

.what-you-get .emoji {
    font-size: 1.6em;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Products & Services Section */
.products-services .service-item {
    background: rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid transparent;
    transition: transform 0.3s ease, border-left-color 0.3s ease, background-color 0.3s ease;
}

.products-services .service-item:hover {
    transform: translateX(4px);
    border-left-color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.4);
}

.products-services .service-item h4 {
    margin-top: 0;
    color: var(--accent-color);
    font-size: 1.2em;
    font-weight: 600;
}

.products-services .service-item p {
    margin-bottom: 0;
    color: var(--secondary-text-color);
}

/* Founder Section */
.founder p {
    font-size: 1.15em;
    text-align: center;
    color: var(--secondary-text-color);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    background: none;
    border: none;
    color: var(--primary-text-color);
    font-family: var(--font-primary);
    font-size: 1.1em;
    font-weight: 600;
    text-align: left;
    padding: 15px 0;
    width: 100%;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for indicator */
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 10px; /* Add padding only when open */
}

.faq-answer p {
    margin: 0 0 15px 0;
    color: var(--secondary-text-color);
    font-size: 1em;
    line-height: 1.7;
}

.faq-answer.active {
    /* Estimate max height or use JS; large value works */
    max-height: 300px; 
    padding: 10px 10px 20px 10px;
}


/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--secondary-text-color);
    opacity: 0.8;
}

.business-info {
    margin: 20px 0;
    line-height: 1.5;
}

.legal-links {
    margin-bottom: 15px;
}

.legal-links a {
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.legal-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.socials a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 1.6em;
    margin: 0 15px;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.socials a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 12px var(--hover-glow-color);
    transform: scale(1.1);
}

footer p {
    margin: 12px 0 0;
    font-size: 0.95em;
}

footer a {
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 30px auto;
        padding: 15px;
    }
    .hero h1 {
        font-size: 3em;
    }
    .hero .tagline {
        font-size: 1.4em;
    }
    .card {
        padding: 25px;
        margin-bottom: 40px;
    }
    .what-you-get .perks-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body { 
        line-height: 1.6; 
    }
    .hero h1 {
        font-size: 2.4em;
    }
    .hero .tagline {
        font-size: 1.2em;
    }
    .hero .subtitle {
        font-size: 1em;
    }
    .cta-button {
        padding: 14px 30px;
        font-size: 1em;
    }
    .card h3 {
        font-size: 1.6em;
    }
    .what-you-get li,
    .founder p,
    .faq-question,
    .faq-answer p {
        font-size: 0.95em;
    }
    .socials a {
        font-size: 1.4em;
        margin: 0 10px;
    }
}

/* Request Page Specific Styles */
.request-card h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

.request-card .subtitle {
    text-align: center;
    margin-bottom: 35px;
    color: var(--secondary-text-color);
    font-size: 1.1em;
}

.request-card .back-link {
    position: absolute;
    top: 20px;
    left: 25px;
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.request-card .back-link:hover {
    color: var(--accent-color);
}

#request-form .form-group {
    margin-bottom: 25px;
}

#request-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-text-color);
    font-size: 0.95em;
}

#request-form input[type="text"],
#request-form input[type="email"],
#request-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--glass-border);
    background-color: rgba(0, 0, 0, 0.3); /* Darker input */
    border-radius: 8px;
    color: var(--primary-text-color);
    font-family: var(--font-primary);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Include padding in width */
}

#request-form input[type="text"]:focus,
#request-form input[type="email"]:focus,
#request-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--glow-color);
}

#request-form textarea {
    resize: vertical; /* Allow vertical resize only */
    min-height: 80px;
}

/* Toggle Switch Styles */
.form-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333; /* Off state */
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--secondary-text-color);
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--accent-color);
  box-shadow: 0 0 8px var(--glow-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent-color); /* Optional focus */
}

input:checked + .slider:before {
  transform: translateX(26px);
  background-color: #001f24; /* Darker circle when on */
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#request-form .cta-button {
    display: block; /* Make button full width */
    width: 100%;
    margin-top: 10px;
}

/* Thank You/Success Page Styles */
.thank-you-card {
    text-align: center;
    padding: 40px;
}

.thank-you-card h2 {
    font-size: 2.2em;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.thank-you-card h2 i {
    color: var(--accent-color);
}

.thank-you-card p {
    font-size: 1.2em;
    color: var(--primary-text-color);
    margin-bottom: 30px;
}

.thank-you-links a {
    margin: 10px;
}

.steps-container {
    margin: 40px 0;
    text-align: left;
}

.step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--accent-color);
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--glow-color);
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    color: var(--primary-text-color);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--secondary-text-color);
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 15px;
}

.discord-button {
    background-color: #5865F2; /* Discord blue */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.discord-button:hover {
    background-color: #4752c4;
}

.security-note {
    font-size: 0.85em !important;
    color: var(--secondary-text-color) !important;
    margin-top: 10px !important;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.security-note i {
    color: var(--accent-color);
}

.support-info {
    margin: 30px 0;
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.support-info p {
    color: var(--secondary-text-color);
    font-size: 0.9em;
    margin: 0;
}

.support-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.support-info a:hover {
    text-decoration: underline;
}

.cta-button.alternate {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    box-shadow: none;
}

.cta-button.alternate:hover {
    background-color: rgba(0, 240, 255, 0.1); /* Faint cyan bg */
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 15px var(--hover-glow-color);
    transform: scale(1.03);
}

/* Help Link on Main Page */
.request-help-section {
    text-align: center;
    margin-top: -20px; /* Pull up slightly below last card */
    margin-bottom: 40px;
    padding: 20px;
    opacity: 0.9;
}

.request-help-section p {
    margin-bottom: 15px;
    color: var(--secondary-text-color);
}

.request-help-section .cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 10px;
}

/* Responsive adjustments for success page */
@media (max-width: 600px) {
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .step-content h3 {
        font-size: 1.2em;
    }
}

/* Responsive adjustments for request form */
@media (max-width: 480px) {
    .request-card h2 {
        font-size: 2em;
    }
    .request-card .back-link {
        font-size: 0.8em;
        top: 15px;
        left: 15px;
    }
    #request-form input[type="text"],
    #request-form input[type="email"],
    #request-form textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }
}

/* Legal Pages Styling */
.card h1 {
    color: var(--primary-text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.card h2 {
    color: var(--accent-color);
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary-text-color);
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 12px;
}

.card p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.card ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.return-link {
    text-align: center;
    margin-top: 40px;
}
