/* Index Page Specific Styles - Solann Ecosystem */

/* Hero Section */
.hero-section {
    padding: 3rem 0 5rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 580px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    z-index: 1;
    filter: blur(30px);
}

.hero-dashboard-preview {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), var(--glow-shadow);
    max-width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.hero-dashboard-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* Sections styling */
section {
    padding: 5rem 0;
    width: 100%;
}

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

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* AI Rise section grid */
.ai-rise-grid {
    margin-bottom: 2rem;
}

.journey-infographic-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: var(--glow-shadow);
}

.journey-infographic {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.ai-rise-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.ai-rise-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Standards cards */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.standard-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.standard-card:hover {
    background: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

.standard-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.standard-title {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #0f172a;
}

.standard-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Solutions Matrix Table */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--glow-shadow);
    max-width: 100%;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 750px;
    table-layout: auto;
}

.matrix-table th, .matrix-table td {
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    white-space: normal;
    word-wrap: break-word;
}

.matrix-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
}

.matrix-table tbody tr:last-child td {
    border-bottom: none;
}

.matrix-table tbody tr:hover {
    background: rgba(241, 245, 249, 0.4);
}

.highlight-row {
    background: rgba(79, 70, 229, 0.02);
}

.text-gradient-bold {
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Detailed Solutions Grid */
.detail-grid {
    margin-bottom: 3.5rem;
}

.detail-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.detail-content p {
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

.detail-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.detail-image-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: var(--glow-shadow);
    width: 100%;
}

.detail-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Features checklist */
.features-list {
    list-style: none;
    margin-top: 1rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list li i {
    color: var(--color-success);
    margin-top: 0.25rem;
}

/* Web Core Vitals progress bars */
.cwv-progress-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
    width: 100%;
}

.cwv-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.cwv-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.cwv-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #334155;
}

.cwv-limit {
    font-size: 0.88rem;
    color: var(--color-success);
    font-weight: 600;
}

.cwv-bar-bg {
    background: #e2e8f0;
    height: 7px;
    border-radius: 4px;
    overflow: hidden;
}

.cwv-bar-fill {
    background: var(--gradient-primary);
    height: 100%;
    border-radius: 4px;
}

/* Credibility / Team info */
.team-container {
    margin-bottom: 2rem;
}

.team-avatar-box {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.team-avatar-border {
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    border: 2px dashed rgba(79, 70, 229, 0.2);
    animation: rotate 60s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.team-avatar-glow {
    position: absolute;
    width: 270px;
    height: 270px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 75%);
    filter: blur(15px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.team-avatar {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06), var(--glow-shadow);
    object-fit: cover;
    z-index: 2;
}

.team-bio h3 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    color: #0f172a;
}

.team-role {
    font-size: 1.05rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.team-desc {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
}

/* Custom quote container */
.quote-card {
    background: #ffffff;
    border-left: 4px solid var(--color-accent);
    padding: 1.2rem 1.6rem;
    border-radius: 0 12px 12px 0;
    margin: 1.2rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.015);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.quote-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.6;
}

.quote-author {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    display: block;
    font-weight: 600;
}

/* Grid comparison table */
.comparison-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--glow-shadow);
    max-width: 100%;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
    table-layout: auto;
}

.comp-table th, .comp-table td {
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    white-space: normal;
    word-wrap: break-word;
}

.comp-table th {
    background: #e2e8f0;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
}

.comp-table td {
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.comp-table td:first-child, .comp-table th:first-child {
    font-weight: 700;
    color: var(--text-main);
    background: #f8fafc;
}

.solann-highlight-col {
    background: rgba(99, 102, 241, 0.03) !important;
    color: var(--text-main) !important;
    border-left: 1px solid rgba(99, 102, 241, 0.15);
    border-right: 1px solid rgba(99, 102, 241, 0.15);
    font-weight: 500;
}

.solann-highlight-header {
    background: rgba(99, 102, 241, 0.08) !important;
    color: var(--text-main) !important;
    border-top: 3px solid var(--color-primary);
    border-left: 1px solid rgba(99, 102, 241, 0.2);
    border-right: 1px solid rgba(99, 102, 241, 0.2);
}

.check-icon {
    color: var(--color-success);
    font-size: 1.15rem;
}

.cross-icon {
    color: var(--text-dim);
    font-size: 1rem;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.process-step {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.process-step:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

.process-step::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1rem;
    z-index: 10;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Lead Registration Form */
.contact-section-container {
    margin-bottom: 2rem;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.15);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.contact-detail-text span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail-text strong {
    font-size: 0.98rem;
    color: var(--text-main);
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-control {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
    background: #ffffff;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 0.8rem;
}

/* Success notification message box */
.notification-box {
    margin-top: 1.2rem;
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    font-size: 0.92rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-success {
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: var(--color-success);
}

.notification-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #dc2626;
}

/* FAQ Accordion */
.faq-accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.faq-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

.faq-header {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-card.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-card.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.04);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 1.5rem 1.3rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    border-top: 1px solid transparent;
    line-height: 1.6;
}

.faq-card.active .faq-body {
    max-height: 500px;
}

.faq-card.active .faq-content {
    border-top-color: var(--border-color);
}

/* AI Chat Simulator Styles */
.ai-chat-simulator {
    border: 1px solid var(--border-color) !important;
    font-family: var(--font-body);
}

.chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.chat-dot.red { background-color: #ef4444; }
.chat-dot.yellow { background-color: #f59e0b; }
.chat-dot.green { background-color: #10b981; }

.small-badge {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 9999px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

.chat-bubble {
    max-width: 85%;
    line-height: 1.5;
    position: relative;
}

.chat-message.user .chat-bubble {
    background-color: #f1f5f9 !important;
    border-top-left-radius: 2px !important;
}

.chat-message.ai .chat-bubble {
    background-color: #eef2ff !important;
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-top-left-radius: 2px !important;
}

.citation-link {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 700;
    vertical-align: super;
}

.citation-badge {
    background-color: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.citation-badge:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.xxs-text {
    font-size: 0.78rem;
    line-height: 1.4;
}

/* Partner logo grayscale and hover effect */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-smooth);
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Testimonial styling */
.italic-text {
    font-style: italic;
}
