:root {
    --color-background: #000000;
    --color-foreground: #EBEBEB;
    --color-primary: #facc15;
    --color-primary-foreground: #000000;
    --color-muted: #27272a;
    --color-muted-foreground: #a1a1aa;
    --color-border: #27272a;
    --color-input: #27272a;
    --color-accent: #27272a;
    /* Used for hover states */
    --color-accent-foreground: #ededed;

    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container-padding: 1rem;
    --radius-md: 0.375rem;
    --radius-full: 9999px;
    --radius-xl: 0.75rem;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid var(--color-border);
}

body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

button {
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

img,
svg {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    max-width: 1280px;
    /* equivalent to max-w-7xl roughly, strictly 1280px for xl usually */
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

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

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

.text-xs {
    font-size: 0.75rem;
}

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

.font-semibold {
    font-weight: 600;
}

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

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

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    position: relative;
    z-index: 20;
}

/* Background Watermark */
.bg-watermark {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.05;
    overflow: hidden;
}

.bg-watermark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 4rem;
    display: flex;
    align-items: center;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: var(--color-primary);
}

.logo-text-gradient {
    color: var(--color-primary);
    background: linear-gradient(to right, var(--color-primary), #fef08a, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--color-muted-foreground);
    }
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
    height: 2.25rem;
    /* h-9 */
}

.btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-md);
}

.btn-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.btn-outline {
    border: 1px solid var(--color-input);
    background-color: transparent;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    padding: 0 1rem;
    /* transition effects from original */
    transition: all 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(230, 184, 0, 0.6);
}

.btn-large {
    height: 3rem;
    /* h-12 */
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-glass {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
    border: 1px solid var(--color-input);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: var(--color-foreground);
}

.btn-glass:hover {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.open {
    display: block;
    opacity: 1;
}

/* Sidebar Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start off-screen to the right */
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: #000000;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    box-shadow: -10px 0 15px -3px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close-btn {
    padding: 0.5rem;
    color: var(--color-foreground);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn:hover {
    color: var(--color-primary);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    overflow-y: auto;
}

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-foreground);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    color: var(--color-primary);
}

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


/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Break out of container if nested, though standard structure suggests root level section */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-background), rgba(0, 0, 0, 0.9), transparent);
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    height: 100%;
    max-width: 80rem; /* Increased width for left align layout */
    margin: 0 auto;
    gap: 1.5rem;
    padding: 0 5%; /* Use percentage padding for better responsiveness */
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-full);
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: var(--color-primary);
    background-color: rgba(250, 204, 21, 0.05);
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    /* text-5xl */
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--color-foreground);
    max-width: 50rem; /* Limit width of title */
}

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

    /* text-7xl */
}

.hero-description {
    font-size: 1.125rem;
    /* text-lg */
    color: var(--color-muted-foreground);
    max-width: 42rem;
    /* max-w-2xl */
    line-height: 1.625;
    margin: 0; /* Remove auto margin */
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}


/* Features Section */
.features-section {
    padding: 6rem 0;
    background-color: rgba(39, 39, 42, 0.3);
    /* bg-muted/30 */
    border-top: 1px solid rgba(39, 39, 42, 0.4);
    border-bottom: 1px solid rgba(39, 39, 42, 0.4);
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    background-color: var(--color-background);
    border: 1px solid rgba(39, 39, 42, 0.5);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background-color: rgba(250, 204, 21, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.feature-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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


/* Trust Section */
.trust-section {
    padding: 6rem 0;
    background-color: var(--color-foreground);
    color: var(--color-background);
    position: relative;
    z-index: 10;
}

.trust-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-heading {
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.trust-text-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgba(0, 0, 0, 0.8);
    /* text-background/80 equivalent */
}

.trust-highlight {
    font-weight: 600;
    color: var(--color-primary);
    padding:1rem;
    background-color: rgba(0, 0, 0, .8);
    border-radius: var(--radius-xl);
    /* text-primary/90ish but inverted context so using primary color */
}


.trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trust-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-list-icon {
    color: var(--color-primary);
    /* In this inverted context, primary is still primary */
}

.trust-badge-card {
    height: 100%;
    min-height: 300px;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Legal Section */
.legal-section {
    padding: 3rem 0;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.legal-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    background-color: rgba(39, 39, 42, 0.2);
    /* bg-muted/20 */
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--color-primary);
}

.footer-copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* Visibility Utilities for Responsive Design */
.hidden-md {
    display: flex;
}

.hidden-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hidden-md {
        display: none;
    }

    .hidden-mobile {
        display: flex;
    }
}