/* Landing Page Body Override */
.landing-page {
    background: #ffffff;
    display: block;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Landing Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.landing-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/* Scrolled header - logo turns purple */
.landing-header.scrolled .landing-logo a {
    color: #667eea;
}

/* Scrolled header - nav turns dark */
.landing-header.scrolled .landing-nav a {
    color: #333;
}

.landing-header.scrolled .landing-nav a:hover {
    color: #667eea;
}

/* Scrolled header - outline button turns purple */
.landing-header.scrolled .btn-outline-white {
    border-color: #667eea;
    color: #667eea;
}

.landing-header.scrolled .btn-outline-white:hover {
    background: #667eea;
    color: white;
}

/* Scrolled header - white button becomes purple gradient */
.landing-header.scrolled .btn-white {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.landing-header.scrolled .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

.landing-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    color: #667eea;
}

.landing-nav {
    display: flex;
    gap: 35px;
}

.landing-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.landing-nav a:hover {
    color: #667eea;
}

.landing-header-actions {
    display: flex;
    gap: 12px;
}

/* Button Styles */
.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 10px 24px;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-white {
    background: white;
    color: #667eea;
    border: 2px solid white;
    padding: 10px 24px;
}

.btn-white:hover {
    background: #f8f9ff;
    border-color: #f8f9ff;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid #ddd;
}

.btn-ghost:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: #667eea;
}

.btn-large {
    align-content: center;
    font-size: 16px;
    width: 200px;
}

.btn-large svg {
    margin-left: 8px;
    vertical-align: middle;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.mobile-nav a:hover {
    background: #f5f5f5;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-content {
    max-width: 650px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Hero CTA button - make it stand out */
.hero-actions .btn-primary {
    background: white;
    color: #667eea;
    border: 2px solid white;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-primary:hover {
    background: #f0f0ff;
    border-color: #f0f0ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-actions .btn-ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.hero-image {
    display: none;
}

/* Dashboard Preview (Decorative) */
.dashboard-preview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.preview-header {
    background: #f5f5f5;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }

.preview-title {
    font-size: 13px;
    color: #999;
}

.preview-content {
    display: flex;
    min-height: 300px;
}

.preview-sidebar {
    width: 60px;
    background: #f8f9fa;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-menu-item {
    height: 30px;
    background: #e9ecef;
    border-radius: 5px;
}

.preview-menu-item.active {
    background: #667eea;
}

.preview-main {
    flex: 1;
    padding: 20px;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.preview-card {
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    opacity: 0.8;
}

.preview-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-row {
    height: 25px;
    background: #f0f0f0;
    border-radius: 4px;
}

/* Trusted Section */
.trusted-section {
    background: #f8f9fa;
    padding: 40px 20px;
}

.trusted-label {
    text-align: center;
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trusted-logo {
    color: #999;
    font-weight: 600;
    font-size: 16px;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 35px 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    border-color: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 220px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #ddd;
    margin-top: 30px;
}

/* Services Section */
.services-section {
    padding: 100px 20px;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.service-image {
    height: 160px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.service-image.copper-sample {
    background: linear-gradient(135deg, #c45d35 0%, #8b4513 100%);
}

.service-image.iron-sample {
    background: linear-gradient(135deg, #4a4a4a 0%, #2d2d2d 100%);
}

.service-image.water-sample {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.service-image.oil-sample {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
}

.service-image.chemical-sample {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.service-content {
    padding: 25px;
}

.service-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-content > p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features li {
    font-size: 12px;
    color: #555;
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 15px;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.processing-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #667eea;
    font-weight: 500;
}

.processing-time svg {
    color: #667eea;
}

.services-cta {
    text-align: center;
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 20px;
}

.about-content .section-title {
    text-align: left;
    font-size: 36px;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
}

.about-list svg {
    color: #28a745;
    flex-shrink: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    max-width: 350px;
}

.about-card-icon {
    margin-bottom: 25px;
}

.about-card-icon svg {
    color: white;
}

.about-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Landing Footer */
.landing-footer {
    background: #1a1a2e;
    padding: 80px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 20px;
}

.footer-brand .landing-logo a {
    color: white;
}

.footer-brand .logo-icon svg {
    color: white;
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-links li:not(:has(a)) {
    color: #999;
    font-size: 14px;
}

.landing-footer .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    max-width: none;
    margin: 0;
    box-shadow: none;
    background: transparent;
}

.landing-footer .footer-bottom p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.team-credits {
    font-size: 13px !important;
    color: #555 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 46px;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-list {
        display: inline-block;
        text-align: left;
    }

    .about-content .btn {
        display: inline-block;
    }

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

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

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand .landing-logo {
        justify-content: center;
    }

    .footer-brand .landing-logo a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .about-card {
        padding: 35px 25px;
    }
}
