/* ===================================
   REALIQUEST LANDING PAGE - CAROUSEL + CARDS
   =================================== */

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
    transition: opacity 0.2s ease;
}

.header-logo a:hover {
    opacity: 0.8;
}

.logo-icon {
    font-size: 2rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #8B4513;
}

.nav-link-cta {
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* === PAGE WRAPPER === */
.page-wrapper {
    min-height: calc(100vh - 60px);
    overflow-x: hidden;
    width: 100%;
}

/* === HERO CAROUSEL === */
.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, #FFF8E7 0%, #F4E8D0 100%);
    overflow: hidden;
    padding: 4rem 0;
    min-height: 600px;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.carousel-track {
    position: relative;
    min-height: 500px;
    height: auto;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem;
    max-width: 100%;
}

.slide-content.slide-hero {
    grid-template-columns: 1fr;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.slide-text {
    z-index: 2;
}

.slide-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    border: 1px solid #DEB887;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    outline: none;
}

.slide-title:focus {
    outline: none;
}

.gradient-text {
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 50%, #DEB887 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.gradient-text::selection {
    background: transparent;
    -webkit-text-fill-color: transparent;
}

.gradient-text::-moz-selection {
    background: transparent;
    -webkit-text-fill-color: transparent;
}

.slide-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2rem;
}

.slide-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    color: #8B4513;
    border: 2px solid #DEB887;
}

.btn-secondary:hover {
    background: #FFF8E7;
    border-color: #CD853F;
}

.slide-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-mockup {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-stat {
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #DEB887;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 280px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.mockup-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEB887;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B4513;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #DEB887;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #8B4513;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: #94a3b8;
}

.dot.active {
    background: #8B4513;
    width: 32px;
    border-radius: 6px;
}

/* === CONTAINER === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* === CARDS ROW (3 CARDS) === */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* === INFO CARD STYLES === */
.info-card {
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid #DEB887;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.08);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.15);
    border-color: #CD853F;
}

.card-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.card-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.card-list li {
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* === SECTIONS === */
.how-it-works {
    padding: 6rem 2rem;
    background: url('/images/realiquest.hero.png') center center / cover no-repeat;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 248, 231, 0.72);
    z-index: 1;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.core-features {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.info-card.featured {
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
}

/* === USE CASES - 2 COLUMN GRID === */
.use-cases-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #FFF8E7 0%, #FAF0E6 100%);
}

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

.use-case-card {
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid #DEB887;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: #DEB887;
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.1);
    transform: translateY(-4px);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.use-case-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEB887;
}

.use-case-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
}

.use-case-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.use-case-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.use-case-list li {
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
    margin-bottom: 0.75rem;
}

.use-case-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: 700;
}

.card-link {
    color: #8B4513;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.card-link:hover {
    color: #CD853F;
}

/* === TEMPLATE BENEFITS === */
.template-benefits {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.benefit-card {
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid #DEB887;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.15);
    border-color: #DEB887;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.benefit-stat {
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-text {
    display: block;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === STATS SECTION === */
.stats-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF8E7 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0;
}

/* === CTA SECTION === */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #FFF8E7 0%, #FAF0E6 100%);
}

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

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary, .btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta-primary.large {
    padding: 1.25rem 2.5rem;
}

.btn-cta-ghost.large {
    padding: 1.25rem 2.5rem;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.4);
}

.btn-cta-ghost {
    background: transparent;
    color: #8B4513;
    border: 2px solid #DEB887;
}

.btn-cta-ghost:hover {
    background: #f8fafc;
    border-color: #DEB887;
}

.cta-fine-print {
    color: #94a3b8;
    font-size: 0.9375rem;
}

/* === FOOTER === */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.footer-tagline {
    color: #94a3b8;
    line-height: 1.7;
    max-width: 320px;
}

.footer-company {
    margin-top: auto;
}

.footer-company p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: #64748b;
}

.company-tagline {
    font-style: italic;
}

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

.footer-heading {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #8B4513;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #8B4513;
    color: white;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-copyright a {
    color: #8B4513;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .slide-visual {
        display: none;
    }

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

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

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

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

    .mockup-stat {
        min-width: unset;
        width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    .carousel-track {
        min-height: 400px;
    }
}

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

    .slide-content {
        padding: 1.5rem 0.5rem;
    }

    .slide-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .slide-description {
        font-size: 1rem;
    }

    .slide-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    .carousel-btn.prev {
        left: 0.5rem;
    }

    .carousel-btn.next {
        right: 0.5rem;
    }

    .carousel-container {
        padding: 0 0.5rem;
    }

    .carousel-track {
        min-height: 500px;
    }

    .hero-carousel {
        padding: 2rem 0;
        min-height: auto;
    }

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

    .section-description {
        font-size: 1.125rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary, .btn-cta-ghost {
        width: 100%;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .mockup-stat {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .stat-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .info-card, .use-case-card, .benefit-card {
        padding: 2rem 1.5rem;
    }

    .card-icon, .use-case-icon, .benefit-icon {
        font-size: 2.5rem;
    }

    .use-case-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.75rem;
    }

    .slide-description {
        font-size: 0.9375rem;
    }

    .slide-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .carousel-track {
        min-height: 550px;
    }

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

    .section-description {
        font-size: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .how-it-works, .core-features, .use-cases-section, .template-benefits, .stats-section, .cta-section {
        padding: 4rem 1rem;
    }
}
