/* ============================================
   Custom Pricing Wizard Styles
   You can easily edit colors, fonts, and spacing below
   ============================================ */

/* Color Palette - Modern Premium */
:root {
    /* Primary Brand Colors */
    --primary-color: #161928;
    /* Bright, trustworthy blue */
    --primary-hover: #7c3aed;
    /* Deep blue for interaction */
    --primary-light: #eff6ff;
    /* Very light blue for backgrounds */

    /* Neutral Scale */
    --text-dark: #0f172a;
    /* Deep slate for headings (almost black) */
    --text-body: #334155;
    /* Slate for body text */
    --text-light: #64748b;
    /* Muted slate for secondary text */
    --background: #f8fafc;
    /* Cool white background */
    --card-background: #ffffff;
    /* Pure white */
    --border-color: #e2e8f0;
    /* Subtle border */

    /* Functional Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background-color: var(--background);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header & Navigation */
.header {
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}


.nav-divider {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    display: block !important;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.dropdown-item:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.70) 100%), url('hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #CBD5E1;
    border: 2px solid #CBD5E1;
}

.btn-secondary:hover {
    background-color: rgba(203, 213, 225, 0.15);
    color: white;
    border-color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.about-content h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-background);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card p {
    color: var(--text-light);
}

/* Wizard Section */
.section-wizard {
    background-color: var(--card-background);
}

.wizard-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.wizard-intro-sub {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    width: 16.66%;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Wizard Steps */
.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-question {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.wizard-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.option-label input[type="radio"]:checked~.option-text,
.option-label input[type="checkbox"]:checked~.option-text {
    font-weight: 600;
    color: var(--primary-color);
}

.option-label:has(input:checked) {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.option-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    gap: 1rem;
}

#btn-back {
    background-color: var(--secondary-color);
}

#btn-back:hover {
    background-color: var(--secondary-hover);
}

/* Result Section */
.section-result {
    background-color: var(--card-background);
}

.result-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.result-package {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-explanation {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.result-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background-color: var(--card-background);
    border-radius: 0.5rem;
    text-align: center;
}

.result-features,
.result-addons {
    margin-bottom: 1.5rem;
}

.result-features h4,
.result-addons h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.result-features ul,
.result-addons ul {
    list-style: none;
    padding: 0;
}

.result-features li,
.result-addons li {
    padding: 0.75rem 0;
    padding-left: 0;
    margin-left: 0;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.result-features li:before,
.result-addons li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
    position: relative;
}

.result-special-note {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
}

.result-special-note p {
    margin: 0;
    color: #78350f;
}

.result-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.result-buttons .btn {
    flex: 1;
}

/* Reset button styling */
.btn-reset {
    background-color: #94a3b8;
    color: white;
}

.btn-reset:hover {
    background-color: #64748b;
}

/* Simple List */
.simple-list {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--card-background);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
}

.simple-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.125rem;
    margin: 0;
}

.simple-list li:last-child {
    border-bottom: none;
}


