/* Landing Page Styles - Brand Identity Colors */

:root {
    /* Map to Global Design System (base.html) */
    --landing-primary: var(--brand-secondary);
    /* Action Orange */
    --landing-primary-dark: #c2762b;
    /* Calculated manually or use a darker var if available */
    --landing-secondary: #D48231;
    /* Brand Orange for accents */
    --landing-blue: var(--brand-primary);
    /* Trust Blue */
    --landing-cyan: var(--brand-accent);
    /* Accent Cyan */
    --landing-dark: var(--text-main);
    --landing-gray: var(--text-muted);
    --landing-light: var(--bg-soft);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2B5876 0%, #8BB8D1 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
}

/* Interactive Highlights */
.interactive-highlights {
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.highlight-trigger {
    background: none;
    border: none;
    outline: none;
    color: white;
    transition: all 0.3s ease;
}

.highlight-trigger i {
    transition: transform 0.3s ease;
}

.highlight-item.active .highlight-trigger {
    color: var(--brand-secondary);
    border-bottom-color: var(--brand-secondary);
}

.highlight-item.active .highlight-trigger i {
    color: var(--brand-secondary);
}

.highlight-details p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding-right: 1.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 1024px) {

    .hero-subtitle,
    .interactive-highlights {
        margin-right: 0;
        margin-left: 0;
        text-align: right;
    }
}

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

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-end;
    }

    .hero-subtitle {
        margin-right: 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #D48231 0%, #E89A4E 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(212, 130, 49, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 130, 49, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Mockups */
.mockup-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: absolute;
    transition: all 0.3s ease;
}

.mockup-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 200px;
}

.mockup-2 {
    top: 10%;
    right: 5%;
    width: 180px;
    animation: float 3s ease-in-out infinite;
}

.mockup-3 {
    bottom: 10%;
    left: 5%;
    width: 180px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Mobile adjustments for mockups */
@media (max-width: 768px) {
    .mockup-container {
        height: 350px;
    }

    .mockup-card {
        padding: 1.5rem;
    }

    .mockup-1 {
        width: 160px;
    }

    .mockup-2 {
        width: 140px;
        top: 5%;
        right: 2%;
    }

    .mockup-3 {
        width: 140px;
        bottom: 5%;
        left: 2%;
    }

    .mockup-card i {
        font-size: 2rem;
    }

    .mockup-card p {
        font-size: 0.75rem;
    }
}

/* Features Section */
.features-section {
    background: white;
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--landing-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #f0f4f8;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--landing-primary);
    box-shadow: 0 15px 40px rgba(86, 199, 199, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2B5876, #8BB8D1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--landing-dark);
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--landing-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Everything Section */
.everything-section {
    background: linear-gradient(135deg, #f7fafc 0%, #e8f5f5 100%);
    padding: 5rem 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 130, 49, 0.1);
    color: var(--landing-primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--landing-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.showcase-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.showcase-item i {
    font-size: 2rem;
    color: var(--landing-primary);
    flex-shrink: 0;
}

.showcase-item span {
    font-weight: 600;
    color: var(--landing-dark);
    font-size: 0.95rem;
}

.benefits-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--landing-dark);
    font-weight: 500;
}

.benefit-item i {
    color: #48BB78;
    font-size: 1.25rem;
}

.btn-outline {
    background: transparent;
    color: var(--landing-primary-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 2px solid var(--landing-primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--landing-primary);
    color: white;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #2B5876 0%, #8BB8D1 100%);
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-cta {
    background: white;
    color: #D48231;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cta-note {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mockup-container {
        height: 400px;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }
}

/* ===================================
   PREMIUM SAAS ENHANCEMENTS
   =================================== */

/* Glass Morphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.glass-card-hero {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Enhanced Button Interactions */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 130, 49, 0.4),
        0 0 20px rgba(212, 130, 49, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* Enhanced Card Interactions */
.feature-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Dashboard Mockup Styles */
.dashboard-mockup {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mockup-stat-card {
    background: linear-gradient(135deg, #f7fafc 0%, #e8f5f5 100%);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.mockup-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.25rem;
}

.mockup-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mockup-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.mockup-table-header {
    background: #f8fafc;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: right;
}

.mockup-table-header th {
    padding: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.mockup-table-row {
    transition: background 0.15s;
}

.mockup-table-row:hover {
    background: #f8fafc;
}

.mockup-table-row td {
    padding: 0.75rem;
    border-bottom: 1px solid #f0f4f8;
    font-size: 0.85rem;
    color: var(--text-main);
}

.mockup-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.mockup-status.success {
    background: #d1fae5;
    color: #065f46;
}

.mockup-status.pending {
    background: #fef3c7;
    color: #92400e;
}

/* Trust Bar Styles */
.trust-bar {
    background: white;
    padding: 3rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.trust-logo-item {
    width: 120px;
    height: 60px;
    background: #f8fafc;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.trust-logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* FAQ Accordion Styles */
.faq-section {
    background: linear-gradient(135deg, #f7fafc 0%, #e8f5f5 100%);
    padding: 5rem 0;
}

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

.faq-item {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 1.5rem;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .dashboard-mockup {
        padding: 1rem;
    }

    .mockup-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .mockup-stat-card {
        padding: 0.75rem;
    }

    .mockup-stat-value {
        font-size: 1.25rem;
    }

    .mockup-table {
        font-size: 0.75rem;
    }

    .mockup-table-header th,
    .mockup-table-row td {
        padding: 0.5rem;
    }

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

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
}