/* --- Global Styles & Variables --- */
:root {
    --bg-color: #0f0f1a;
    --card-bg-color: #1a1a2e;
    --primary-accent-color: #00e5ff;
    --secondary-accent-color: #ff00f7;
    --text-color: #e0e0e0;
    --text-muted-color: #a0a0c0;
    --border-color: rgba(0, 229, 255, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* --- Header --- */
header {
    text-align: center;
    margin-bottom: 4rem;
}

header h1 {
    font-size: 2.8rem;
    background: linear-gradient(90deg, var(--primary-accent-color), var(--secondary-accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-color);
    max-width: 800px;
    margin: 0 auto;
}

/* --- Workflow Section --- */
.workflow {
    margin-bottom: 4rem;
}

.workflow h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-accent-color);
}

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

.workflow .step {
    background-color: var(--card-bg-color);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.workflow .step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.workflow .step p {
    color: var(--text-muted-color);
    margin-bottom: 1rem;
}

.workflow code {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--primary-accent-color);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
}

/* --- Features Section --- */
.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.features-grid {
    display: flex;         /* Change: Use Flexbox instead of Grid */
    flex-wrap: wrap;       /* Allow items to wrap to the next line */
    justify-content: center; /* Center items horizontally */
    gap: 1.5rem;           /* Keep the gap between cards */
}

.feature-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    opacity: 0; /* For JavaScript fade-in effect */
    transform: translateY(20px); /* For JavaScript slide-up effect */
}

.feature-card:hover {
    transform: scale(1.03);
    border-color: var(--primary-accent-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-accent-color);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.feature-card ul {
    list-style-type: none;
    padding-left: 0;
}

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

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-accent-color);
    font-weight: bold;
}

/* Special styling for Live Access card */
.feature-card.live-feature {
    border-color: var(--secondary-accent-color);
}
.feature-card.live-feature h3 {
    color: var(--secondary-accent-color);
}
.feature-card.live-feature ul li::before {
    color: var(--secondary-accent-color);
    content: '●'; /* Live indicator */
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Workflow Section --- */
.workflow {
    margin-bottom: 4rem;
}

.workflow h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-accent-color);
}

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

.workflow .step {
    background-color: var(--card-bg-color);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Added for better alignment of button */
    flex-direction: column; /* Arrange content vertically */
}

.workflow .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.workflow .step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.workflow .step p {
    color: var(--text-muted-color);
    margin-bottom: 1rem;
    flex-grow: 1; /* Pushes button to bottom if cards have varying text height */
}

/* --- NEW Button Style --- */
.demo-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--primary-accent-color);
    color: var(--bg-color); /* Dark text on light button background */
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem; /* Space above button */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.demo-button:hover {
    background-color: #ffffff;
    transform: scale(1.03);
}

/* Specific style for the dashboard button */
.demo-button.dashboard-button {
    background-color: var(--secondary-accent-color);
}

.demo-button.dashboard-button:hover {
    background-color: #ffffff;
    color: var(--secondary-accent-color);
}

/* Remove or comment out the old code tag style if no longer needed elsewhere */
/* .workflow code {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--primary-accent-color);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
} 
*/


/* --- Purchase Section --- */
.purchase-section {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.purchase-section h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.purchase-section p {
    font-size: 1.1rem;
    color: var(--text-muted-color);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.purchase-button {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    background-color: #28a745; /* Green color for purchase action */
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.purchase-button:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-3px);
}