/* General Styling & Variables */
html {
    scroll-behavior: smooth;
}
:root {
    --hero-bg: #2C246E;
    --cta-green: #10B981; 
    --dark-text: #1F2937;
    --light-text: #6B7280;
    --background-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

h1 { font-size: 2.8rem; line-height: 1.2; }
h2 { text-align: center; font-size: 2.2rem; margin-bottom: 50px; }
section { padding: 80px 0; }

/* --- NEW HEADER & NAVIGATION --- */
.main-header {
    background: var(--hero-bg);
    padding: 15px 0;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px; /* Adjust height as needed */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #E0E7FF;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-button {
    background-color: var(--cta-green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #059669;
    color: var(--white) !important;
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0; 
    background-color: var(--hero-bg);
    color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content { flex: 1.1; }
.hero-content h1 { color: var(--white); }
.hero-content p { font-size: 1.1rem; color: #E0E7FF; margin-bottom: 30px; }
.hero-visual { flex: 0.9; }
.hero-visual img { max-width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(76, 81, 191, 0.4)); }

/* Waitlist Form */
.waitlist-form { display: flex; gap: 10px; }
.waitlist-form input { flex-grow: 1; padding: 15px; border: 1px solid #6D28D9; border-radius: 8px; font-size: 1rem; }
.waitlist-form button { background-color: var(--cta-green); color: var(--white); border: none; padding: 15px 25px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.waitlist-form button:hover { background-color: #059669; }
.form-message { margin-top: 10px; font-weight: 600; }
.form-message.success { color: #A7F3D0; }
.form-message.error { color: #FECACA; }

/* --- HOW IT WORKS SECTION --- */
.how-it-works { background-color: var(--white); padding: 80px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.step h3 { font-size: 1.5rem; margin-top: 20px; }
.step-icon { height: 80px; width: auto; }

/* --- "PERFECT FOR" CAROUSEL (Reverted) --- */
.perfect-for {
    background-color: var(--background-light);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 900px; /* You can adjust the max-width of the card here */
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.persona-card {
    flex: 0 0 100%; /* Each card takes up 100% of the container width */
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin: 0; /* No margin needed for single-view */
    padding: 30px;
    box-sizing: border-box;
}

.persona-header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.persona-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.persona-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.persona-header span {
    color: var(--light-text);
    font-weight: 500;
    font-size: 1rem;
}

.persona-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.persona-body p {
    font-size: 1rem;
    margin: 0;
}

.challenge, .solution {
    padding: 20px;
    border-radius: 8px;
}

.challenge {
    background-color: #FFFBEB; /* Light yellow */
    border: 1px solid #FDE68A;
}

.solution {
    background-color: #F0FDF4; /* Light green */
    border: 1px solid #A7F3D0;
}

.challenge h4 {
    color: #B45309;
    margin: 0 0 10px 0;
    font-size: 1.05rem;
}

.solution h4 {
    color: #065F46;
    margin: 0 0 10px 0;
    font-size: 1.05rem;
}

.carousel-buttons {
    text-align: center;
    margin-top: 30px;
}

.carousel-button {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background: var(--hero-bg);
    color: var(--white);
    border-color: var(--hero-bg);
}
.carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Final CTA Section --- */
.cta { background-color: var(--hero-bg); color: var(--white); text-align: center; }
.cta h2 { color: var(--white); }
.cta p { max-width: 600px; margin: 0 auto 30px auto; color: #E0E7FF; }
.cta .waitlist-form { max-width: 500px; margin: 0 auto; }
.cta .waitlist-form button { background-color: var(--cta-green); color: var(--white); }
.cta .waitlist-form button:hover { background-color: #059669; }

/* --- NEW FOOTER --- */
footer {
    background-color: var(--background-light);
    text-align: center;
    padding: 40px 0;
    color: var(--light-text);
    border-top: 1px solid var(--border-color);
}
.footer-social {
    margin-bottom: 20px;
}
.footer-social span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-text);
}
.footer-social a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    text-decoration: none;
    margin-left: 10px;
}
.footer-social a:hover {
    text-decoration: underline;
}
.copyright {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplifies nav on mobile, can add a hamburger menu later */
    .hero .container { flex-direction: column; }
    .steps { grid-template-columns: 1fr; gap: 60px; }
    .waitlist-form { flex-direction: column; }
    .persona-body { grid-template-columns: 1fr; }
}

/* --- PRICING PAGE STYLES --- */
.pricing-page .pricing-subtitle, .faq-page .faq-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text);
    margin-top: -30px;
    margin-bottom: 50px;
}
.pricing-table-container {
    overflow-x: auto; /* For responsiveness on small screens */
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.95rem;
}
.pricing-table th, .pricing-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}
.pricing-table th {
    font-size: 1.2rem;
}
.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
}
.price-row td {
    font-size: 1.5rem;
    font-weight: 700;
}
.price-row small {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--light-text);
}
.pricing-table .section-header td {
    background-color: var(--background-light);
    font-weight: 700;
    text-align: left;
    color: var(--hero-bg);
}
.pricing-table small {
    color: var(--light-text);
}

/* --- FAQ PAGE STYLES --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-container details {
    background: var(--background-light);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}
.faq-container summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
}
.faq-container summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-container details[open] summary::after {
    transform: rotate(45deg);
}
.faq-container details p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--light-text);
}

/* --- PRICING PAGE TOGGLE --- */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--light-text);
}
.toggle-container span.active {
    color: var(--dark-text);
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--cta-green);
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.pricing-callout {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: var(--light-text);
}
#price-pro .savings, #price-business .savings {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cta-green);
}

.price-row del {
    color: #9CA3AF; /* A lighter, less aggressive grey */
    margin-right: 8px; /* Adds a little space between the old and new price */
    font-weight: 400; /* Makes the old price less prominent */
}
