/* styles.css for Luxstie
   Extracted from the combined page — just drop this into styles.css and link it from index.html
*/

/* Root tokens */
:root {
    /* Color System */
    --bg-deep-ink: #0B0F19;
    --surface-primary: #111827;
    --surface-elevated: #121826;
    --text-primary: #E5E7EB;
    --text-muted: #94A3B8;
    --divider: #1F2937;
    --accent-primary: #7C3AED;
    --accent-secondary: #06B6D4;
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Typography */
    --font-ui: 'Inter', sans-serif;
    --font-display: 'Newsreader', serif;

    /* Spacing */
    --section-spacing-desktop: 88px;
    --section-spacing-mobile: 56px;
    --side-padding: 32px;
    --max-width: 1280px;

    /* Border Radius */
    --border-radius: 14px;
}

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-ui);
    background-color: var(--bg-deep-ink);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility: container to centralize content */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

/* Accessibility helpers */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--surface-primary);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 2000;
    transform: translateY(-120%);
    transition: transform 0.18s ease;
    text-decoration: none;
    border: 1px solid var(--divider);
}
.skip-link:focus {
    transform: translateY(0);
    outline: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

/* Background gradient overlay */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    z-index: -1;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.28s ease;
    background-color: transparent;
}
header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}
header.scrolled {
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.logo {
    font-weight: 600;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    color: var(--accent-primary);
}
.logo span {
    color: var(--accent-primary);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}
nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.28s ease;
}
nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-family: var(--font-ui);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
}
.btn-primary:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124,58,237,0.3);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--divider);
}
.btn-ghost:hover {
    background-color: rgba(255,255,255,0.03);
    border-color: var(--text-muted);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--divider);
    color: var(--text-primary);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 var(--section-spacing-desktop);
    position: relative;
}
.hero-grid {
    display: flex;
    gap: 48px;
    align-items: center;
    width: 100%;
}
.hero-content {
    flex: 1;
    max-width: 600px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(to right, #E5E7EB, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}
.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.chip {
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 12px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 20px;
    border: 1px solid var(--divider);
}
.chip:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.dashboard-mock {
    width: 100%;
    max-width: 500px;
    background-color: var(--surface-elevated);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--divider);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.dashboard-mock:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.domain-name {
    font-weight: 500;
}
.health-score {
    font-weight: 600;
    font-size: 18px;
    color: var(--success);
}
.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.check-success {
    background-color: rgba(34,197,94,0.2);
    color: var(--success);
}
.check-warning {
    background-color: rgba(245,158,11,0.2);
    color: var(--warning);
}

/* Value Section */
.value-section {
    padding: var(--section-spacing-desktop) 0;
}
.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    text-align: center;
    margin-bottom: 64px;
    font-weight: 400;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: var(--accent-primary);
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
}
.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.value-card {
    background-color: var(--surface-primary);
    border-radius: var(--border-radius);
    padding: 32px;
    border: 1px solid var(--divider);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.value-card:hover::before {
    transform: scaleX(1);
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(124,58,237,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-primary);
    font-size: 20px;
}
.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.card-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.card-link {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.18s ease;
}
.card-link:hover {
    gap: 10px;
}

/* Credibility Section */
.credibility-section {
    padding: var(--section-spacing-desktop) 0;
    display: flex;
    gap: 64px;
    align-items: center;
}
.credibility-content {
    flex: 1;
}
.credibility-title {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 400;
}
.credibility-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.safety-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.safety-icon {
    color: var(--accent-primary);
    margin-top: 4px;
}
.safety-text {
    color: var(--text-primary);
}

.credibility-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.dns-check-mock {
    width: 100%;
    max-width: 500px;
    background-color: var(--surface-elevated);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--divider);
}
.dns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.dns-title {
    font-weight: 600;
}
.dns-status {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: rgba(34,197,94,0.2);
    color: var(--success);
}
.dns-record {
    background-color: rgba(15,23,42,0.5);
    padding: 16px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 16px;
    border: 1px solid var(--divider);
}

/* Pricing Preview */
.pricing-preview {
    padding: var(--section-spacing-desktop) 0;
}
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 32px;
    margin-bottom: 48px;
}
.pricing-card {
    background-color: var(--surface-primary);
    border-radius: var(--border-radius);
    padding: 32px;
    border: 1px solid var(--divider);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-card.featured {
    border-color: var(--accent-primary);
    position: relative;
    transform: scale(1.05);
}
.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}
.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}
.plan-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}
.plan-price {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}
.plan-price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}
.plan-description {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}
.plan-features {
    margin-bottom: 32px;
}
.plan-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}
.feature-check {
    color: var(--success);
}
.pricing-actions {
    margin-top: auto;
}
.btn-full {
    width: 100%;
    text-align: center;
}

/* Requirements & Final CTA */
.requirements-section {
    padding: var(--section-spacing-desktop) 0;
    text-align: center;
}
.requirements-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
    color: var(--text-muted);
    font-size: 16px;
}
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--surface-primary) 0%, var(--surface-elevated) 100%);
    padding: 64px 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--divider);
    max-width: 800px;
    margin: 0 auto;
}
.final-cta h2 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 400;
}
.final-cta p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: var(--surface-primary);
    padding: 64px 0 32px;
    border-top: 1px solid var(--divider);
}
.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding: 0 var(--side-padding);
}
.footer-brand {
    max-width: 300px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}
.footer-description {
    color: var(--text-muted);
    margin-bottom: 24px;
}
.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}
.footer-links a:hover {
    color: var(--accent-primary);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.newsletter-text {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}
.form-group {
    display: flex;
    gap: 8px;
}
.form-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    background-color: var(--bg-deep-ink);
    border: 1px solid var(--divider);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 14px;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(124,58,237,0.16);
}
.btn-small {
    padding: 12px 20px;
    font-size: 14px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--divider);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 var(--side-padding);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }
    .hero-visual { justify-content: center; }
    .credibility-section { flex-direction: column; gap: 48px; }
    .footer-content { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 768px) {
    :root {
        --side-padding: 24px;
        --section-spacing-desktop: 64px;
    }
    header .header-inner { padding: 16px 0; }
    nav ul { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero h1 { font-size: 40px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .section-title { font-size: 28px; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
    .form-group { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 36px; }
    .value-cards, .pricing-cards { grid-template-columns: 1fr; }
    .requirements-strip { flex-direction: column; gap: 16px; }
    .footer-content { grid-template-columns: 1fr; }
}

/* Mobile nav open state */
nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(17,24,39,0.98);
    position: absolute;
    top: 64px;
    right: var(--side-padding);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--divider);
    z-index: 1500;
    min-width: 180px;
}

/* Optional: make sure container inside credibility-section follows original inline layout if present */
.credibility-section > .container {
    display: flex;
    gap: 64px;
    align-items: center;
}
