/* CSS Variables for Theming */
:root {
    --primary: #000000;
    --primary-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #000000;
    --muted-foreground: #737373;
    --accent: #f5f5f5;
    --accent-foreground: #000000;
    --border: #424242;
    --input: #e2e8f0;
    --ring: #000000;
    --radius: 0.375rem;
    
    /* Additional Color Variables */
    --white: #ffffff;
    --black: #000000;
    --white-opacity-80: rgba(255, 255, 255, 0.8);
    --border-opacity-50: rgba(226, 232, 240, 0.5);
    --accent-opacity-80: rgba(245, 245, 245, 0.8);
    --primary-opacity-90: rgba(51, 51, 51, 0.9);
}

[data-theme="dark"] {
    --primary: #000000;
    --primary-foreground: #ffffff;
    --background: #000000;
    --foreground: #f8fafc;
    --muted-foreground: #a3a3a3;
    --accent: #000000;
    --accent-foreground: #f8fafc;
    --border: #000000;
    --input: #000000;
    --ring: #000000;
    
    /* Dark Theme Additional Colors */
    --white-opacity-80: rgba(15, 23, 42, 0.8);
    --border-opacity-50: rgba(51, 65, 85, 0.5);
    --accent-opacity-80: rgba(30, 41, 59, 0.8);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
}

/* Header Styles */
.header.navbar-area {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background);
    border-bottom: 1px solid var(--white);
    backdrop-filter: blur(10px);
    background-color: var(--white-opacity-80);
}

[data-theme="dark"] .header.navbar-area {
    background-color: var(--white-opacity-80);
}

/* Container Flex Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.h-16 {
    height: 4rem;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

/* Logo/Brand Styles */
.group {
    position: relative;
}

