/* ==========================================
   EIGHTLEGGED - Component Styles
   ========================================== */

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-orange);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-orange-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--gray-900);
}

.btn-ghost {
    background: transparent;
    color: inherit;
    border: 2px solid currentColor;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.125rem;
}

/* ==========================================
   Hero Sections
   ========================================== */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-16) var(--space-6);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-title {
    color: white;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: var(--space-8);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Section Layout
   ========================================== */

.section {
    padding: var(--space-24) var(--space-6);
}

.section-dark {
    background: var(--gray-950);
    color: white;
}

.section-light {
    background: var(--gray-50);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Cards
   ========================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.card {
    background: white;
    border-radius: 12px;
    padding: var(--space-8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-dark {
    background: var(--gray-900);
    color: white;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    background: var(--brand-orange);
    color: white;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.card-desc {
    color: var(--gray-500);
    line-height: 1.6;
}

.card-dark .card-desc {
    color: var(--gray-400);
}

/* ==========================================
   Feature List
   ========================================== */

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.feature-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* ==========================================
   Pricing Cards
   ========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-8);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--brand-orange);
    transform: scale(1.05);
}

.pricing-badge {
    background: var(--brand-orange);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: var(--space-4);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-1);
}

.pricing-period {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: var(--space-6);
}

.pricing-features {
    flex: 1;
    margin-bottom: var(--space-8);
}

.pricing-features li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.pricing-features li::before {
    content: "\\2713";
    color: var(--brand-orange);
    font-weight: bold;
}

/* ==========================================
   Stats
   ========================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    text-align: center;
}

.stat-item {
    padding: var(--space-6);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    color: var(--gray-500);
    font-size: 1rem;
}

/* ==========================================
   Team Grid
   ========================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    overflow: hidden;
    background: var(--gray-200);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.team-member:hover .team-photo img {
    transform: scale(1.1);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.team-role {
    color: var(--brand-orange);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.team-bio {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ==========================================
   Contact Form
   ========================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================
   Contact Cards
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

.contact-card {
    background: var(--gray-900);
    border-radius: 12px;
    padding: var(--space-6);
    text-align: center;
    transition: transform var(--transition-fast);
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    background: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-title {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
}

.contact-value {
    color: var(--brand-orange);
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-desc {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-top: var(--space-2);
}

/* ==========================================
   Breadcrumbs
   ========================================== */

.breadcrumbs {
    padding: var(--space-4) var(--space-6);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumbs-list {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.875rem;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-500);
}

.breadcrumbs-list a {
    color: var(--gray-700);
    transition: color var(--transition-fast);
}

.breadcrumbs-list a:hover {
    color: var(--brand-orange);
}

.breadcrumbs-sep {
    color: var(--gray-400);
}

/* ==========================================
   SVG Icons (inline)
   ========================================== */

.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

/* ==========================================
   Navigation Badges (Terminal Style)
   ========================================== */

.nav-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--brand-orange);
    margin-right: 0.35rem;
    opacity: 0.9;
}

.nav-dropdown a .nav-badge {
    display: inline-block;
}

.nav-dropdown-sub .nav-badge {
    font-size: 0.6rem;
    opacity: 0.7;
}
