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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #fafafa;
}

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

/* Header and Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo a {
    display: block;
}

.nav-logo .logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.nav-contact-link {
    text-decoration: none;
    color: #fff;
    background-color: #ff6b35;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.nav-contact-link:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: #1d1d1f;
    transition: 0.3s;
    border-radius: 1px;
}

/* Main Content */
.main {
    margin-top: 92px;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    text-align: center;
    background: linear-gradient(180deg, #f5f5f7 0%, #fafafa 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d1d1f;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6e6e73;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Email Form */
.hero-email-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 24px;
    justify-content: center;
}

.hero-email-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.hero-email-form input:focus {
    border-color: #ff6b35;
}

.hero-email-form button {
    padding: 14px 28px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-email-form button:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
}

.hero-cta {
    display: inline-block;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.hero-cta:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* Hero Image */
.hero-image {
    max-width: 600px;
    margin: 40px auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Air-Gapped Section */
.airgapped-section {
    padding: 100px 0;
    background-color: #fff;
}

.airgapped-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.airgapped-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.airgapped-text p {
    font-size: 1.125rem;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 20px;
}

.airgapped-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.airgapped-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1.0625rem;
    color: #1d1d1f;
    line-height: 1.5;
}

.airgapped-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #ff6b35;
    border-radius: 50%;
}

.airgapped-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background-color: #fff;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-tagline {
    font-size: 2.25rem;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.3;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Section Common Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1d1d1f;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6e6e73;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #f5f5f7;
}

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

.service-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: #ff6b35;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.service-card p {
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.6;
}

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

/* Edge AI Section */
.edge-ai-section {
    padding: 100px 0;
    background-color: #fff;
}

.edge-ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.edge-ai-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.edge-ai-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.edge-ai-text > p {
    font-size: 1.125rem;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 24px;
}

.edge-ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.edge-feature {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 12px;
}

.edge-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.edge-feature p {
    font-size: 0.9375rem;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

.edge-ai-note {
    font-size: 1rem;
    color: #1d1d1f;
    font-weight: 500;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 143, 101, 0.1) 100%);
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

/* Primary Button */
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background-color: #ff6b35;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.benefit-icon {
    color: #ff6b35;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.benefit-card p {
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #f5f5f7;
}

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

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.125rem;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #fff;
}

.contact-section .section-title {
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item svg {
    color: #ff6b35;
    flex-shrink: 0;
}

.contact-item a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ff6b35;
}

/* Contact Form */
.contact-form {
    background: #f5f5f7;
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
}

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

.contact-form .btn-primary {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: #f5f5f7;
}

.faq-section .section-title {
    margin-bottom: 60px;
}

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

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 500;
    color: #1d1d1f;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #fafafa;
}

.faq-chevron {
    color: #6e6e73;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.7;
}

/* Applications Section */
.applications-section {
    padding: 100px 0;
    background-color: #f5f5f7;
}

.applications-header {
    position: relative;
    margin-bottom: 60px;
    border-radius: 20px;
    overflow: hidden;
}

.applications-header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.applications-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.applications-header-content .section-title {
    color: #fff;
    margin-bottom: 12px;
}

.applications-header-content .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.application-category {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f5f5f7;
}

.application-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.application-item {
    padding: 16px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.application-item:hover {
    background: #f5f5f7;
    transform: translateX(4px);
}

.application-item.featured {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 143, 101, 0.05) 100%);
    border-left: 4px solid #ff6b35;
}

.application-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.application-item p {
    font-size: 0.9375rem;
    color: #6e6e73;
    line-height: 1.5;
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.success-overlay.active {
    display: flex;
}

.success-content {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.success-content svg {
    color: #34c759;
    margin-bottom: 24px;
}

.success-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.success-content p {
    font-size: 1rem;
    color: #6e6e73;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background-color: #1d1d1f;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: #86868b;
    font-size: 0.875rem;
}

/* Hidden Honeypot Field */
.honeypot-field {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .mission-content,
    .about-content,
    .contact-grid,
    .airgapped-content,
    .edge-ai-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text .section-title,
    .airgapped-text .section-title,
    .edge-ai-text .section-title {
        text-align: center;
    }

    .about-text p,
    .airgapped-text p {
        text-align: center;
    }

    .airgapped-list {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main {
        margin-top: 80px;
    }

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

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

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

    .hero-email-form {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-email-form input,
    .hero-email-form button {
        width: 100%;
    }

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

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

    .mission-section,
    .services-section,
    .benefits-section,
    .about-section,
    .contact-section,
    .faq-section,
    .airgapped-section,
    .edge-ai-section,
    .applications-section {
        padding: 60px 0;
    }

    .mission-tagline {
        font-size: 1.75rem;
        text-align: center;
    }

    .contact-form {
        padding: 24px;
    }

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

    .faq-answer p {
        padding: 0 20px 20px;
    }

    .hero-image {
        max-width: 100%;
        margin: 30px auto;
    }

    .applications-header-image {
        height: 200px;
    }

    .applications-header-content {
        padding: 24px;
    }

    .application-category {
        padding: 24px;
    }

    .category-title {
        font-size: 1.25rem;
    }
}

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

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

    .nav-logo .logo-img {
        height: 48px;
    }

    .success-content {
        padding: 40px 24px;
        margin: 20px;
    }
}
