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

:root {
    --primary-dark: #0A2540;
    --primary-white: #FFFFFF;
    --accent-purple: #7C3AED;
    --accent-purple-hover: #6D28D9;
    --text-grey: #333;
    --light-grey: #f8f9fa;
    --border-grey: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-grey);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Header and Navigation */
.header {
    background: var(--primary-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-grey);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.btn-demo {
    background: var(--accent-purple);
    color: var(--primary-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: var(--accent-purple-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--accent-purple-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a5c 100%);
    color: var(--primary-white);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(255, 255, 255, 0.05) 35px, rgba(255, 255, 255, 0.05) 70px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(255, 255, 255, 0.05) 35px, rgba(255, 255, 255, 0.05) 70px);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.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.6;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

/* Problem Section */
.problem {
    background: var(--light-grey);
}

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

.problem-card {
    background: var(--primary-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.icon-badge {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.problem-card h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.problem-statement {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.solution-highlight {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-purple);
    margin-top: 1.5rem;
}

.solution-highlight strong {
    color: var(--accent-purple);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.solution-highlight p {
    margin: 0;
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy {
    background: var(--primary-white);
}

.philosophy-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.pillar {
    padding: 2.5rem;
    border-left: 5px solid var(--accent-purple);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    position: relative;
}

.pillar-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-purple);
    color: var(--primary-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.pillar h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.4;
}

.pillar em {
    color: var(--accent-purple);
    font-style: normal;
    font-weight: 600;
}

.pillar p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pillar-result {
    background: rgba(124, 58, 237, 0.1);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    font-style: italic;
}

.citation {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: normal;
}

/* Solution Section */
.solution {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a5c 100%);
    color: var(--primary-white);
    position: relative;
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
    pointer-events: none;
}

.solution .section-title {
    color: var(--primary-white);
    position: relative;
    z-index: 1;
}

.solution-intro {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 4rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.solution-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.solution-point {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.solution-point:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.solution-point h4 {
    color: var(--primary-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.solution-point p {
    line-height: 1.7;
}

.solution-point strong {
    color: #c4b5fd;
}

/* Services Section */
.services {
    background: var(--light-grey);
}

.services-intro {
    text-align: center;
    font-size: 1.15rem;
    max-width: 700px;
    margin: -1rem auto 4rem;
    color: var(--text-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--primary-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent-blue);
    color: var(--primary-white);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.service-badge.coming {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.service-card.featured {
    border: 3px solid var(--accent-purple);
}

.service-card.coming-soon {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--border-grey);
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card h4 {
    color: var(--accent-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-tagline {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-grey);
}

.service-features, .service-details {
    margin: 2rem 0;
}

.service-features h5, .service-details h5 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-card li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.6;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-ideal {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pilot-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--accent-purple);
}

.pilot-cta a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-purple);
}

.pilot-cta a:hover {
    border-bottom-color: var(--accent-purple-hover);
}

/* About Section */
.about {
    background: var(--primary-white);
}

.about-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: var(--light-grey);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit:hover {
    background: #f5f3ff;
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefit p {
    color: var(--text-grey);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tech-guarantee {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-radius: 12px;
    border: 2px solid var(--accent-purple);
    text-align: center;
}

.tech-guarantee h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.tech-guarantee p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-grey);
}

.tech-guarantee strong {
    color: var(--accent-purple);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a5c 100%);
    color: var(--primary-white);
}

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

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hidden {
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-grey);
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--primary-white);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    opacity: 0.9;
}

/* Email option styling */
.email-option {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.email-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--accent-purple-hover);
    text-decoration: underline;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    color: var(--primary-white);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-steps {
    margin-bottom: 2.5rem;
}

.contact-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

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

.contact-step p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-step strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #4dabf7;
}

.contact-cta {
    margin-top: 2.5rem;
    padding: 2rem;
    background: rgba(0, 123, 255, 0.15);
    border-radius: 10px;
    border-left: 4px solid var(--accent-blue);
}

.contact-cta h4 {
    color: var(--primary-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-cta p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.contact-cta strong {
    color: #4dabf7;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--primary-white);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-email {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-email:hover {
    color: var(--accent-purple);
    border-bottom: 1px solid var(--accent-purple);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .icon-badge {
        font-size: 2.5rem;
    }
    
    .problem-card {
        padding: 2rem;
    }
    
    .pillars {
        grid-template-columns: 1fr;
    }
    
    .pillar {
        padding: 2rem;
    }
    
    .pillar-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .solution-points {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .benefits {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .benefit {
        padding: 1.5rem;
    }
    
    .tech-guarantee {
        padding: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .problem-card,
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .pillar {
        padding: 1.5rem;
    }
    
    .tech-guarantee {
        padding: 1.5rem;
    }
    
    .tech-guarantee h3 {
        font-size: 1.4rem;
    }
    
    .tech-guarantee p {
        font-size: 1rem;
    }
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}