/* ==========================================
   wydProxy Custom Stylesheet (Human Crafted)
   ========================================== */

:root {
    --bg: #0a0a0a;          /* Matte deep charcoal */
    --surface: #141414;     /* Soft contrast surface */
    --border: #222222;      /* Crisp, subtle border */
    --border-hover: #383838;
    --text: #ededed;        /* Off-white readable text */
    --text-muted: #888888;  /* Muted secondary text */
    --accent: #f5f5f5;      /* Clean neutral highlight */
    --accent-hover: #ffffff;
}

/* Base Setup */
html {
    scroll-behavior: smooth;
    background-color: var(--bg);
    color: var(--text);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}

/* Navigation */
header.sticky-nav {
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.875rem;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

.nav-cta {
    background-color: var(--surface) !important;
    border: 1px solid var(--border);
    color: var(--text) !important;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.15s ease !important;
}

.nav-cta:hover {
    border-color: var(--border-hover);
    background-color: #1a1a1a !important;
}

/* Hero Section */
.hero-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 1.5rem 6rem 1.5rem;
    text-align: left; /* Shifted left for an editorial/developer tool feel */
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    color: #ffffff;
}

.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 38rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

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

.btn-primary {
    background-color: var(--accent);
    color: #000000;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

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

.btn-secondary {
    color: var(--text-muted);
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.15s ease;
}

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

/* Services Section */
.services-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 6rem 1.5rem;
    background-color: rgba(20, 20, 20, 0.4);
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: #ffffff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.15s ease;
}

.service-card:hover {
    border-color: var(--border-hover);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.card-icon {
    background-color: var(--bg);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-muted);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.badge-operational {
    background-color: rgba(34, 197, 94, 0.08);
    color: #4ade80;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-dot {
    width: 5px;
    height: 5px;
    background-color: #4ade80;
    border-radius: 50%;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.card-link {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    word-break: break-all;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.card-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* About Section */
.about-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.about-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: left;
}

.about-box h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.about-box p {
    color: var(--text-muted);
    max-width: 40rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-light {
    background-color: var(--accent);
    color: #000000;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.15s ease;
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    background-color: var(--bg);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-container a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-container a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
