@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Space+Grotesk:wght@300..700&display=swap');

:root {
    --background: hsl(222, 47%, 6%);
    --foreground: hsl(210, 40%, 98%);
    --primary: hsl(174, 72%, 46%);
    --primary-foreground: hsl(222, 47%, 11%);
    --secondary: hsl(222, 41%, 10%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(217, 33%, 17%);
    --muted-foreground: hsl(215, 20%, 65%);
    --accent: hsl(217, 33%, 17%);
    --accent-foreground: hsl(210, 40%, 98%);
    --highlight: hsl(38, 92%, 60%);
    --border: hsl(222, 30%, 18%);
    --card: hsl(222, 41%, 10%);
    --card-foreground: hsl(210, 40%, 98%);
    --input: hsla(217, 33%, 17%, 0.5%);
    --radius: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1280px; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1.5rem; /* px-6 */
}

.section {
    padding: 5rem 1.5rem; /* py-20 px-6 */
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
}

.glass-card-hover {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.glass-card-hover:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px hsla(174, 72%, 46%, 0.1);
    transform: translateY(-4px);
}

/* Buttons */
.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px hsla(174, 72%, 46%, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 25px hsla(174, 72%, 46%, 0.5);
    transform: translateY(-2px);
}

.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.btn-outline-glow:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px hsla(174, 72%, 46%, 0.2);
}

/* Badges */
.urgency-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: hsla(174, 72%, 46%, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid hsla(174, 72%, 46%, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid hsla(222, 30%, 18%, 0.5);
    background: hsla(222, 47%, 6%, 0.85);
    backdrop-filter: blur(16px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: hsla(222, 47%, 6%, 0.95);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.75rem 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: hsla(222, 41%, 10%, 0.3);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* Accordion */
.accordion-item {
    margin-bottom: 1rem; /* space-y-4 gap */
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem; /* px-6 py-5 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
}

.accordion-item.active .chevron {
    transform: rotate(180deg);
}

.chevron {
    transition: transform 0.3s ease;
}

/* Testimonial Slider */
.testimonial-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: hsla(215, 20%, 65%, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

.control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
}

.control-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}

.form-group {
    margin-bottom: 0; /* Reset, using gap in form */
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem; /* space-y-4 gap between elements */
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: hsla(217, 33%, 17%, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.625rem 1rem; /* py-2.5 px-4 */
    color: var(--foreground);
    font-family: inherit;
    font-size: 0.875rem;
    margin-top: 0.25rem; /* mt-1 */
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

/* Grid Layouts */
.grid { display: grid; gap: 1rem; /* Default gap-4 */ }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .section { padding: 3rem 0; }
    .hero h1 { font-size: 2.5rem; }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Page Specific */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(circle, hsla(174, 72%, 46%, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.highlight-strip {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: hsla(222, 30%, 18%, 0.3);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
}

.section-subheading {
    color: var(--muted-foreground);
    max-width: 600px;
}

.icon-box {
    width: 40px; /* h-10 w-10 */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(174, 72%, 46%, 0.1);
    color: var(--primary);
    border-radius: 8px; /* rounded-lg */
    margin-bottom: 0.75rem; /* mb-3 */
}

.icon-box.sm {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.icon-box.lg {
    width: 48px; /* h-12 w-12 */
    height: 48px;
    border-radius: 9999px; /* rounded-full */
}

.outcome-icon {
    width: 56px; /* h-14 w-14 */
    height: 56px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}

/* Captcha */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.captcha-code {
    font-family: monospace;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    padding: 0.75rem 1.5rem;
    background: hsla(174, 72%, 46%, 0.05);
    border: 1px solid hsla(174, 72%, 46%, 0.2);
    color: var(--primary);
    border-radius: var(--radius);
    user-select: none;
}

.refresh-btn {
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
}

.refresh-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}
