:root {
    --primary-blue: #00A3FF;
    /* Azure */
    --primary-purple: #D600FF;
    /* Fuchsia */
    --bg-gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    --text-dark: #0F172A;
    --text-light: #475569;
    --bg-white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --border-color: #E2E8F0;
    --bg-dark: #0F172A;
    --text-muted: #94A3B8;
    --bg-light: #F8FAFC;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Mesh Pattern */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.05) 0px, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Header & Logo */
header {
    padding: 2.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    letter-spacing: -0.05em;
}

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

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

/* Sections */
section {
    padding: 10rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.5);
}

/* Sticky Navbar */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.sticky-nav ul {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
}

.sticky-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.sticky-nav a:hover {
    color: var(--primary-blue);
}

.btn.small {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section (Centered - Clay Style) */
.hero-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--bg-dark);
    color: white;
    overflow: hidden;
    padding: 120px 0 80px;
    /* Top padding to prevent nav overlap */
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-centered h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-weight: 900;
    letter-spacing: -3px;
    max-width: 100%;
}

.hero-centered p {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 1000px;
    line-height: 1.5;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-glow::before,
.hero-glow::after {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
}

.hero-glow::before {
    background: radial-gradient(circle, var(--primary-blue), transparent);
    top: -300px;
    left: -200px;
    animation: pulseBlue 15s infinite alternate ease-in-out;
}

.hero-glow::after {
    background: radial-gradient(circle, var(--primary-purple), transparent);
    bottom: -300px;
    right: -200px;
    animation: pulsePurple 20s infinite alternate-reverse ease-in-out;
}

@keyframes pulseBlue {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
        opacity: 0.2;
    }
}

@keyframes pulsePurple {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }

    100% {
        transform: translate(-50px, -50px) scale(1.1);
        opacity: 0.2;
    }
}

.hero-centered::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    pointer-events: none;
    z-index: 2;
}

/* Hero Search Component */
.hero-search-wrapper {
    width: 100%;
    max-width: 680px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 20;
}

.search-bar-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 2px solid transparent;
}

.search-bar-container:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.4);
}

.search-icon-input {
    color: var(--text-muted);
    margin-right: 1rem;
    width: 1.25rem;
    height: 1.25rem;
}

.hero-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: var(--text-dark);
    outline: none;
    width: 100%;
    cursor: default;
    /* Indicates intent but not typing */
}

.hero-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.hero-search-btn {
    background: var(--bg-gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.3);
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(139, 92, 246, 0.4);
}

.search-micro-copy {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5) !important;
    /* Force override hero p style */
    margin-top: 0;
    margin-bottom: 0 !important;
}