.font-bold {
    font-weight: 700;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.relative {
    position: relative;
}

/* Underline Animation for Logo */
.group span.absolute {
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    height: 0.125rem;
    background-color: var(--primary);
    transition: width 0.3s ease;
    width: 0;
}

.group:hover span.absolute {
    width: 0;
}

/* Prevent logo text color change on hover */
a.group,
a.group:hover,
a.group:visited,
a.group:active {
    color: var(--foreground) !important;
}

a.group span,
a.group:hover span,
a.group span.font-bold {
    color: var(--foreground) !important;
}

/* Navigation Styles */
nav {
    display: none;
}

.md-flex {
    display: none;
}

@media (min-width: 768px) {
    .md-flex {
        display: flex;
    }
    
    .md-gap-10 {
        gap: 2.5rem;
    }
    
    .md-px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .md-hidden {
        display: none;
    }
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.text-foreground {
    color: var(--foreground);
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.hover-text-foreground:hover {
    color: var(--foreground);
}

/* Prevent text color changes on hover for buttons */
.hover-text-accent-foreground:hover,
.border-border-50:hover,
.hover-bg-accent-80:hover,
.hover-bg-accent:hover {
    color: inherit !important;
}

/* Keep original text color for buttons on hover */
a.border-border-50,
button.border-border-50 {
    color: var(--foreground);
}

a.border-border-50:hover,
button.border-border-50:hover {
    color: var(--foreground) !important;
}

/* Navigation Link Underline Animation */
nav a {
    text-decoration: none;
    color: var(--muted-foreground);
}

nav a.text-foreground {
    color: var(--foreground);
}

nav a span.absolute {
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    height: 0.125rem;
    background-color: var(--muted-foreground);
    transition: width 0.3s ease;
    width: 0;
}

nav a.text-foreground span.absolute {
    width: 100%;
}

nav a.group:hover span.absolute {
    width: 100%;
}

/* Button Styles */
button,
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--input);
    background-color: var(--background);
    color: var(--foreground);
}

.theme-toggle:hover {
    background-color: var(--accent);
    color: var(--foreground);
    border-color: var(--white);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.theme-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Button Variants */
.border {
    border: 1px solid var(--border);
}

.border-border-50 {
    border: 1px solid var(--border-opacity-50);
}

[data-theme="dark"] .border-border-50 {
    border: 1px solid var(--border-opacity-50);
}

.bg-background {
    background-color: var(--background);
}

.hover-bg-accent:hover {
    background-color: var(--accent);
}

.hover-bg-accent-80:hover {
    background-color: var(--accent-opacity-80);
}

[data-theme="dark"] .hover-bg-accent-80:hover {
    background-color: var(--accent-opacity-80);
}

.hover-border-primary-50:hover {
    border-color: var(--white);
}

/* Make border white on hover for Discord and Login buttons (but not Buy Now) */
.border-border-50:hover:not(.bg-primary) {
    border-color: #ffffff !important;
}

.h-9 {
    height: 2.25rem;
}

.rounded-md {
    border-radius: var(--radius);
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Primary Button */
.bg-primary {
    background-color: var(--primary);
}

.text-primary-foreground {
    color: var(--primary-foreground);
}

.hover-bg-primary-90:hover {
    background-color: var(--primary-opacity-90);
    color: var(--primary-foreground) !important;
}

/* Ensure primary button text stays white on hover */
a.bg-primary:hover,
button.bg-primary:hover {
    color: var(--primary-foreground) !important;
}

/* Icon Styles */
svg {
    display: inline-block;
    vertical-align: middle;
}

.h-4 {
    height: 1rem;
}

.w-4 {
    width: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.w-5 {
    width: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.w-6 {
    width: 1.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    padding: 0.5rem;
}

.mobile-menu-toggle svg {
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-toggle:hover svg {
    transform: scale(1.1);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles */
.focus-visible-outline-none:focus-visible {
    outline: none;
}

.focus-visible-ring-2:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.focus-visible-ring-ring:focus-visible {
    outline-color: var(--ring);
}

.focus-visible-ring-offset-2:focus-visible {
    outline-offset: 2px;
}

/* Transition Utilities */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overflow Hidden */
.overflow-hidden {
    overflow: hidden;
}

/* Disabled States */
.disabled-pointer-events-none {
    pointer-events: none;
}

.disabled-opacity-50 {
    opacity: 0.5;
}

/* Ring Offset Background */
.ring-offset-background {
    --ring-offset-color: var(--background);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    nav {
        display: none;
    }
}

/* Additional Utility Classes */
.inline-flex {
    display: inline-flex;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Hero Section and Other Sections - Keep existing styles or add as needed */
.hero-area {
    padding: 4rem 0;
}

.hero-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-top: 6rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-discord {
    background-color: var(--background);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-discord:hover {
    background-color: var(--accent);
    border-color: var(--white);
    color: var(--foreground);
}

.btn-buy {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-buy:hover {
    background-color: var(--primary-opacity-90);
    color: var(--primary-foreground);
}

.section {
    padding: 4rem 0;
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Link hover effects */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Pricing Section Styles */
.pricing-table .section-title h3 {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground);
}

@media (max-width: 768px) {
    .pricing-table .section-title h3 {
        font-size: 2.25rem;
    }
}

.pricing-table .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-table .horizontal-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
}

/* Pricing Card Styles */
.pricing-card {
    border-radius: 0.5rem;
    border: 1px solid var(--border-opacity-50);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
    background-color: var(--background);
    backdrop-filter: blur(8px);
}

:not([data-theme="dark"]) .pricing-card {
    border: 1px solid #000000 !important;
}

[data-theme="dark"] .pricing-card {
    border: 1px solid #888888 !important;
}

@media (min-width: 768px) {
    .pricing-card:hover {
        transform: translateY(-0.5rem);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
}

.pricing-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .pricing-card-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.pricing-card-icon-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pricing-icon {
    height: 1.5rem;
    width: 1.5rem;
    color: var(--primary);
}

@media (min-width: 640px) {
    .pricing-icon {
        height: 2rem;
        width: 2rem;
    }
}

.pricing-badge {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .pricing-badge {
        font-size: 0.875rem;
    }
}

.pricing-title {
    font-weight: 600;
    letter-spacing: -0.025em;
    font-size: 1.25rem;
    margin: 0;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .pricing-title {
        font-size: 1.5rem;
    }
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: 1rem;
}

.price-amount {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .price-amount {
        font-size: 2.25rem;
    }
}

.pricing-card-content {
    padding: 1.5rem;
    padding-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .pricing-card-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .pricing-features {
        gap: 0.75rem;
    }
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .pricing-feature {
        gap: 0.75rem;
    }
}

.feature-check {
    height: 1rem;
    width: 1rem;
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.pricing-feature span {
    font-size: 0.75rem;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .pricing-feature span {
        font-size: 0.875rem;
    }
}

.pricing-divider {
    flex-shrink: 0;
    background-color: var(--border);
    height: 1px;
    width: 100%;
}

.pricing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--input);
    background-color: var(--background);
    color: var(--foreground);
    height: 2.5rem;
    padding: 0.5rem 1rem;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
}

.pricing-button:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.button-arrow {
    height: 1rem;
    width: 1rem;
    margin-left: 0.25rem;
}

.pricing-payments {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payments-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
    margin: 0;
}

.payments-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.payment-badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    background-color: var(--accent);
    border: 1px solid var(--border-opacity-50);
    color: var(--foreground);
}

/* Statistics Container with Border */
.statistics-container {
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    background-color: var(--background);
    max-width: 800px;
    margin: 0 auto;
}

.statistics-container .row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
}

.statistics-container .col-lg-4,
.statistics-container .col-md-4,
.statistics-container .col-12 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.single-achievement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
}

.achievement-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 4.5rem;
    height: 4.5rem;
}

.achievement-icon svg {
    width: 2rem;
    height: 2rem;
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    text-align: left;
}

.single-achievement h3 {
    margin: 0;
    text-align: left;
}

.single-achievement p {
    margin: 0;
    text-align: left;
}

/* Mobile Responsive Styles for Statistics */
@media (max-width: 767px) {
    .statistics-container {
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }
    
    .statistics-container .row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .statistics-container .col-lg-4,
    .statistics-container .col-md-4,
    .statistics-container .col-12 {
        width: 100%;
        padding: 0;
        justify-content: flex-start;
    }
    
    .single-achievement {
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
    }
    
    .achievement-icon {
        width: 3.5rem;
        height: 3.5rem;
        padding: 0.5rem;
    }
    
    .achievement-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .achievement-content {
        flex: 1;
    }
    
    .single-achievement h3 {
        font-size: 1.5rem;
    }
    
    .single-achievement p {
        font-size: 0.875rem;
    }
}

/* FAQ Section Styles */
.faq .section-title h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--foreground);
}

@media (max-width: 768px) {
    .faq .section-title h2 {
        font-size: 2.25rem;
    }
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(66, 66, 66, 0.3);
    border-radius: 0.5rem;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 1rem;
}

[data-theme="dark"] .faq-item {
    background: #000000;
}

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

.faq-header {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

[data-theme="dark"] .faq-header {
    background: #000000;
}

.faq-button {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    padding: 1rem 1.25rem;
    background: #ffffff !important;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: #000000 !important;
    transition: all 0.2s;
}

[data-theme="dark"] .faq-button {
    background: #000000 !important;
    color: #ffffff !important;
}

.faq-button:focus,
.faq-button:active,
.faq-button:focus-visible {
    outline: none !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

[data-theme="dark"] .faq-button:focus,
[data-theme="dark"] .faq-button:active,
[data-theme="dark"] .faq-button:focus-visible {
    background: #000000 !important;
}

.faq-button-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.faq-button-content span {
    font-weight: 600;
    color: #000000 !important;
}

[data-theme="dark"] .faq-button-content span {
    color: #ffffff !important;
}

.faq-button-content svg {
    display: none !important;
}

.faq-button .faq-button-content ~ svg,
.faq-button > svg.lucide-chevron-down {
    display: block !important;
    width: 1rem !important;
    height: 1rem !important;
    max-width: 1rem !important;
    max-height: 1rem !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-button[aria-expanded="false"] svg {
    transform: rotate(0deg);
}

.faq-answer {
    overflow: hidden;
    font-size: 0.875rem;
    max-height: 0;
    opacity: 0;
    padding: 0 1.25rem;
    color: var(--muted-foreground);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.faq-answer[data-state="open"] {
    max-height: 500px !important;
    opacity: 1 !important;
    padding: 0 1.25rem 1rem 1.25rem !important;
    display: block !important;
}

.faq-answer[data-state="closed"] {
    max-height: 0 !important;
    opacity: 0 !important;
    padding: 0 1.25rem !important;
}

.faq-answer-content {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--muted-foreground);
    display: block;
    visibility: visible;
}

.faq-answer[data-state="open"] .faq-answer-content {
    display: block !important;
    visibility: visible !important;
}

