/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #1a1a1a;
    --card-dark: #2b2b2b;
    --border-color: #404040;
    --text-primary: #e0e0e0;
    --text-secondary: #9ca3af;
    --accent-blue: #3b82f6;
    --chrome-gradient: linear-gradient(135deg, #e0e0e0 0%, #9ca3af 100%);
    --blue-chrome-text: linear-gradient(90deg, #e0e0e0 0%, #60a5fa 100%);
    --blue-chrome-bg: linear-gradient(135deg, #e0e0e0 0%, #3b82f6 100%);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.card {
    background-color: var(--card-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
    height: 100%;
    /* Ensure full height in grid */
    display: flex;
    flex-direction: column;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--chrome-gradient);
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #666;
    color: #ccc;
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* X Centrix Blue Chrome Button */
.btn-xcentrix {
    background: var(--blue-chrome-bg);
    color: #000;
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.btn-xcentrix:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    transform: scale(1.02);
}

/* --- Navigation --- */
nav {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-brand span {
    font-size: 24px;
    font-weight: 700;
    background: var(--chrome-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-links a.nav-item:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #2a2a2a 0%, #1a1a1a 60%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-logo-large {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    width: 450px;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
}

/* --- Pricing Specifics --- */
.pricing-card-popular {
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card-popular:hover {
    transform: scale(1.07);
}

.pricing-badge {
    color: #3b82f6;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.price-tag {
    font-size: 32px;
    font-weight: bold;
    margin: 15px 0;
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: #ccc;
    line-height: 2.5;
    flex-grow: 1;
    /* Pushes button to bottom */
}

/* --- X Centrix AI Promo Section --- */
.xcentrix-wrapper {
    width: 100%;
    border-top: 1px solid #333;
    background: #151515;
    padding: 80px 0;
    margin-top: auto;
}

.xcentrix-block {
    width: 80%;
    margin: 0 auto;
    background: linear-gradient(180deg, #1e2530 0%, #1a1a1a 100%);
    border: 1px solid #3b82f640;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.xcentrix-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    opacity: 0.5;
}

.xcentrix-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--blue-chrome-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.xcentrix-desc {
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    font-size: 18px;
}

/* --- Forms --- */
form label {
    display: block;
    margin-bottom: 8px;
    color: #999;
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    background-color: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: white;
    margin-bottom: 20px;
    box-sizing: border-box;
}

input:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* --- Responsive Grid --- */
/* Mobile First: Stacked by default */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Desktop: 3 columns side-by-side */
@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* --- Mobile Styles --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a1a1a;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-logo-large {
        display: none;
    }

    .xcentrix-block {
        width: 95%;
        padding: 30px 15px;
    }

    .xcentrix-title {
        font-size: 24px;
    }

    .container {
        padding: 15px;
    }

    /* Reset scale on mobile for popular card to fit screen */
    .pricing-card-popular {
        transform: none;
    }

    .pricing-card-popular:hover {
        transform: none;
    }
}