/* ------------------- */
/* --- VARIABLES --- */
/* ------------------- */

:root {
    --color-primary: #4F46E5;
    --color-primary-light: #A78BFA;
    --color-dark: #0A0A0A;
    --color-light: #FFFFFF;
    --color-text: #E2E2E2;
    --color-text-muted: #9ca3af;
    --color-gray-medium: #374151;
    --color-bg-dark: #111111; 
    --font-family-body: 'Figtree', sans-serif;
    --font-family-heading: 'Sora', sans-serif;
    --container-width: 1024px;
    --container-padding: 1.5rem;
    --radius: 0.5rem;
    --transition: 0.3s ease;
}

/* ------------------- */
/* --- BASE STYLES --- */
/* ------------------- */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-body);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: var(--font-family-heading);
    color: var(--color-light);
    line-height: 1.2;
    font-weight: 800; /* Using a heavier weight for Sora */
}

h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-light);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ------------------- */
/* --- LAYOUT --- */
/* ------------------- */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container--narrow {
    max-width: 768px;
}

.section {
    padding: 4rem 0;
}

.section--centered {
    display: flex;
    align-items: center;
    min-height: 50vh; /* Ensure it has some height to center within */
    padding: 6rem 0; /* Adjust padding for vertical centering */
}

.section--dark {
    background-color: var(--color-bg-dark);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid--2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.text-center {
    text-align: center;
}

.text-small {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ------------------- */
/* --- COMPONENTS --- */
/* ------------------- */

.button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-light) !important; /* Override for specificity */
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid transparent;
    text-align: center;
}

.button:hover {
    background-color: var(--color-primary-light);
    color: var(--color-dark) !important;
}

.card {
    /* Enhanced Glass effect */
    background-color: rgba(20, 20, 20, 0.4); /* Slightly more transparent */
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.18); /* Brighter border to catch the glow */
    backdrop-filter: blur(12px); /* More blur */
    -webkit-backdrop-filter: blur(12px); /* For Safari support */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 20px rgba(255, 255, 255, 0.06); /* Depth shadow + subtle white glow */
}
/* For cards that need vertical centering */
.card.text-center {
    align-items: center;
}

@media (min-width: 768px) {
    .card { padding: 2rem; }
}

.card--highlight {
    border-color: var(--color-primary);
}

.card__title {
    margin-bottom: 0.5rem;
}

.card > * {
    /* Ensure card content sits above the glow pseudo-element */
    position: relative;
    z-index: 1;
}

/* --- HEADER --- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.header__logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__logo-icon {
    height: 1.5rem; /* Match font size */
    width: auto;
}

.header__nav-wrapper {
    /* This wrapper is primarily for desktop layout */
    display: contents; /* On mobile, act as if the wrapper doesn't exist */
}

.header__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header__nav a {
    padding: 1rem;
    color: var(--color-text);
}

.header__cta {
    display: none;
}

.header__cta--mobile {
    display: block; /* Show in mobile menu */
    font-weight: 600;
}

.header__menu-toggle {
    background: none;
    border: none;
    color: var(--color-light);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.header.is-open .header__nav {
    display: flex;
}

@media (min-width: 768px) {
    .header__nav-wrapper {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .header__nav {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        background-color: transparent;
        padding: 0;
        border-top: none;
        gap: 2rem;
    }
    .header__nav a {
        padding: 0;
    }
    .header__cta {
        display: inline-block;
    }
    .header__cta--mobile {
        display: none; /* Hide in desktop nav */
    }
    .header__menu-toggle {
        display: none;
    }
}

/* --- HERO --- */

.hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero__title {
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 auto 2rem;
}

.hero__cta {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}
@media (min-width: 768px) {
    .hero__subtitle { font-size: 1.125rem; }
}


/* --- SECTION --- */

.section__title {
    text-align: center;
    margin-bottom: 1rem;
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin: 0 auto 3rem;
}

/* --- PROCESS STEP --- */

.process-step {
    text-align: center;
}

.process-step__number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.process-step__title {
    margin-bottom: 0.5rem;
}

/* --- PRICING --- */

.pricing {
    margin: 2rem 0;
}

.pricing__amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-light);
}

.pricing__period {
    color: var(--color-text-muted);
}

.features-list {
    margin: 2rem auto;
    text-align: left;
    display: inline-block;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list svg {
    color: var(--color-primary-light);
    flex-shrink: 0;
}


/* --- FAQ --- */

.faq {
    max-width: 768px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.faq__item:last-child {
    border-bottom: none;
}

.faq__question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-light);
    list-style: none; /* Remove marker */
}

.faq__question::-webkit-details-marker {
    display: none; /* Hide marker for Safari */
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding-top: 1rem;
    color: var(--color-text-muted);
}

/* --- CONTACT SECTION --- */

.contact-alternative {
    margin-top: 1.5rem;
    color: var(--color-text-muted);
}

.contact-alternative a {
    color: var(--color-primary-light);
    font-weight: 600;
}

.contact-alternative a:hover {
    text-decoration: underline;
}

/* --- FOOTER --- */

.footer {
    padding: 4rem 0;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers flex items on the cross-axis */
    gap: 1.5rem; /* Consistent gap for all screen sizes */
    text-align: center;
}

.footer__logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__logo-icon {
    height: 1.25rem;
    width: auto;
}

.footer__text {
    max-width: none;
    margin-bottom: 0;
}

.footer__privacy-text {
    margin-top: 0.5rem;
    max-width: 45ch;
}

/* --- KICKOFF FORM --- */

