:root {
    --garnet: #73000a;
    --garnet-light: #9e1a26;
    --garnet-glow: rgba(115, 0, 10, 0.15);
    --gold: #d4a700;
    --main-bg: #f9f9f9;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-main: #222222;
    --text-muted: #555555;
    --nav-bg: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
}

/* --- BACKGROUND BLOBS --- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    animation: pulse 10s infinite alternate ease-in-out;
}
.blob-1 {
    top: -10%; left: -5%;
    width: 500px; height: 500px;
    background: var(--garnet);
    opacity: 0.12;
}
.blob-2 {
    bottom: 20%; right: -10%;
    width: 600px; height: 600px;
    background: var(--garnet-light);
    opacity: 0.1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    100% { transform: scale(1.1); opacity: 0.18; }
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.brand span {
    color: var(--garnet);
}

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--garnet); }
.nav-links a.nav-extra {
    color: var(--garnet);
    font-weight: 600;
}

.nav-links a.nav-extra:hover {
    color: var(--garnet-hover);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary {
    background: var(--garnet);
    color: #fff;
    box-shadow: 0 10px 30px rgba(115, 0, 10, 0.25);
}

.btn-primary:hover {
    background: var(--garnet-light);
}

/* --- DEMO VIDEO  --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.feature-box:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--garnet);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(115, 0, 10, 0.08);
    border: 1px solid rgba(115, 0, 10, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--garnet);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-box p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- AUDIENCE SECTION MAPPING --- */
.audience {
    padding: 6rem 5%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(115,0,10,0.04) 100%);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.audience-content { max-width: 600px; }
.audience-content h2 { font-size: 2.5rem; color: var(--garnet); margin-bottom: 1.5rem; }

.metrics-row {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}
.metric-stat { font-size: 2.5rem; font-family: 'Outfit'; color: var(--garnet-light); font-weight: 800; display: block; }

/* --- APP UI MOCKUP REPLICA --- */
.mock-dash-container {
    background-color: var(--main-bg);
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--border-glass);
}

.mock-shop-banner {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.mock-dash-title {
    color: var(--garnet);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.mock-quick-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.mock-quick-card {
    flex: 1;
}

.mock-category-btn {
    width: 100%;
    border: 2px solid var(--garnet);
    padding: 15px 10px;
    background-color: #fff;
    color: var(--garnet);
    border-radius: 6px;
    text-align: center;
}

.mock-selected .mock-category-btn {
    border-width: 4px;
    box-shadow: 0 2px 8px rgba(115, 0, 10, 0.2);
}

.mock-category-title {
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.mock-category-count {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.mock-category-label {
    font-size: 0.6rem;
    opacity: 0.9;
}

.mock-details-section {
    border: 2px solid var(--garnet);
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 25px;
}

.mock-details-section h3 {
    margin-top: 0;
    color: var(--garnet);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mock-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mock-details-actions {
    display: flex;
    gap: 8px;
}

.mock-clear-chat-btn {
    font-size: 0.7rem;
    padding: 6px 12px;
    border: 2px solid var(--garnet);
    border-radius: 6px;
    background: #fff;
    color: var(--garnet);
    font-weight: 600;
    cursor: default;
    transition: all 0.2s;
}

.mock-clear-chat-btn:hover {
    background-color: var(--garnet);
    color: #fff;
}

.mock-detail-item {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fff;
}

.mock-detail-item .mock-title {
    font-weight: 600;
    color: var(--garnet);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.mock-detail-item .mock-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mock-perf-time-select {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    border: 2px solid var(--garnet);
    background-color: #fff;
    color: var(--garnet);
    font-weight: 500;
    cursor: default;
}

.mock-analytics {
    border: 2px solid var(--garnet);
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
}

.mock-analytics h3 {
    margin-top: 0;
    color: var(--garnet);
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.mock-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.mock-stat-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-left: 1px solid rgba(0,0,0,0.08);
}

.mock-stat-card-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.mock-stat-card-value {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.mock-stat-card-info {
    font-size: 0.55rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.mock-dist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mock-dist-header h5 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--garnet);
}

.mock-dist-toggle-container {
    display: inline-flex;
    background: #f0f0f0;
    border-radius: 4px;
    padding: 2px;
}

.mock-dist-toggle-btn {
    padding: 6px 12px;
    font-size: 0.65rem;
    color: #666;
    border-radius: 3px;
}

.mock-dist-toggle-btn.active {
    background: var(--garnet);
    color: #fff;
}

.mock-bar-item {
    margin-bottom: 12px;
}

.mock-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.mock-bar-label-text {
    font-weight: 500;
    font-size: 0.75rem;
}

.mock-bar-label span:last-child {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mock-bar-bg {
    background: #eee;
    height: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.mock-bar-fill {
    height: 100%;
}

.mock-top-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.75rem;
}

.mock-top-item-count {
    color: var(--text-muted);
    font-weight: 500;
}

/* --- HOW TO SECTION --- */
.how-to-section {
    padding: 6rem 2%;
    background-color: var(--main-bg);
    border-top: 1px solid var(--border-glass);
}

.how-to-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 50px;
    width: 100%;
}

.how-to-step {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    background: transparent;
    width: 100%;
}

.how-to-step:nth-child(even) {
    flex-direction: row;
}

.step-photo {
    flex: 3;
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.step-content {
    flex: 1;
    padding-top: 20px;
    text-align: left;
    position: sticky;
    top: 100px;
}

.step-content h3 {
    margin: 0 0 20px 0;
    color: var(--garnet);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.step-content p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- TEAM SECTION --- */
.team-section {
    padding: 6rem 2%;
    background-color: #fff;
    border-top: 1px solid var(--border-glass);
}

.team-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.team-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    width: 100%;
}

.team-card {
    flex: 1;
    min-width: 0;
    background: var(--main-bg);
    border-radius: 16px;
    padding: 40px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.team-card h3 {
    margin: 0 0 10px 0;
    color: var(--garnet);
    font-size: 1.3rem;
}

.role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.social-btn {
    flex: 1;
    padding: 10px 5px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

.social-btn.github {
    border: 1.5px solid var(--garnet);
    color: var(--garnet);
}

.social-btn.github:hover {
    background: var(--garnet);
    color: #fff;
}

.social-btn.linkedin {
    background: #0077b5;
    color: #fff;
    border: 1.5px solid #0077b5;
}

.social-btn.linkedin:hover {
    background: #005582;
    border-color: #005582;
}

/* --- FOOTER --- */
footer {
    padding: 4rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background-color: var(--main-bg);
}

@media (max-width: 968px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 10rem; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .video-placeholder { transform: none; margin-top: 2rem; }
    .audience { flex-direction: column; text-align: center; gap: 3rem; }
    .metrics-row { justify-content: center; }
    .mock-dash-wrapper { margin: 0 auto; padding-left: 0 !important; }
}
