/*===============================================
  MODERN STYLE (style.css) - v1.5
=================================================*/

/* --- Modern Variables & Body --- */
:root {
    --primary-color: #4a90e2;
    --primary-color-light: #5aa0f2;
    --dark-bg: #0F0F1A; /* Deeper, richer dark background */
    --card-bg: rgba(26, 26, 46, 0.7); /* Semi-transparent "glass" effect */
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #E0E0E6;
    --text-muted: #9A9AB0;
    --hero-gradient: linear-gradient(135deg, #1a1a2e 0%, #0F0F1A 100%);
    --warning-red-bg: rgba(231, 76, 60, 0.1);
    --warning-red-border: rgba(231, 76, 60, 0.4);
    --warning-red-text-light: #fadedb;
    --warning-red-text-dark: #e74c3c;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                 Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    margin: 0;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
}

/* --- Header & Navigation --- */
header {
    background-color: transparent; /* Make header part of the background */
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    /* Add backdrop blur for when scrolling */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px; /* Slightly larger logo */
    margin-right: 15px;
    border-radius: 4px; /* Soften the square edge */
}

/* NEW: Style for the centered title */
.nav-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff; /* Brighter white for the logo text */
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-color);
}

#login-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

#login-button:hover {
    background-color: var(--primary-color-light);
    color: #fff;
}

/* --- Main Content --- */
main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: var(--hero-gradient);
    border-radius: 12px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-3px);
}

/* --- Features Grid (Glassmorphism) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.feature-card {
    background: var(--card-bg); /* Semi-transparent background */
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px); /* The "frosted glass" blur */
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(42, 42, 78, 0.9); /* Lighten on hover */
}

.feature-card h3 {
    color: var(--primary-color-light);
    margin-top: 0;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Demo Section --- */
.demo-section {
    margin-top: 6rem;
    text-align: center;
}

.demo-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
}

.demo-output {
    background-color: #161625; /* Darker, slightly purple-ish code bg */
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0; /* Remove padding to let tabs sit flush */
    margin-top: 2rem;
    text-align: left;
    overflow: hidden; /* Hide overflow */
}

/* --- Demo Tabs --- */
.demo-tabs {
    display: flex;
    border-bottom: 1px solid var(--glass-border);
    background-color: rgba(0,0,0,0.2);
    flex-wrap: wrap; /* Allows tabs to wrap on small screens */
}

.tab-button {
    font-family: inherit;
    font-size: 1rem; 
    font-weight: 600;
    padding: 1rem 1.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.tab-button.active {
    color: #fff;
    border-bottom-color: var(--primary-color);
}

.tab-button:hover {
    color: #fff;
}

.demo-content {
    padding: 2.5rem; /* Add padding to the content area */
}

.tab-pane {
    display: none; /* Hide all tabs by default */
}

.tab-pane.active {
    display: block; /* Show only the active one */
}

/* --- Demo Content Formatting --- */

/* This is the explainer sentence at the top of each tab */
.artifact-explainer {
    font-style: italic;
    color: var(--text-muted);
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.demo-content h3 {
    color: var(--primary-color-light);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.demo-content h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.demo-content p, .demo-content ul, .demo-content ol {
    color: var(--text-muted);
    line-height: 1.8;
}

.demo-content ul, .demo-content ol {
    padding-left: 25px;
}

.demo-content li {
    margin-bottom: 0.75rem;
}

/* --- Demo Table --- */
.demo-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.demo-table th, .demo-table td {
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    color: var(--text-muted);
}

.demo-table th {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: left.
}

.demo-table td {
    height: 2.5rem; /* Give the empty rows some height */
}

/* NEW: Styles for the PDF placeholder image */
.demo-pdf-image {
    width: 100%;
    max-width: 600px; /* Limit image size */
    border-radius: 8px; /* Soften the corners */
    border: 1px solid var(--glass-border);
    display: block; /* Center the image */
    margin: 1rem auto 0 auto; /* Add spacing */
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =================================== */
/* === NEW PRESENTATION SLIDE STYLES === */
/* =================================== */

.presentation-slide {
    background-color: var(--dark-bg); /* Match the rich dark bg */
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.slide-title {
    color: var(--primary-color-light);
    font-size: 1.3rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.slide-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.slide-body {
    padding-left: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.slide-body-final {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.slide-body li {
    margin-bottom: 1rem;
}

.slide-body .do {
    color: #33b864; /* Brighter Green */
    font-weight: 700;
    margin-right: 8px;
}

.slide-body .dont {
    color: var(--warning-red-text-dark); /* Use variable */
    font-weight: 700;
    margin-right: 8px;
}

/* =================================== */
/* ===    NEW HERO URGENCY STYLES    === */
/* =================================== */

.hero-urgency {
    margin: 2.5rem auto 0 auto;
    max-width: 650px; /* Match the subtitle width */
    background-color: var(--warning-red-bg);
    border: 1px solid var(--warning-red-border);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(5px);
}

.hero-urgency p {
    margin: 0;
    color: var(--warning-red-text-light);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}

.hero-urgency p strong {
    color: var(--warning-red-text-dark);
}

/* =================================== */
/* ===    NEW PRICING PAGE STYLES    === */
/* =================================== */

.pricing-hero {
    text-align: center;
    padding: 4rem 1rem;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

/* Make the "Active" plan stand out */
.pricing-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.3);
}

.pricing-card h3 {
    color: var(--primary-color-light);
    margin-top: 0;
    font-size: 1.8rem;
    text-align: center;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 1rem 0 0.5rem 0;
}
.price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}
.price-desc {
    text-align: center;
    color: var(--text-muted);
    min-height: 60px; /* Keeps cards aligned */
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
    flex-grow: 1; /* Pushes button to bottom */
}
.features-list li {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-left: 30px;
    position: relative;
}
.features-list li::before {
    content: '✔'; /* Checkmark */
    color: #33b864; /* Green */
    position: absolute;
    left: 0;
    top: 0;
}

/* Security Box Style */
.security-box {
    background-color: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0 2rem 0;
}
.security-box h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.security-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.security-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.security-list li strong {
    color: var(--text-color);
}

/* Style for the CTA button on this page */
.pricing-card .cta-button {
    width: 100%;
    text-align: center;
    padding: 1.2rem 1rem;
    box-sizing: border-box; /* Important for width: 100% */
}

/* Grayed-out "disabled" button */
.cta-button.disabled {
    background-color: #3a3a5a;
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}
.cta-button.disabled:hover {
    background-color: #3a3a5a;
    transform: none;
}