/* ==========================================
   GLOBAL VARIABLES & RESET
   ========================================== */
:root {
    --color-bg: #081A3A;
    --color-surface: #0E254B;
    --color-surface-hover: #143160;
    --color-primary: #5B2EFF;
    --color-accent: #22D3EE;
    --color-accent-hover: #06B6D4;
    --color-text: #FFFFFF;
    --color-text-muted: #8B9BB4;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header,
.navbar {
    background-color: rgba(8, 26, 58, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container,
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Logo Sizing */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Navigation Links */
.nav-menu,
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link,
.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active,
.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}

/* ==========================================
   DROPDOWN MENU STYLES
   ========================================== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle.active {
    color: var(--color-accent);
}

.dropdown-toggle .arrow {
    display: inline-block;
    font-size: 0.7rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 210px;
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background-color: var(--color-surface-hover);
    color: var(--color-accent);
    padding-left: 1.5rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-sizing: border-box;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    box-shadow: 0 4px 14px rgba(34, 211, 238, 0.3);
}

.btn-outline,
.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    background: transparent;
}

.btn-outline:hover,
.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(34, 211, 238, 0.05);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section,
.page-hero {
    padding: 60px 0 30px;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(91, 46, 255, 0.15) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title,
.hero-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.page-description,
.hero-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================
   STORE / MODELS SECTION
   ========================================== */
.models-section {
    padding: 30px 0 80px;
}

/* Extended top padding prevents badge cutoff on featured cards */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
    padding-top: 20px; 
}

/* Card Styling */
.model-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
    overflow: visible; /* Allows top badge to hang outside box */
}

.model-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.3);
}

/* Featured Card Styling */
.model-card.featured {
    background-color: rgba(8, 26, 58, 0.6);
    border: 2px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.15);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 20px;
    z-index: 10;
    white-space: nowrap;
}

/* Card Header & Pricing */
.card-header {
    margin-bottom: 20px;
}

.card-image-container {
    width: 100%;
    height: 180px; /* Adjust height to fit your preference */
    overflow: hidden;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    /*background-color: #040d1a; /* Darker fallback background */
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image scales nicely without distortion */
    display: block;
}

.model-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.model-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 40px;
    margin-bottom: 20px;
}

.price-box {
    display: flex;
    align-items: baseline;
    color: #ffffff;
}

.price-box .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-right: 2px;
}

.price-box .price {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.price-box .period {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-left: 6px;
}

/* Specs Box */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.spec-value {
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.card-footer {
    margin-top: auto;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    background-color: var(--color-surface-hover);
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.3);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-item {
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
}

.faq-item.open .faq-a {
    padding-bottom: 1.25rem;
    transition: max-height 0.3s cubic-bezier(0.5, 0, 0.1, 1);
}

.faq-a p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--color-bg);
    color: var(--color-text-muted);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .brand-mark {
    max-width: 240px;
    height: auto;
    margin-bottom: 12px;
}

.footer-blurb {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 320px;
    line-height: 1.5;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 8px;
}

.credit-text {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1;
}

.starix-logo {
    height: 18px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================
   SCROLL REVEAL ANIMATION & RESPONSIVE
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header-logo {
        height: 30px;
    }

    .nav-menu,
    .nav-links {
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
.store-notice {
    padding: 20px 0 0;
}

.notice-box {
    background: #f8d7da;
    border: 1px solid #7a6a00;
    border-radius: 4px;
    padding: 16px 20px;
    text-align: center;
    color: #842029;
}

.notice-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.notice-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}
