/* 
    ClickDone.ai - Main Stylesheet
    Confined all styling to this central file for better maintainability.
*/

:root {
    --matte-black: #1a1a1a;
    --gloss-black: #2c2c2c;
    --pure-white: #ffffff;
    --off-white: #f5f5f5;
    --accent-yellow: #FFD700;
    --cta-teal: #02C2C2;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--pure-white);
    background: var(--gloss-black);
}

h1,
h2,
h3,
.logo {
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: -0.02em;
}

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

/* --- Navigation --- */
.nav {
    background: var(--matte-black);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pure-white);
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.logo::after {
    display: none;
}

.logo-click,
.logo-done {
    color: var(--pure-white);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.cta-button) {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:not(.cta-button):hover {
    color: var(--accent-yellow);
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.nav-links .cta-button {
    background: transparent;
    border: 1px solid var(--pure-white);
    box-shadow: none;
}

.nav-links .cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    box-shadow: none;
}

.nav-links .current-page {
    color: var(--accent-yellow) !important;
    pointer-events: none;
}

.nav-links .current-page::after {
    width: 100% !important;
    background-color: var(--accent-yellow) !important;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--pure-white);
    text-shadow: none;
    cursor: pointer;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
}

.submit-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 48px;
    animation: subtle-pulse 2s infinite;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    background: var(--cta-teal);
    border: none;
    color: var(--pure-white);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 184, 0.3);
}

.submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.submit-button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none;
}

@keyframes subtle-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 184, 184, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(0, 184, 184, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 184, 184, 0); }
}

/* --- Hero Sections --- */
.hero, .lead-magnet-hero, .calculator-hero {
    padding: 12rem 0 8rem;
    background: var(--matte-black);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before, .lead-magnet-hero::before, .calculator-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(150,150,150,0.15)' stroke-width='1.5'%3E%3Cpath d='M100,400 L300,400 C350,400 350,200 400,200 L600,200 C650,200 650,400 700,400 L900,400 C950,400 950,600 1000,600 L1200,600' /%3E%3Cpath d='M300,400 C350,400 350,600 400,600 L600,600' /%3E%3Cpath d='M600,200 C650,200 650,100 700,100 L900,100' /%3E%3Cpath d='M900,400 C950,400 950,300 1000,300 L1100,300' /%3E%3Cpath d='M600,600 C650,600 650,700 700,700 L1000,700' /%3E%3C/g%3E%3Cg fill='rgba(150,150,150,0.2)'%3E%3Ccircle cx='100' cy='400' r='6' /%3E%3Ccircle cx='300' cy='400' r='6' /%3E%3Ccircle cx='400' cy='200' r='6' /%3E%3Ccircle cx='600' cy='200' r='6' /%3E%3Ccircle cx='700' cy='400' r='6' /%3E%3Ccircle cx='900' cy='400' r='6' /%3E%3Ccircle cx='1000' cy='600' r='6' /%3E%3Ccircle cx='1200' cy='600' r='6' /%3E%3Ccircle cx='400' cy='600' r='6' /%3E%3Ccircle cx='600' cy='600' r='6' /%3E%3Ccircle cx='700' cy='100' r='6' /%3E%3Ccircle cx='900' cy='100' r='6' /%3E%3Ccircle cx='1000' cy='300' r='6' /%3E%3Ccircle cx='1100' cy='300' r='6' /%3E%3Ccircle cx='700' cy='700' r='6' /%3E%3Ccircle cx='1000' cy='700' r='6' /%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    background-size: 200% auto;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    animation: subtleFloat 30s ease-in-out infinite;
}

.hero .container, .lead-magnet-hero .container, .calculator-hero .container {
    position: relative;
    z-index: 1;
}

.hero h1, .lead-magnet-hero h1, .calculator-hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    white-space: pre-wrap;
}

.hero h1::after {
    content: '|';
    position: absolute;
    right: 0;
    background: var(--matte-black);
    width: 100%;
    animation: typing 4s steps(50) forwards, blink 1s infinite;
}

.hero p, .lead-magnet-hero p, .calculator-hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--off-white);
}

.hero p, .hero .cta-button {
    opacity: 0;
    animation: fadeIn 0.5s ease-out 4s forwards;
}

.hero .cta-button {
    animation-delay: 4.2s;
}

@keyframes subtleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-1%, -0.5%) scale(1.01); }
    50% { transform: translate(0.5%, 1%) scale(1.005); }
    75% { transform: translate(-0.5%, -1%) scale(1.01); }
}

