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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f0f23;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 14px;
}

@media (min-width: 576px) {
    body {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

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

@media (min-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

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

.nav-brand h2 {
    color: #8b5cf6;
    font-weight: 700;
    font-size: 1.8rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8b5cf6;
}

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

@media (min-width: 768px) {
    .hamburger {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
    }
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #1f1f3a 70%, #2d1b69 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }
}

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

@media (min-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.highlight {
    color: #f0abfc;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (min-width: 576px) {
    .hero p {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.2rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

@media (min-width: 576px) {
    .btn {
        width: auto;
        padding: 12px 30px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #8b5cf6;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.automation-graphic {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 280px;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .automation-graphic {
        max-width: 400px;
        height: 320px;
    }
}

@media (min-width: 768px) {
    .automation-graphic {
        max-width: 450px;
        height: 360px;
    }
}

@media (min-width: 1024px) {
    .automation-graphic {
        max-width: 500px;
        height: 400px;
    }
}

.automation-container {
    position: relative;
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

/* Central Hub */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-core {
    position: relative;
    animation: rotate 20s linear infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(240, 171, 252, 0.3);
    border-radius: 50%;
    animation: pulse-ring 3s ease-in-out infinite;
}

/* Process Nodes */
.process-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-node:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    border-color: rgba(240, 171, 252, 0.6);
}

.process-node::before {
    content: attr(data-label);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-node:hover::before {
    opacity: 1;
}

.node-1 {
    top: 20%;
    left: 15%;
    animation: node-float 4s ease-in-out infinite;
}

.node-2 {
    top: 20%;
    right: 15%;
    animation: node-float 4s ease-in-out infinite 1s;
}

.node-3 {
    bottom: 20%;
    left: 15%;
    animation: node-float 4s ease-in-out infinite 2s;
}

.node-4 {
    bottom: 20%;
    right: 15%;
    animation: node-float 4s ease-in-out infinite 3s;
}

/* Connections */
.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.connection-line {
    stroke-dasharray: 10 5;
    animation: connection-flow 3s linear infinite;
}

/* Data Particles */
.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #f0abfc;
    border-radius: 50%;
    box-shadow: 0 0 10px #f0abfc;
    opacity: 0;
}

.particle-1 {
    top: 25%;
    left: 20%;
    animation: particle-flow-1 4s ease-in-out infinite;
}

.particle-2 {
    top: 25%;
    right: 20%;
    animation: particle-flow-2 4s ease-in-out infinite 1s;
}

.particle-3 {
    bottom: 25%;
    left: 20%;
    animation: particle-flow-3 4s ease-in-out infinite 2s;
}

.particle-4 {
    bottom: 25%;
    right: 20%;
    animation: particle-flow-4 4s ease-in-out infinite 3s;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

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

@keyframes pulse-ring {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }
}

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

@keyframes connection-flow {
    0% { stroke-dashoffset: 15; }
    100% { stroke-dashoffset: 0; }
}

@keyframes particle-flow-1 {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    25% { opacity: 1; transform: translate(100px, 50px); }
    50% { opacity: 1; transform: translate(150px, 100px); }
    75% { opacity: 0; transform: translate(200px, 150px); }
}

@keyframes particle-flow-2 {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    25% { opacity: 1; transform: translate(-100px, 50px); }
    50% { opacity: 1; transform: translate(-150px, 100px); }
    75% { opacity: 0; transform: translate(-200px, 150px); }
}

@keyframes particle-flow-3 {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    25% { opacity: 1; transform: translate(100px, -50px); }
    50% { opacity: 1; transform: translate(150px, -100px); }
    75% { opacity: 0; transform: translate(200px, -150px); }
}

@keyframes particle-flow-4 {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    25% { opacity: 1; transform: translate(-100px, -50px); }
    50% { opacity: 1; transform: translate(-150px, -100px); }
    75% { opacity: 0; transform: translate(-200px, -150px); }
}

/* Services Section */
.services {
    padding: 60px 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #1f1f3a 100%);
}

@media (min-width: 768px) {
    .services {
        padding: 80px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .section-header p {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 1.2rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .services-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid .service-card:nth-child(4) {
        grid-column: 1 / 2;
        margin-left: auto;
        margin-right: 1rem;
    }

    .services-grid .service-card:nth-child(5) {
        grid-column: 2 / 3;
        margin-left: 1rem;
        margin-right: auto;
    }
}

.service-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

@media (min-width: 576px) {
    .service-card {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .service-card {
        padding: 2.5rem;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(145deg, #334155 0%, #475569 100%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.service-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

/* Solutions Section */
.solutions {
    padding: 60px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

@media (min-width: 768px) {
    .solutions {
        padding: 80px 0;
    }
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .solutions-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.solution-item {
    padding: 2rem;
    border-left: 4px solid #8b5cf6;
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.solution-item:hover {
    background: linear-gradient(145deg, #334155 0%, #475569 100%);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.solution-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.solution-item p {
    color: #cbd5e1;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 30%, #2d1b69 70%, #3730a3 100%);
    color: white;
    position: relative;
}

@media (min-width: 768px) {
    .benefits {
        padding: 80px 0;
    }
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .benefits-grid {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.benefit-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f0abfc;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(240, 171, 252, 0.3);
}

.benefit-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #d1d5db;
}

/* About Section */
.about {
    padding: 60px 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f172a 100%);
}

@media (min-width: 768px) {
    .about {
        padding: 80px 0;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
        text-align: left;
    }
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
}

@media (min-width: 576px) {
    .about-stats {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .about-stats {
        justify-content: flex-start;
    }
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #8b5cf6;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

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

.team-placeholder {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.team-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1a1a2e 100%);
}

@media (min-width: 768px) {
    .contact {
        padding: 80px 0;
    }
}

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

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #f0abfc;
    text-decoration: underline;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #475569;
    border-radius: 10px;
    font-size: 1rem;
    background: #0f172a;
    color: #e2e8f0;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.contact-form .btn {
    width: auto;
    min-width: 200px;
    margin-top: 1rem;
    align-self: flex-start;
}

@media (max-width: 576px) {
    .contact-form .btn {
        width: 100%;
        min-width: unset;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0f0f23 0%, #000000 100%);
    color: white;
    padding: 2rem 0 1rem;
}

@media (min-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
        text-align: left;
    }
}

.footer-brand h3 {
    color: #f0abfc;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.footer-column h4 {
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #f0abfc;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: #64748b;
}

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

    .services-grid .service-card:nth-child(5) {
        grid-column: 1 / 3;
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid .service-card:nth-child(4) {
        grid-column: auto;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }
}

/* Process Node Responsive Adjustments */
@media (max-width: 767px) {
    .process-node {
        width: 60px;
        height: 60px;
    }

    .process-node::before {
        font-size: 0.7rem;
        bottom: -30px;
    }
}

@media (max-width: 479px) {
    .process-node {
        width: 50px;
        height: 50px;
    }

    .process-node::before {
        font-size: 0.6rem;
        bottom: -25px;
    }

    .central-hub svg {
        width: 40px;
        height: 40px;
    }

    .pulse-ring {
        width: 60px;
        height: 60px;
    }
}