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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #ffffff;
    font-size: 16px;
}

/* Base anchor styles */
a {
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b71c1c;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2c2c2c;
    font-weight: 400;
    font-size: 1.75rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-logo a {
    color: #2c2c2c;
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    transition: color 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-menu a:hover {
    color: #1f2937;
}

.cta-button {
    background: #d32f2f;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.highlight {
    color: #d32f2f;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-family: 'Georgia', 'Times New Roman', serif;
}

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

.primary-button {
    background: #d32f2f;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

.secondary-button {
    background: white;
    color: #2c2c2c;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.secondary-button:hover {
    border-color: #d32f2f;
    color: #d32f2f;
}

/* Process Header Section */
.process-header {
    padding: 80px 0 60px;
    background: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Process Step Sections - Full-width rows, image fills column */
.process-step {
    width: 100%;
    max-width: 100vw;
    padding: 0;
}

.step-1 {
    background: white;
}

.step-2 {
    background: #fafafa;
}

.step-3 {
    background: white;
}

.step-4 {
    background: #fafafa;
}

.step-5 {
    background: white;
}

.step-6 {
    background: #fafafa;
}

.step-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    min-height: 0;
    height: 560px;
    width: 100%;
}

.step-reverse .step-content {
    grid-column: 2;
    grid-row: 1;
}

.step-reverse .step-image {
    grid-column: 1;
    grid-row: 1;
}

.step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem 3rem clamp(1.5rem, 5vw, 4rem);
    min-height: 0;
    overflow-y: auto;
}

.step-reverse .step-content {
    padding: 3rem clamp(1.5rem, 5vw, 4rem) 3rem 2rem;
}

.step-number {
    color: #000;
    font-size: 3.25rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1;
}

.step-number::after {
    content: ".";
}

.step-content h3 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 0.25rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.step-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.step-image {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #999;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: #e8e8e8;
}

.image-placeholder i {
    font-size: 4rem;
    color: #d32f2f;
    opacity: 0.5;
}

.image-placeholder span {
    font-size: 1.125rem;
    font-weight: 500;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.step-image img,
.step-image video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-features li {
    font-size: 1.125rem;
    line-height: 1.45;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.step-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: bold;
    font-size: 1.125rem;
}

.step-features li strong {
    color: #2c2c2c;
    font-weight: 600;
}

/* Step 5: Deck carousel (same behavior as community carousel) */
.step-5-carousel-image {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.step-5-carousel-image .carousel-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    inset: 0;
    padding: 0;
}

/* Multi-track: three rows stacked */
.step-5-carousel-image .carousel-container-multi {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
    position: relative;
}

.step-5-carousel-image .carousel-row {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}

.step-5-carousel-image .carousel-row-top,
.step-5-carousel-image .carousel-row-bottom {
    flex: 0 0 28%;
}

.step-5-carousel-image .carousel-row-middle {
    flex: 1 1 auto;
    min-height: 0;
}

.step-5-carousel-image .carousel-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.step-5-carousel-image .carousel-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: deck-scroll-left 60s linear infinite;
    will-change: transform;
    width: fit-content;
    height: 100%;
}

.step-5-carousel-image .carousel-track-reverse {
    animation: deck-scroll-right 60s linear infinite;
}

@keyframes deck-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-distance, -1200px));
    }
}

@keyframes deck-scroll-right {
    0% {
        transform: translateX(var(--scroll-distance, -1200px));
    }
    100% {
        transform: translateX(0);
    }
}

.step-5-carousel-image .carousel-row:hover .carousel-track {
    animation-play-state: paused;
}

/* Middle row: full height of track, aspect ratio maintained */
.step-5-carousel-image .carousel-row-middle .carousel-item {
    flex: 0 0 auto;
    height: 100%;
    width: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Top and bottom rows: slightly smaller */
.step-5-carousel-image .carousel-row-top .carousel-item,
.step-5-carousel-image .carousel-row-bottom .carousel-item {
    flex: 0 0 auto;
    height: 85%;
    width: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.step-5-carousel-image .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Step 5: trim vertical space so content fits without scrolling */
.step-5 .step-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.step-5 .step-number {
    margin-bottom: 0.75rem;
}

.step-5 .step-content p {
    margin-bottom: 0.5rem;
}

.step-5 .step-features {
    margin-top: 0.25rem;
    gap: 0.35rem;
}

.step-5 .step-features li {
    line-height: 1.4;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #fafafa;
}

.pricing-content {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.pricing-header p {
    font-size: 1.125rem;
    color: #666;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.pricing-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    text-align: center;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
    gap: 0.25rem;
}

.currency {
    font-size: 2rem;
    font-weight: 400;
    color: #2c2c2c;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.amount {
    font-size: 4rem;
    font-weight: 400;
    color: #2c2c2c;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.pricing-note {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.pricing-feature i {
    color: #d32f2f;
    font-size: 1.125rem;
}

.pricing-feature span {
    color: #666;
    font-size: 1rem;
}

.pricing-button {
    width: 100%;
    justify-content: center;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.contact-text p {
    color: #666;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.contact-email {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
}

.email-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 1px solid #eee;
}

.email-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.email-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.email-link:hover {
    color: #b71c1c;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.footer-brand p {
    color: #9ca3af;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.footer-section a {
    display: block;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-header h2,
    .pricing-header h2,
    .contact-text h2 {
        font-size: 2rem;
    }

    .process-step {
        padding: 0;
    }

    .step-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: auto;
        min-height: auto;
    }

    .step-reverse .step-content {
        grid-column: 1;
        grid-row: 2;
    }

    .step-reverse .step-image {
        grid-column: 1;
        grid-row: 1;
    }

    .step-content {
        padding: 2rem 1.25rem;
        text-align: left;
    }

    .step-reverse .step-content {
        padding: 2rem 1.25rem;
    }

    .step-image {
        position: relative;
        height: 280px;
        min-height: 280px;
    }

    .step-number {
        margin-bottom: 1.5rem;
    }

    .step-content h3 {
        font-size: 2rem;
    }

    .image-placeholder {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        justify-content: center;
    }
}