.kickoff-form__step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kickoff-form__indicator-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kickoff-form__indicator {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.kickoff-form__indicator.is-inactive {
    background-color: var(--color-gray-medium);
    border: 2px solid var(--color-text-muted);
    color: var(--color-text-muted);
}

.kickoff-form__indicator.is-active {
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary-light);
    color: var(--color-light);
}

.kickoff-form__connector {
    width: 2px;
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.kickoff-form__content {
    flex-grow: 1;
}

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

.form-label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 0.5rem; 
}

.form-input, .form-textarea {
    width: 100%;
    background-color: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: var(--color-text);
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-light);
}

.payment-tab-group {
    margin-bottom: 1.5rem; 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.5rem; 
    border-radius: var(--radius); 
    background-color: var(--color-bg-dark); 
    padding: 0.25rem;
}

.payment-tab {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    background-color: transparent;
    color: var(--color-text);
}

.payment-tab.active {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.button.is-disabled {
    background-color: var(--color-gray-medium);
    color: var(--color-text-muted);
    cursor: not-allowed;
    pointer-events: none;
}

/* --- KICKOFF UTILITY STYLES --- */

.kickoff-progress-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.kickoff-progress-bar__bar {
    width: 100%;
    background-color: #1f2937;
    border-radius: 9999px;
    height: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kickoff-progress-bar__fill {
    background-color: #4f46e5;
    height: 100%;
    border-radius: 9999px;
}

.kickoff-form-grid {
    display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem;
}
/* --- KICKOFF FORM STYLES (Replaces Tailwind) --- */

.kickoff-body {
    font-family: 'Inter', sans-serif;
    background-color: #0A0A0A;
    color: #E2E2E2;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.kickoff-container {
    max-width: 56rem; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .kickoff-container {
        padding-top: 6rem; /* md:py-24 */
        padding-bottom: 6rem;
    }
}

.kickoff-form-card {
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(17, 17, 17, .4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem; /* p-8 */
    border-radius: 1rem; /* rounded-2xl */
}

@media (min-width: 768px) {
    .kickoff-form-card {
        padding: 2.5rem; /* md:p-10 */
    }
}

.kickoff-glow-button {
    box-shadow: 0 0 15px 0 rgba(79, 70, 229, .4);
    transition: all .3s ease-in-out;
}

.kickoff-glow-button:hover:not(:disabled) {
    box-shadow: 0 0 25px 5px rgba(79, 70, 229, .5);
    transform: scale(1.05);
}

.kickoff-glow-button:disabled {
    background-color: #374151;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.kickoff-glow-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.kickoff-file-input::file-selector-button {
    background-color: transparent;
    border: 1px solid #4f46e5;
    color: #a7a7a7;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-weight: 600;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.kickoff-file-input::file-selector-button:hover {
    background-color: rgba(79, 70, 229, .2);
    color: #fff;
}

.kickoff-payment-tab {
    transition: all .2s ease-in-out;
    border-radius: 0.375rem; /* rounded-md */
    padding: 0.5rem 1rem; /* py-2 px-4 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* font-semibold */
    border: none;
    cursor: pointer;
}

.kickoff-payment-tab.active {
    background-color: #4f46e5;
    color: #fff;
}

.kickoff-payment-tab:not(.active) {
    background-color: #1f2937;
    color: #d1d5db;
}

.kickoff-form-message {
    display: none;
    padding: 1rem;
    border-radius: .5rem;
    margin-top: 1rem;
    text-align: center;
}

.agreement-terms {
    font-size: 1rem; /* Enlarged from 14px to 16px */
    color: #d1d5db;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Increased gap for readability */
}

.agreement-terms p {
    text-align: justify;
    line-height: 1.7; /* Improved line height for justified text */
    max-width: none; /* Override default paragraph width for full justification */
}

/* --- GRADIENTS & WRAPPERS --- */

.gradient-wrapper {
    /* A more prominent gradient that starts with the theme color and fades to the dark background over a longer distance. */
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.5) 0%, #0A0A0A 85%);
    position: relative;
    overflow: hidden; /* To contain any pseudo-elements if added later */
}

/* Ensure the second section within the wrapper has a transparent background to show the gradient */
.gradient-wrapper .section {
    background-color: transparent;
}

/* A new gradient for the "Process" and "FAQ" sections */
.gradient-bg-1 {
    background: linear-gradient(180deg, #0A0A0A 0%, #1a183d 50%, #0A0A0A 100%);
}

/* A new gradient for the "Contact" section to lead into the footer */
.gradient-bg-2 {
    background: linear-gradient(180deg, #111111 0%, rgba(79, 70, 229, 0.5) 150%);
    padding-bottom: 6rem; /* Add extra padding to show off the gradient */
}

/* A more dynamic, "magical" glow for the live demo section */
.magical-glow-bg {
    position: relative;
    overflow: hidden; /* Keep the glow contained */
}

.magical-glow-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%; /* Make it larger than the card */
    padding-bottom: 120%; /* Maintain aspect ratio for a circle */
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: pulse-glow 8s infinite ease-in-out;
    z-index: 0; /* Place it behind the content */
}

@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
}

/* --- BACK TO TOP BUTTON --- */

.back-to-top {
    background-color: var(--color-primary);
    color: var(--color-light) !important;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- FLOATING ACTION BUTTONS --- */

.floating-buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.75rem;
}

.whatsapp-fab {
    background-color: #25D366;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    padding: 0.6rem; /* Adjust padding for the icon */
}
.whatsapp-fab__icon {
    width: 100%;
    height: 100%;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}