@keyframes typing { to { width: 0 } }
@keyframes blink { 50% { color: transparent } }
@keyframes fadeIn { to { opacity: 1 } }

/* --- Sections Common --- */
.section-heading-container {
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

h2.section-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    text-align: center;
}

h2.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-yellow);
}

.section-intro {
    font-size: 1.3rem;
    color: var(--off-white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* --- Benefits Section --- */
.benefits {
    padding: 10rem 0;
    background: var(--matte-black);
}

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

.feature-card {
    background: var(--gloss-black);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card svg {
    stroke: var(--pure-white);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
    color: var(--pure-white);
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--off-white);
    line-height: 1.6;
}

.solution-examples {
    margin-top: 4rem;
    text-align: center;
}

.solution-examples h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--pure-white);
}

.solution-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.solution-item {
    background: var(--gloss-black);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-size: 1.1rem;
    color: var(--off-white);
    flex-basis: calc(33.333% - 1.5rem);
    min-width: 280px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.solution-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--pure-white);
    color: var(--pure-white);
}

.benefits-footer {
    margin-top: 4rem;
    text-align: center;
}

.emphasis-text {
    font-size: 1.2rem;
    color: var(--pure-white);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Stats & Testimonials --- */
.testimonials {
    padding: 8rem 0;
    background: var(--matte-black);
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--off-white);
}

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

.testimonial-card {
    background: var(--gloss-black);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--off-white);
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--pure-white);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--off-white);
}

/* --- Mission & Guarantee --- */
.mission, .guarantee {
    padding: 10rem 0;
    background: var(--gloss-black);
}

.mission-content, .guarantee-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--off-white);
    text-align: center;
}

.origin-story {
    background: var(--matte-black);
    padding: 3rem;
    border-radius: 8px;
}

.origin-story h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.origin-story p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--off-white);
}

.guarantee-content {
    max-width: 800px;
    text-align: center;
}

.guarantee-content p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--off-white);
}

.founder-quote {
    margin-top: 4rem;
    padding: 2rem;
    border-left: 4px solid var(--accent-yellow);
    background: var(--matte-black);
    text-align: left;
}

.founder-quote p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.founder-quote cite {
    font-size: 1.1rem;
    color: var(--off-white);
    font-style: normal;
}

/* --- Team Section --- */
.team {
    padding: 8rem 0;
    background: var(--gloss-black);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--off-white);
    font-size: 1.2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

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

.member-avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--matte-black);
    border: 3px solid var(--matte-black);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member:hover .member-avatar {
    box-shadow: 0 0 25px rgba(255, 253, 244, 0.4);
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--pure-white);
}

