/* Mining & geology landing — aligns with site theme */
:root {
    --mg-ink: #0f172a;
    --mg-body: #475569;
    --mg-border: #e2e8f0;
    --mg-bg-alt: #f8fafc;
}

/* Global Section Spacing */
.section {
    padding: 80px 0;
}

.mg-section-alt {
    background: var(--mg-bg-alt);
}

.section-header {
    margin-bottom: 50px;
}

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

.mg-lead {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

.mg-callout {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--mg-ink);
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    border-radius: 0.5rem;
}

.mg-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

.mg-img-wrap {
    text-align: center;
    margin: 2rem 0;
}

.mg-note-banner {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f0f9ff;
    border-radius: 1rem;
}

.mg-note-banner p {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
}

.mg-stat-band {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem;
    border-radius: 1rem;
    margin: 3rem 0;
}

.mg-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mg-stat-cell {
    text-align: center;
}

.mg-stat-num {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.mg-stat-label {
    font-size: 1.125rem;
    color: #374151;
    font-weight: 600;
}

.mg-stat-hint {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.mg-stat-disclaimer {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-top: 1.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.mg-cross {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 0.95rem;
    color: var(--mg-body);
    line-height: 1.65;
}

.mg-cross a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dashboard-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.mg-final-cta {
    padding: 4rem 0;
    background: linear-gradient(150deg, #0f172a 0%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.mg-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.mg-final-cta .container {
    position: relative;
    z-index: 1;
}

.mg-final-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.mg-final-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.mg-final-cta p {
    color: #94a3b8;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.mg-final-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mg-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    background: #0ea5e9;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.mg-btn-primary:hover {
    background: #0284c7;
    color: #fff;
}

.mg-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.mg-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.consultation-form-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.form-submit-wide {
    width: 100%;
    margin-top: 1rem;
}

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

/* Hero — no background video */
.vision-hero {
    padding: 8rem 0 5.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: linear-gradient(160deg, #ffffff 0%, #f0f9ff 55%, #eff6ff 100%);
}

.vision-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.vision-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: #eff6ff;
    border: none;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.vision-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--mg-ink);
    margin-bottom: 1.25rem;
}

.vision-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--mg-body);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Content Sections */
.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.content-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Use Case Cards */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.use-case-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 1.5rem;
    stroke: #64748b;
    opacity: 0.8;
}

.use-case-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.use-case-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
}

/* Industries Section */
.industries-container {
    text-align: center;
    margin-bottom: 3rem;
}

.industries-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 2rem auto 3rem;
}

.industries-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.industry-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
}

.industry-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
}

/* Case Studies */
.case-study {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 3rem;
}

.case-study-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.case-study-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.case-study-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.case-study-meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.case-study-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 2rem;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
    margin: 2rem auto;
    max-width: 900px;
}

.stat-box {
    text-align: center;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.case-study-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Technology Stack */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.tech-category h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

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

.tech-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 1rem;
}

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

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
}

.why-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.why-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.8;
    color: #6b7280;
}

/* Consultation Form */
.consultation-section {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 1.5rem;
    padding: 4rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .vision-hero {
        padding: calc(4rem + 25px) 0 4rem;
        padding-top: calc(4rem + 25px) !important;
    }
    
    .vision-hero-badge {
        margin-top: 0;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .vision-hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .vision-hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .content-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-text h2 {
        font-size: 1.75rem;
    }
    
    .content-image iframe {
        min-height: 500px;
        height: auto;
    }
    
    .content-image,
    .case-study-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        display: block;
    }
    
    .industries-image-wrapper iframe {
        min-height: 2800px;
        height: auto;
    }
    
    .case-study-image iframe {
        min-height: 1200px;
        height: auto;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .step-description {
        font-size: 0.9375rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study {
        padding: 2rem;
    }
    
    .case-study-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-content h3 {
        font-size: 1.5rem;
    }
    
    .case-study-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .vision-hero-title {
        font-size: 1.75rem;
    }
    
    .vision-hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .step-title {
        font-size: 1.125rem;
    }
    
    .content-image iframe {
        height: 400px !important;
    }
    
    .content-image,
    .case-study-image {
        margin-left: -40px;
        margin-right: -40px;
    }
    
    .case-study-image iframe {
        height: 1100px !important;
    }
    
    .industries-image-wrapper iframe {
        height: 2600px !important;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-section {
        padding: 2rem 1.5rem;
    }
    
    .section {
        padding: 50px 0;
    }
}
