/* 
   Directory Site Design System 
   Theme: Dark, Bold, Futuristic (Cyberpunk/Neon influence)
*/

:root {
    /* Colors */
    --bg-body: #050505;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --bg-header: rgba(5, 5, 5, 0.9);

    --color-primary: #ff0055;
    /* Neon Pink */
    --color-primary-glow: rgba(255, 0, 85, 0.5);
    --color-secondary: #00f0ff;
    /* Electric Blue */
    --color-secondary-glow: rgba(0, 240, 255, 0.5);
    --color-accent: #bf00ff;
    /* Purple */

    --text-main: #ffffff;
    --text-muted: #888888;
    --text-dim: #444444;

    --border-color: #222222;
    --border-highlight: #333333;

    /* Spacing */
    --container-width: 1200px;
    --gap-sm: 0.5rem;
    --gap-md: 1rem;
    --gap-lg: 2.5rem;
    --gap-xl: 5rem;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--gap-md);
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    border-left: 4px solid var(--color-primary);
    padding-left: var(--gap-md);
}

h3 {
    font-size: 1.5rem;
}

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

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

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap-md);
}

.grid {
    display: grid;
    gap: var(--gap-lg);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

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

.justify-center {
    justify-content: center;
}

.gap-sm {
    gap: var(--gap-sm);
}

.gap-md {
    gap: var(--gap-md);
}

.gap-lg {
    gap: var(--gap-lg);
}

.gap-xl {
    gap: var(--gap-xl);
}

.mt-lg {
    margin-top: var(--gap-lg);
}

.mb-lg {
    margin-bottom: var(--gap-lg);
}

.py-xl {
    padding-top: var(--gap-xl);
    padding-bottom: var(--gap-xl);
}

/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.btn-primary:hover {
    background-color: #d90049;
    box-shadow: 0 0 25px var(--color-primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}

.btn-secondary:hover {
    background-color: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px var(--color-secondary-glow);
    text-shadow: 0 0 8px var(--color-secondary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-med);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-card-hover);
}

.card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: var(--gap-md);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--gap-sm);
    color: #fff;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--gap-md);
    display: flex;
    justify-content: space-between;
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.badge-outline {
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.badge-hot {
    background-color: rgba(255, 0, 85, 0.2);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.badge-hd {
    background-color: rgba(0, 240, 255, 0.2);
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

/* Rating */
.rating {
    color: var(--color-secondary);
    font-weight: bold;
}

.stars {
    color: #FFD700;
    /* Gold */
    font-size: 0.9rem;
}

/* Header/Nav */
.site-header {
    background-color: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--gap-lg);
}

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 0, 85, 0.1) 0%, transparent 70%);
}

.hero-subtitle {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: var(--gap-md);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-buttons {
    margin-top: var(--gap-lg);
    display: flex;
    justify-content: center;
    gap: var(--gap-md);
}

/* Footer */
.site-footer {
    background-color: #000;
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    margin-top: var(--gap-xl);
    text-align: center;
    color: var(--text-dim);
}

/* Inputs */
.search-bar {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 50px;
    width: 300px;
    color: #fff;
    font-family: inherit;
}

.search-bar:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Features List (Listing Page) */
.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

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

.feature-value {
    color: #fff;
    font-weight: 500;
}

/* Pricing Table */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: var(--gap-lg);
    border-radius: var(--radius-md);
    text-align: center;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: var(--gap-md) 0;
}

.pricing-option {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.pricing-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-highlight);
}

.pricing-label {
    font-weight: 600;
    color: var(--text-main);
}

.pricing-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.mt-xl {
    margin-top: var(--gap-xl);
}

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

.d-block {
    display: block;
}

.p-sm {
    padding: var(--gap-sm);
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified for MVP */

    .hero {
        padding: 40px 0;
    }
}
