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

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --secondary-color: #1D1D1F;
    --accent-color: #10B981;
    --accent-blue: #00D4FF;
    --text-primary: #1D1D1F;
    --text-secondary: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    --gradient-dark: linear-gradient(135deg, #1D1D1F 0%, #2D2D31 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-image {
    /* Logo is 500x500px (square), so we set explicit width */
    height: 500px;
    width: 180px;
    object-fit: contain;
    object-position: left center;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.05);
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Legacy text logo styling - kept for backwards compatibility */
.logo-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button-nav {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 50%, #F0F9FF 100%);
    z-index: -1;
}

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

.hero-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

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

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.cta-button-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-button-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Tech Illustration */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-illustration {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.code-window {
    width: 400px;
    background: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.window-header {
    background: #2D2D31;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.code-content {
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.8;
    color: #E0E0E0;
}

.code-line {
    margin-bottom: 8px;
}

.code-line.indent {
    margin-left: 24px;
}

.keyword {
    color: #FF79C6;
}

.function {
    color: #50FA7B;
}

.string {
    color: #F1FA8C;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

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

.about-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-section .section-title {
    color: white;
}

.about-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.about-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Solutions Section */
.solutions-section {
    background: var(--bg-light);
}

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

.solution-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.solution-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.solution-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.solution-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.6;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Team Section */
.team-section {
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

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

.team-avatar {
    margin-bottom: 24px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.avatar-initials {
    font-size: 42px;
    font-weight: 900;
    color: white;
}

.team-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.team-role {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.team-company {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.team-social {
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.testimonial-stars {
    color: #FFC107;
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 600;
    font-size: 15px;
}

.testimonial-location {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: #0F0F10;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 8px;
}

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

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

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: white;
    font-weight: 900;
}

#successTitle {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

#successMessage {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-stats {
        justify-content: center;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }
}

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

    .logo-image {
        height: 500px;
        width: 150px;
    }

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

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

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

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

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

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .code-window {
        width: 100%;
        max-width: 350px;
    }

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

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
