/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --dark-navy: #1e3a8a;
    --deep-navy: #0f172a;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --border-gray: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--deep-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-primary-small {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.btn-primary-small {
    padding: 0.5rem 1.25rem;
    background: var(--primary-blue);
    color: var(--white) !important;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--deep-navy);
    padding: 180px 0 120px;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.9));
    pointer-events: none;
    z-index: 2;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: hero-slideshow 24s infinite;
    transform: scale(1.1);
}

.hero-slide:nth-child(2) {
    animation-delay: 8s;
}

.hero-slide:nth-child(3) {
    animation-delay: 16s;
}

@keyframes hero-slideshow {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    5%,
    28% {
        opacity: 1;
        transform: scale(1.05);
    }
    38%,
    100% {
        opacity: 0;
        transform: scale(1.0);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 3rem;
}

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

/* Problems Section */
.problems {
    padding: 100px 0;
    background: var(--light-gray);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.problem-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Product Section */
.product {
    padding: 100px 0;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.device-mockup {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.35);
}

.device-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(110%);
}

.overlay-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.device-screen {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    width: 260px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(6px);
}

.screen-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.metric-label {
    font-weight: 600;
    color: var(--gray);
}

.metric-value {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.product-info .section-title {
    text-align: left;
    font-size: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    background: var(--primary-blue);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
}

.feature-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* AI Section */
.ai-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.ai-feature {
    margin-bottom: 2.5rem;
}

.ai-feature h3 {
    font-size: 1.3rem;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
}

.ai-feature p {
    color: var(--gray);
    line-height: 1.8;
}

.chart-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.prediction-chart {
    width: 100%;
    height: auto;
}

.chart-legend {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.legend-line {
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
}

.legend-line.solid {
    background: var(--primary-blue);
}

.legend-line.dashed {
    background: linear-gradient(to right, var(--primary-blue) 50%, transparent 50%);
    background-size: 8px 3px;
}

/* Report Section */
.report-section {
    padding: 100px 0;
}

.report-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pdf-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid var(--border-gray);
}

.pdf-header {
    background: var(--dark-navy);
    color: var(--white);
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.pdf-body {
    padding: 2rem;
}

.pdf-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.pdf-label {
    font-weight: 600;
    color: var(--gray);
}

.pdf-value {
    color: var(--deep-navy);
}

.pdf-chart {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-bar {
    height: 24px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-navy));
    border-radius: 4px;
}

.pdf-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.summary-box {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.summary-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.summary-value.alert {
    color: var(--danger);
}

.report-info .section-title {
    text-align: left;
    font-size: 2rem;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.step {
    flex: 1;
    text-align: center;
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    color: var(--primary-blue);
    margin: 1.5rem 0;
}

.step h3 {
    font-size: 1.2rem;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--gray);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 300;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    border: 1px solid var(--border-gray);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-header {
    padding: 1.75rem 2rem 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
}

.plan-header p {
    margin: 0;
    color: var(--gray);
    line-height: 1.5;
}

.plan-body {
    padding: 1.5rem 2rem;
    flex: 1;
}

.plan-cost {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.plan-cost strong {
    font-size: 1.7rem;
    color: var(--deep-navy);
}

.plan-cost .cost-label {
    font-weight: 600;
    color: var(--primary-blue);
    min-width: 70px;
}

.plan-cost .cost-meta {
    font-size: 0.9rem;
    color: var(--gray);
}

.plan-cost.monthly strong {
    color: var(--primary-blue);
}

.plan-features {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.plan-features li {
    color: var(--deep-navy);
    display: flex;
    gap: 0.4rem;
}

.plan-features li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: 700;
}

.plan-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border-gray);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray);
    line-height: 1.6;
}

.pricing-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-cta .btn-large {
    width: auto;
    min-width: 220px;
}

/* Cases Section */
.cases-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.case-storyboard {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 2.5rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.story-step {
    flex: 1;
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.25rem;
}

.story-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.story-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
}

.story-step p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.95rem;
}

.story-arrow {
    align-self: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.case-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.7));
}

.case-image.public {
    background-image: url('https://images.unsplash.com/photo-1496307042754-b4aa456c4a2d?auto=format&fit=crop&w=900&q=80');
}

.case-image.education {
    background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80');
}

.case-image.industrial {
    background-image: url('https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=900&q=80');
}

.case-content {
    padding: 2rem;
}

.case-category {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-content h3 {
    font-size: 1.4rem;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
}

.case-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.result-item {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.result-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.result-item span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.trust-card {
    text-align: center;
}

.trust-icon {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.trust-card h3 {
    font-size: 1.3rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.trust-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: var(--white);
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--white);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    background: var(--deep-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

    .product-content,
    .ai-content,
    .report-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-info .section-title,
    .report-info .section-title {
        text-align: center;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

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

    .hero {
        padding: 140px 0 80px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .problems-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-storyboard {
        flex-direction: column;
    }

    .story-arrow {
        display: none;
    }

    .pricing-table-header,
    .pricing-row {
        grid-template-columns: 1fr;
    }

    .pricing-label,
    .pricing-value {
        align-items: flex-start;
        text-align: left;
    }

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

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