/* About Section */
.section-about {
    background-color: var(--card-background);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.65;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-placeholder {
    font-style: italic;
    color: var(--primary-color);
    background-color: var(--background);
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Contact Section */
.section-contact {
    background-color: var(--background);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input[readonly] {
    background-color: var(--background);
    color: var(--text-light);
}

.contact-form .btn {
    width: 60%;
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.form-success {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background-color: var(--card-background);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-success h3 {
    color: var(--success-color);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #E2E8F0;
}

.footer .container {
    padding-top: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 20px;
}

.footer-social a:hover {
    background-color: white;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-divider {
        font-size: 0;
        color: var(--text-light);
    }

    .nav-divider::before {
        content: '•';
        font-size: 0.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .nav {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    /* Mobile Dropdown Fix */
    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 180px;
        text-align: center;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .card p {
        font-size: 0.95rem;
    }

    .about-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-content p {
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .contact-form .btn {
        width: 100%;
    }

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

    .simple-list {
        padding: 1.5rem;
    }

    .simple-list li {
        font-size: 1rem;
        padding: 0.75rem 0;
    }

    .wizard-container {
        padding: 1.25rem 1rem;
        margin: 0 0.5rem;
    }

    .wizard-question {
        font-size: 1.05rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .option-label {
        padding: 0.75rem;
        align-items: flex-start;
    }

    .option-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .option-label input[type="radio"],
    .option-label input[type="checkbox"] {
        margin-right: 0.75rem;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .wizard-options {
        gap: 0.75rem;
    }

    .wizard-nav {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }

    .wizard-nav button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .result-card,
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .result-package {
        font-size: 1.5rem;
    }

    .result-price {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .result-explanation {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

    .contact-form-editorial .form-row .form-group,
    .contact-form-editorial .form-group,
    .form-row .form-group,
    .form-group {
        margin-bottom: 0.25rem !important;
    }

    .contact-form-editorial label,
    .form-group label {
        margin-bottom: 0.15rem;
        margin-top: 0;
        padding-top: 0;
    }

    .result-buttons {
        flex-direction: column;
    }

    .result-buttons .btn {
        width: 100%;
    }

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

    .progress-text {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header {
        padding: 0.65rem 0;
    }

    .header .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .logo {
        font-size: 1rem;
    }

    .nav {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        line-height: 1.4;
    }

    .hero-buttons {
        gap: 0.5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .cards {
        gap: 1.25rem;
    }

    .card {
        padding: 1.25rem;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.65rem;
    }

    .card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .about-content {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .about-content p {
        margin-bottom: 0.875rem;
    }

    .about-placeholder {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .contact-form {
        padding: 1.25rem 1rem;
    }

    .contact-form .btn {
        width: 100%;
    }

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

    .form-row {
        gap: 1rem;
    }

    .simple-list {
        padding: 1.25rem;
    }

    .simple-list li {
        font-size: 0.9rem;
        padding: 0.65rem 0;
    }

    .form-success {
        padding: 2rem 1.5rem;
    }

    .form-success h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .form-success p {
        font-size: 0.95rem;
    }

    .footer {
        padding: 1.5rem 0;
        font-size: 0.875rem;
    }

    .wizard-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .wizard-container {
        padding: 1rem;
        margin: 0 0.25rem;
        border-radius: 0.75rem;
    }

    .wizard-question {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .option-label {
        padding: 0.65rem;
    }

    .option-text {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .option-label input[type="radio"],
    .option-label input[type="checkbox"] {
        margin-right: 0.65rem;
        width: 16px;
        height: 16px;
    }

    .wizard-options {
        gap: 0.65rem;
    }

    .wizard-nav {
        margin-top: 1.25rem;
        gap: 0.65rem;
    }

    .wizard-nav button {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        min-height: 42px;
    }

    .progress-bar {
        height: 6px;
    }

    .progress-text {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .result-card {
        padding: 1.25rem 1rem;
    }

    .result-package {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .result-price {
        font-size: 1.25rem;
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .result-explanation {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .result-features {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .result-features h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .result-features ul {
        margin-bottom: 0.5rem;
    }

    .result-features li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
        margin-bottom: 0.1rem;
    }

    .result-addons h4 {
        font-size: 1rem;
    }

    .result-addons li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
        margin-bottom: 0.1rem;
    }

    .contact-form {
        padding: 1.25rem 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.65rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Portfolio Section */
.section-portfolio {
    background-color: var(--background);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.portfolio-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: var(--primary-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.portfolio-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--background);
    color: var(--text-light);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

/* Testimonials Section */
.section-testimonials {
    background-color: var(--card-background);
}

.testimonial-card {
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-stars {
    color: var(--warning-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   EDITORIAL REDESIGN STYLES
   Premium, local-first, asymmetrical layouts
   ============================================ */

/* Navigation Polish - Underline Animation */
.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-pill {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
    text-align: center;
}

.nav-pill:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.nav-pill::after {
    display: none;
}

/* ============================================
   Scenario Grid - Editorial Staggered Layout
   ============================================ */
.scenario-section {
    background: var(--card-background);
}

.scenario-intro {
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.scenario-grid {
    display: grid;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.scenario-item {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

.scenario-item:nth-child(even) {
    grid-template-columns: 1.4fr 1fr;
}

.scenario-item:nth-child(even) .scenario-artifact {
    order: 2;
}

.scenario-item:nth-child(even) .scenario-content {
    order: 1;
}

.scenario-artifact {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.artifact-label {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* Dashboard Mini Artifact */
.artifact-dashboard {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.artifact-metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.artifact-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #818cf8;
    font-family: 'Inter', monospace;
}

.artifact-metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.artifact-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 40px;
}

.artifact-bar {
    width: 8px;
    background: linear-gradient(to top, #7c3aed, #6d28d9);
    border-radius: 2px;
    opacity: 0.9;
}

/* Uptime Badge Artifact */
.artifact-uptime {
    text-align: center;
}

.uptime-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid #7c3aed;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.uptime-dot {
    width: 8px;
    height: 8px;
    background: #818cf8;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.uptime-text {
    color: #a5b4fc;
    font-weight: 600;
    font-size: 0.9rem;
}

.uptime-since {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* Workflow Snippet Artifact */
.artifact-workflow {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.workflow-line {
    display: flex;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.workflow-num {
    color: rgba(255, 255, 255, 0.3);
    min-width: 1.5rem;
}

.workflow-check {
    color: #818cf8;
}

.scenario-content h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.scenario-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.scenario-caption {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.scenario-caption::before {
    content: '→';
    color: var(--primary-color);
}

/* ============================================
   Field Note - Editorial Testimonial
   ============================================ */
.field-note-section {
    background: linear-gradient(to right, var(--background) 0%, var(--background) 50%, var(--card-background) 50%, var(--card-background) 100%);
    padding: 5rem 0;
}

.field-note {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.field-note-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    font-weight: 600;
    justify-self: end;
}

.field-note-content {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.field-note-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.field-note-quote {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.field-note-context {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.field-note-source {
    color: var(--text-light);
    font-size: 0.9rem;
}

.field-note-metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.field-note-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
}

.field-note-metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.field-note-placeholder {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    opacity: 0.7;
    text-align: center;
    padding: 1rem;
    background: var(--background);
    border-radius: 6px;
}

/* ============================================
   Boundary Chips - Staggered Layout
   ============================================ */
.boundaries-section {
    background: var(--background);
    padding: 4rem 0;
}

.boundaries-content {
    max-width: 800px;
    margin: 0 auto;
}

.boundaries-header {
    margin-bottom: 2.5rem;
}

.boundaries-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.boundaries-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.boundary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.boundary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-body);
    transition: all 0.2s ease;
}

.boundary-chip:nth-child(2) {
    margin-top: 0.5rem;
}

.boundary-chip:nth-child(4) {
    margin-top: 0.75rem;
}

.boundary-chip-icon {
    color: var(--text-light);
    font-size: 0.85rem;
}

.boundaries-why {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid var(--primary-color);
}

/* ============================================
   Founder Note - About Section
   ============================================ */
.founder-section {
    background: var(--card-background);
    padding: 5rem 0;
}

.founder-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.founder-note {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.founder-note p {
    margin-bottom: 1.5rem;
}

.founder-signature {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-family: 'Georgia', serif;
    font-style: italic;
    color: var(--text-dark);
}

.founder-locale {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.founder-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--background);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 2px dashed var(--border-color);
}

.photo-placeholder-icon {
    font-size: 2rem;
    color: var(--text-light);
    opacity: 0.5;
}

.photo-placeholder-text {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Contact Layout - Split with Sidebar
   ============================================ */
.contact-section {
    background: var(--background);
    padding: 5rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-main h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-main>p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Updated Form Styles - Moved from inline */
.contact-form-editorial {
    background: var(--card-background);
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.contact-form-editorial .form-group {
    margin-bottom: 0.65rem;
}

.contact-form-editorial label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-form-editorial input,
.contact-form-editorial textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form-editorial textarea {
    min-height: 80px;
    resize: vertical;
}

.contact-form-editorial input:focus,
.contact-form-editorial textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-reassurance {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-reassurance::before {
    content: '✓';
    color: var(--success-color);
    font-weight: 600;
}

.contact-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--card-background);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-color);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li::before {
    content: '→';
    color: var(--primary-color);
    flex-shrink: 0;
}

/* ============================================
   Wizard Context - Editorial Centerpiece
   ============================================ */
.wizard-section {
    background: linear-gradient(180deg, var(--card-background) 0%, var(--background) 100%);
    padding: 5rem 0;
    position: relative;
}

.wizard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.wizard-context {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.wizard-context h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.wizard-context p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.wizard-microcopy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.wizard-microcopy::before {
    content: '💡';
}

.wizard-skip {
    text-align: center;
    margin-top: 2rem;
}

.wizard-skip-link {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.wizard-skip-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   Footer Credentials
   ============================================ */
.footer-credentials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-credential {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-credential::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.footer-credential:first-child::before {
    display: none;
}

/* ============================================
   Responsive Adjustments for Editorial Layouts
   ============================================ */
@media (max-width: 900px) {

    .scenario-item,
    .scenario-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .scenario-item:nth-child(even) .scenario-artifact,
    .scenario-item:nth-child(even) .scenario-content {
        order: unset;
    }

    .field-note {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .field-note-label {
        writing-mode: horizontal-tb;
        transform: none;
        justify-self: start;
    }

    .founder-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-aside {
        order: -1;
    }

    .photo-placeholder {
        max-width: 200px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .scenario-grid {
        gap: 3rem;
    }

    .scenario-artifact {
        min-height: 140px;
        padding: 1.25rem;
    }

    .artifact-metric-value {
        font-size: 1.5rem;
    }

    .field-note-content {
        padding: 1.5rem;
    }

    .field-note-quote {
        font-size: 1.1rem;
    }

    .boundary-chips {
        flex-direction: column;
    }

    .boundary-chip:nth-child(2),
    .boundary-chip:nth-child(4) {
        margin-top: 0;
    }

    .wizard-context h2 {
        font-size: 1.75rem;
    }

    .footer-credentials {
        gap: 1rem;
    }
}