/* Comparison Section Redesign */
.comparison-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.comparison-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(239, 68, 68, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(0, 163, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.comparison-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.comparison-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.comparison-header .section-title {
    font-size: clamp(2.5rem, 5vh, 4rem);
    color: white;
    margin-bottom: 1rem;
    max-width: 100%;
}

.comparison-header .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.split-view {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 3rem;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.comparison-column {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
}

.comparison-column.traditional {
    background: rgba(255, 0, 0, 0.01);
}

.comparison-column.gamehiris {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.comparison-column.gamehiris::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 163, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.col-status-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.col-status-tag.highlight {
    color: var(--primary-blue);
    background: rgba(0, 163, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 163, 255, 0.2);
}

.comparison-column h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2.5rem;
}

.comparison-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-points li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.comparison-points li .p-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.traditional .p-icon {
    color: #EF4444;
    opacity: 0.6;
}

.gamehiris .p-icon {
    color: var(--primary-blue);
    filter: drop-shadow(0 0 8px rgba(0, 163, 255, 0.4));
}

.gamehiris li span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Divider */
.comparison-divider {
    width: 1px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-vs {
    position: absolute;
    background: var(--bg-dark);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 900;
    padding: 1rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    z-index: 5;
}

.comparison-footer {
    margin-top: 3rem;
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.7;
}

@media (max-height: 800px) {
    .comparison-section {
        padding: 2rem 0;
    }

    .comparison-header {
        margin-bottom: 2rem;
    }

    .comparison-column {
        padding: 3rem;
    }
}

@media (max-width: 968px) {
    .comparison-section {
        min-height: auto;
        padding: 6rem 0;
    }

    .split-view {
        flex-direction: column;
        border-radius: 2rem;
    }

    .comparison-divider {
        width: 100%;
        height: 1px;
    }

    .divider-vs {
        padding: 0.5rem 1rem;
    }

    .comparison-column {
        padding: 3rem 2rem;
    }
}

/* FAQ Section */
.faq {
    padding: 10rem 0;
    background-color: var(--bg-dark);
    /* Ensure dark theme */
}

/* Who It's For Redesign */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 2rem;
    margin-top: 4rem;
}

.bento-card {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.card-large {
    grid-column: span 2;
}

.card-medium {
    grid-column: span 1;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
    transition: var(--transition);
}

.card-glow.azure {
    background: radial-gradient(circle at top right, var(--primary-blue), transparent 60%);
}

.card-glow.fuchsia {
    background: radial-gradient(circle at top right, var(--primary-purple), transparent 60%);
}

.bento-card:hover .card-glow {
    opacity: 0.3;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-large .card-content {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
}

.card-icon-wrapper {
    width: 5rem;
    height: 5rem;
    background: white;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.card-icon-wrapper svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-blue);
}

.card-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.card-text p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.card-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.card-list li svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary-blue);
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-large,
    .card-medium {
        grid-column: span 1;
    }

    .card-large .card-content {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
}

/* Positioning Overhaul */
.positioning {
    background-color: var(--bg-dark);
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.positioning::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 163, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(214, 0, 255, 0.15) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.positioning-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.positioning .section-title {
    color: white;
    font-size: 4rem;
    margin-bottom: 5rem;
    letter-spacing: -0.05em;
}

.not-highlight {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 900;
    filter: drop-shadow(0 0 20px rgba(0, 163, 255, 0.3));
    padding-right: 0.1em;
    /* Fix for italic text clipping */
    margin-right: -0.1em;
    /* Compensate spacing */
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.positioning-item {
    text-align: left;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.positioning-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.positioning-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.positioning-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.positioning-item svg {
    width: 3rem;
    height: 3rem;
    color: #EF4444;
    /* Alert Red for "NOT" contrast */
    margin-bottom: 2rem;
}

.positioning-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.positioning-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
}

.section-tag.invert {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1000px) {
    .positioning-grid {
        grid-template-columns: 1fr;
    }

    .positioning .section-title {
        font-size: 3rem;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 5rem;
}

.faq-item {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

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

/* FAQ Section - Premium Redesign */
.faq {
    padding: 10rem 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05), transparent 70%);
    pointer-events: none;
}

.faq-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.faq-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: var(--transition);
}

.faq-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.faq-card:hover::after {
    opacity: 1;
}

.faq-question {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: white;
    font-weight: 700;
}

.faq-answer {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-list {
    list-style: none;
    margin-top: 0.5rem;
    padding-left: 0;
}

.faq-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.faq-list li::before {
    content: "•";
    color: var(--primary-purple);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 900px) {
    .faq-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* Section Decor */
.section-tag {
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 100px;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    max-width: 700px;
}

/* How It Works Section */
.how-it-works {
    padding: 10rem 0;
    background-color: var(--bg-dark);
    /* Dark background for better brand color visibility */
    position: relative;
    overflow: hidden;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2.5rem;
    border-radius: 2rem;
    position: relative;
    transition: var(--transition);
}

.step-card.highlighted {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-purple);
    box-shadow: 0 30px 60px -12px rgba(214, 0, 255, 0.1);
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 0.1em;
}

.step-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon.azure {
    color: var(--primary-blue);
}

.step-icon.fuchsia {
    color: var(--primary-purple);
}

.step-icon.gradient {
    color: var(--primary-purple);
    /* Gradient logic handled by SVG if needed, but for Lucide we'll use Fuchsia or Azure */
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: white;
}

.step-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.step-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-bullets li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.step-bullets li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.step-card.highlighted .step-bullets li::before {
    color: var(--primary-purple);
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Precision Verification Section */
.precision-verification {
    padding: 10rem 0;
    background-color: white;
}

.section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header-centered .section-tag {
    margin-bottom: 1rem;
    display: block;
}

.section-header-centered .section-title {
    max-width: none;
    margin-bottom: 1.5rem;
}

.matrix-wrapper {
    position: relative;
    padding: 3px;
    /* Margin/Border width */
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 1.6rem;
    margin-top: 4rem;
}

.matrix-container {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
}

.matrix-header {
    display: grid;
    /* Profile | Spec | Skills | Engine | Platform | Genre */
    grid-template-columns: 2.2fr 1.8fr 1.8fr 1fr 1fr 1fr;
    padding: 1rem 0;
    /* Removing horizontal padding from container, moving to cells */
    background-color: var(--bg-soft);
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    column-gap: 0;
    /* Removed gap for borders */
    align-items: center;
}

/* Common Cell Padding */
.matrix-header>div,
.matrix-row>div {
    padding: 0 1rem;
}

/* Divider for Profile */
.col-profile {
    border-right: 1px solid var(--border-color);
    margin-right: 0.5rem;
    /* Slight spacing after border */
}

/* Header Specific Alignment */
.matrix-header .col-profile,
.matrix-header .col-spec,
.matrix-header .col-skills {
    text-align: left;
}

.matrix-header .col-engine,
.matrix-header .col-plat,
.matrix-header .col-genre {
    text-align: center;
}

.col-criteria[title] {
    cursor: help;
    text-decoration: underline dotted var(--primary-blue);
    position: relative;
}

.matrix-row {
    display: grid;
    grid-template-columns: 2.2fr 1.8fr 1.8fr 1fr 1fr 1fr;
    padding: 1.25rem 0;
    /* Removing horizontal padding from container */
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    /* Center vertically */
    transition: var(--transition);
    position: relative;
    column-gap: 0;
    /* Removed gap */
}

/* Ensure full height for divider */
.matrix-row .col-profile {
    height: 100%;
    display: flex;
    align-items: center;
    /* keep content centered vertically */
}

/* Cell Specific Alignment */
.matrix-row .col-engine,
.matrix-row .col-plat,
.matrix-row .col-genre {
    display: flex;
    justify-content: center;
    text-align: center;
}

.matrix-row .text-cell {
    text-align: center;
    width: 100%;
}

.matrix-row.top-fit {
    background-color: rgba(0, 163, 255, 0.02);
    border-left: 4px solid var(--primary-blue);
}

.top-fit-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: #D600FF;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(214, 0, 255, 0.2);
    cursor: default;
    opacity: 0.9;
}

.top-fit-badge svg {
    width: 12px;
    height: 12px;
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-row:hover {
    background-color: var(--bg-soft);
}

.candidate-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.candidate-avatar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.candidate-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow: hidden;
}

.candidate-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-meta {
    color: var(--text-light);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.context-chips {
    /* Kept for backward compat if needed, but unused in new layout */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    padding: 0.4rem 0.8rem;
    background-color: var(--bg-soft);
    color: var(--text-light);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.proof-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.proof-icons a {
    color: var(--primary-blue);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.proof-icons a:hover {
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.proof-icons svg {
    width: 1.2rem;
    height: 1.2rem;
}

.col-status {
    /* Legacy */
    display: flex;
    justify-content: center;
}

.status-match {
    color: var(--primary-blue);
}

.status-no-match {
    color: #EF4444;
}

.matrix-footer {
    padding: 1.5rem 2.5rem;
    background-color: rgba(0, 163, 255, 0.03);
    border-top: 1px solid rgba(0, 163, 255, 0.1);
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* New Specific Styles */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.table-tag {
    display: inline-flex;
    padding: 0.2rem 0.5rem;
    background: rgba(0, 163, 255, 0.08);
    /* Very light blue */
    color: var(--primary-blue);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.table-tag.outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--text-light);
}

.text-cell {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1100px) {
    .matrix-container {
        overflow-x: auto;
    }

    .matrix-header,
    .matrix-row {
        min-width: 900px;
        /* Keep grid structure on scroll */
    }

    .candidate-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.simple-footer {
    padding: 6rem 0 4rem;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.simple-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 1px;
    background: var(--bg-gradient);
    transform: translateX(-50%);
    opacity: 0.3;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-email {
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.03);
}

.footer-email:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px -10px rgba(0, 163, 255, 0.3);
}

.footer-right .copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

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

/* Early Access Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FFFFFF;
    width: 100%;
    max-width: 480px;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close-btn:hover {
    background: var(--bg-soft);
    color: var(--text-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-dark);
    background: var(--bg-soft);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.1);
}

.full-width {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* =========================================
   MOBILE RESPONSIVE STYLES
   ========================================= */

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu svg {
    width: 2rem;
    height: 2rem;
}

@media (max-width: 968px) {

    /* Header Adjustments */
    .nav-container {
        padding: 0 1rem;
    }

    .hamburger-menu {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding-top: 6rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        justify-content: center;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .logo img {
        height: 45px !important;
        /* Resize logo for mobile */
    }

    /* Hero Section Adjustments */
    .hero-centered h1 {
        font-size: 2.8rem;
        /* Smaller font for mobile */
        padding: 0 1rem;
    }

    .hero-centered p {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }

    .hero-search-wrapper {
        padding: 0 1.5rem;
    }

    .search-bar-container {
        flex-direction: column;
        padding: 1rem;
        border-radius: 2rem;
        gap: 1rem;
    }

    .search-icon-input {
        display: none;
    }

    .hero-search-input {
        text-align: center;
        width: 100%;
    }

    .hero-search-btn {
        width: 100%;
        padding: 1rem;
    }

    /* Global Section Padding */
    section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Steps Grid */
    .steps-grid {
        gap: 1.5rem;
    }

    .step-card {
        padding: 2.5rem 1.5rem;
    }

    /* Matrix Table Mobile Fix */
    .matrix-wrapper {
        margin: 0 -1rem;
        /* Allow full edge-to-edge on very small screens if needed */
        border-radius: 0;
        width: calc(100% + 2rem);
    }

    .matrix-container {
        border-radius: 0;
    }

    /* Positioning Grid */
    .positioning .section-title {
        font-size: 2.5rem;
    }

    .positioning-item {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .h1 {
        font-size: 2.2rem;
    }

    .comparison-header .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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