/* =============================================
   DOC JORDAN HUB — styles.css  (FIXED)
   Bugs fixed:
   1. .main-header  → header        (element, no class)
   2. .main-nav     → nav           (element, no class)
   3. .content-grid → main          (element, no class)
   4. .content-card → main section  (element, no class)
   5. Added rules for all classes that existed in HTML but had no CSS:
      .cosmic-background, .product-grid, .product-card,
      .alkami-atmosphere, .brand-title, .srj-title, .cali-title, .shop-now
   ============================================= */

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #0b0c10;
    color: #c5c6c7;
    min-height: 100vh;
}

/* --- Cosmic Background --- */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(31, 40, 51, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(21, 32, 43, 0.5) 0%, transparent 50%),
        #0b0c10;
    z-index: -1;
    pointer-events: none;
}

/* --- Header --- */
header {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg, #1f2833, #15202b);
    padding: 24px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(69, 162, 158, 0.2);
}

header h1 {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #66fcf1;
    text-shadow: 0 0 20px rgba(102, 252, 241, 0.4);
}

/* --- Nav --- */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    background-color: #1f2833;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(69, 162, 158, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #c5c6c7;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}

nav a:hover {
    color: #66fcf1;
    background: rgba(102, 252, 241, 0.08);
}

/* --- Main & Sections --- */
main {
    display: flex;
    flex-direction: column;
}

main section {
    padding: 60px 40px;
    border-bottom: 1px solid #1f2833;
}

main section:nth-child(even) {
    background: rgba(31, 40, 51, 0.3);
}

main section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #66fcf1;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

main section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #c5c6c7;
    max-width: 680px;
}

/* --- Alkami Atmosphere Block --- */
.alkami-atmosphere {
    background: linear-gradient(135deg, #1f2833, #0d1b2a);
    border: 1px solid rgba(69, 162, 158, 0.3);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* --- Product Card --- */
.product-card {
    background-color: #1f2833;
    border: 1px solid rgba(69, 162, 158, 0.2);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(69, 162, 158, 0.5);
}

.product-card h3,
.product-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: #c5c6c7;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

/* --- Brand Titles --- */
.brand-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #66fcf1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 12px rgba(102, 252, 241, 0.3);
}

.srj-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #c5c6c7;
    text-transform: lowercase;
    letter-spacing: 0.06em;
}

.cali-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f0c060;
    letter-spacing: 0.08em;
}

/* --- Shop Now Button --- */
.shop-now {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    color: #66fcf1;
    border: 1px solid #66fcf1;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    align-self: flex-start;
}

.shop-now:hover {
    background: #66fcf1;
    color: #0b0c10;
    box-shadow: 0 0 16px rgba(102, 252, 241, 0.4);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #1f2833;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(69, 162, 158, 0.1);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    header h1 { font-size: 1.6rem; }
    main section { padding: 40px 20px; }
    nav { gap: 4px; }
    nav a { font-size: 0.8rem; padding: 5px 10px; }
}