.role {
    display: block;
    color: var(--pure-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.expertise {
    color: var(--off-white);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Tools Section --- */
.tools-section {
    padding: 8rem 0;
    background: var(--gloss-black);
}

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

.tool-card {
    background: var(--matte-black);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.tool-header {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.tool-badge {
    background: var(--pure-white);
    color: var(--matte-black);
    width: 120px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-card h3 {
    font-size: 1.8rem;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.tool-subtitle {
    font-size: 1rem;
    color: var(--off-white);
    margin-bottom: 2rem;
}

.tool-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tool-benefits li {
    margin-bottom: 0.8rem;
    color: var(--off-white);
    font-size: 1rem;
    line-height: 1.5;
}

.tool-details {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.tool-time, .tool-delivery {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--off-white);
    font-size: 0.9rem;
}

.tool-time svg, .tool-delivery svg {
    width: 18px;
    height: 18px;
    stroke: var(--pure-white);
}

.tool-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--pure-white);
    margin-top: auto;
    min-width: 200px;
}

.tool-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.journey-note {
    text-align: center;
    font-size: 1.1rem;
    color: var(--off-white);
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Contact & Forms --- */
.contact-form, .ideation-form-section, .calculator-form-section {
    padding: 10rem 0;
    background: var(--matte-black);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(2, 194, 194, 0.05)' stroke-width='1.5'%3E%3Cpath d='M100,400 L300,400 C350,400 350,200 400,200 L600,200 C650,200 650,400 700,400 L900,400 C950,400 950,600 1000,600 L1200,600' /%3E%3Cpath d='M300,400 C350,400 350,600 400,600 L600,600' /%3E%3Cpath d='M600,200 C650,200 650,100 700,100 L900,100' /%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.form-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--off-white);
    margin: 1rem 0 2rem;
}

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

.form-input, input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--off-white);
    background: transparent;
    color: var(--pure-white);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
}

select option {
    background: var(--matte-black);
    color: var(--pure-white);
}

.form-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--pure-white);
    margin-top: 1.5rem;
    font-style: italic;
    background: rgba(2, 194, 194, 0.15);
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

.form-feedback {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-feedback.success {
    display: block;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.form-feedback.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: var(--pure-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

[data-loading="true"] .spinner {
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg) } }

/* --- Multi-step Forms (Ideation & Calculator) --- */
.ideation-form-container, .calculator-form-container {
    background-color: var(--matte-black);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    background-color: var(--gloss-black);
    border-radius: 8px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    height: 8px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--cta-teal);
    border-radius: 8px;
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.calculator-form-container .progress-bar-fill {
    background-color: var(--accent-yellow);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.other-input {
    display: none;
    margin-top: 0.8rem;
}

.hidden-element {
    display: none;
}

.cross-promotion-banner {
    background: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 3rem;
    text-align: center;
}

.cross-promotion-banner p {
    color: var(--off-white);
    margin-bottom: 1rem;
}

.cross-promotion-banner strong {
    color: var(--accent-yellow);
}

.cross-promotion-banner a {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.prev-btn, .next-btn {
    padding: 12px 25px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.prev-btn {
    background-color: var(--gloss-black);
    color: var(--off-white);
    border-color: #555;
}

.next-btn {
    background-color: var(--cta-teal);
    color: var(--pure-white);
}

/* Calculator Specific Form Elements */
.checkbox-group, .radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.checkbox-item, .radio-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.checkbox-item:hover, .radio-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cta-teal);
}

.checkbox-item label, .radio-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.quantity-frequency-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

/* Loading Overlay (Calculator) */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.loading-overlay.active {
    display: flex;
}

.loading-container {
    max-width: 600px;
    width: 100%;
    background: var(--matte-black);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-step {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    opacity: 0.4;
    transition: all 0.5s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.progress-step.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1rem;
    padding-right: 1rem;
}

.step-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.progress-step.active .step-status {
    background: var(--pure-white);
}

.progress-step.completed .step-status {
    background: var(--success-green);
    border-color: var(--success-green);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 8rem 0;
    background: var(--gloss-black);
}

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

.faq-item {
    margin-bottom: 1.5rem;
    background: var(--gloss-black);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    position: relative;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pure-white);
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--accent-yellow);
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--off-white);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Security Section --- */
.security-section {
    padding: 6rem 0;
    background: var(--matte-black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.security-item svg {
    width: 40px;
    height: 40px;
    stroke: var(--cta-teal);
    margin-bottom: 1rem;
}

.roi-badge {
    display: inline-block;
    background: rgba(2, 194, 194, 0.1);
    color: var(--cta-teal);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(2, 194, 194, 0.2);
}

/* --- Footer & Misc --- */
.footer {
    background: var(--matte-black);
    padding: 3rem 0;
    font-size: 0.9rem;
}

.company-info {
    font-size: 0.8rem;
    color: var(--off-white);
    opacity: 0.7;
    margin-top: 0.8rem;
    line-height: 1.6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer a {
    color: var(--off-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: var(--cta-teal);
}

.footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--cta-teal);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--cta-teal);
    color: var(--pure-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--matte-black);
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    font-size: 0.95rem;
    color: var(--off-white);
    max-width: 600px;
}

.cookie-content a {
    color: var(--accent-yellow);
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background: var(--cta-teal);
    color: var(--pure-white);
    border: 1px solid var(--cta-teal);
}

.cookie-btn-accept:hover {
    background: #02abab;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--off-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Legal Pages Styles --- */
.main-content {
    padding: 8rem 0;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.policy-section p, .policy-section ul {
    margin-bottom: 1rem;
    color: var(--off-white);
}

.policy-section ul {
    margin-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

/* --- Mobile Nav --- */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--pure-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay a {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-overlay .cta-button {
    border: 2px solid var(--cta-teal);
    background: var(--cta-teal);
    margin-top: 2rem;
}

/* --- Media Queries --- */
.automation-vs-staff {
    padding: 8rem 0;
    background: var(--gloss-black);
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .hero h1, .lead-magnet-hero h1, .calculator-hero h1 {
        font-size: 2.5rem;
    }

    .hero p, .lead-magnet-hero p, .calculator-hero p {
        font-size: 1.2rem;
    }

    h2.section-heading {
        font-size: 2.5rem;
    }

    .section-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

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

    .solution-list {
        flex-direction: column;
        align-items: center;
    }

    .solution-item {
        width: 100%;
        flex-basis: 100%;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
}

/* --- Benefit Items & Form Checkmarks --- */
.form-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--off-white);
    font-size: 1rem;
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--success-green);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .form-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
