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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #000;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 40px;
    width: auto;
    background: transparent;
    mix-blend-mode: multiply;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a237e;
}

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

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

.nav-menu a:hover {
    color: #1a237e;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-contact {
    background: #03a9f4;
    color: white;
}

.btn-contact:hover {
    background: #0288d1;
    transform: translateY(-2px);
}

.btn-primary {
    background: #1a237e;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: #1a237e;
    border: 2px solid #1a237e;
}

.btn-secondary:hover {
    background: #1a237e;
    color: white;
}

.btn-orange {
    background: #ff6f00;
    color: white;
}

.btn-orange:hover {
    background: #e65100;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: #1a237e;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #03a9f4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-logo {
    height: 7rem;
    width: auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

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

/* Geometric Shapes */
.hero-visual {
    position: relative;
    height: 400px;
}

.geometric-shape {
    position: absolute;
    background: linear-gradient(135deg, #03a9f4 0%, #0288d1 100%);
    border-radius: 8px;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 50px;
    left: 50px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 200px;
    right: 100px;
    transform: rotate(30deg);
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 100px;
    left: 150px;
    transform: rotate(60deg);
    animation-delay: 4s;
}

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

/* Service Information Section */
.service-info {
    background: #f5f5f5;
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.info-card h3 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a237e;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #555;
}

/* Services Showcase Section */
.services-showcase {
    background: #f8f9fa;
    padding: 6rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.showcase-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.showcase-item:hover {
    transform: translateY(-10px);
}

.mockup-frame {
    border: 4px solid #1a237e;
    border-radius: 8px;
    margin: 1rem;
    overflow: hidden;
}

.mockup-content {
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mockup-content h4 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.cost-rescue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.sre-service {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.ai-foundation {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.security {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
}

.savings-chart, .uptime, .alerts, .node, .status-item {
    background: #1a237e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Key Services Cards */
.key-services {
    padding: 6rem 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 2px solid transparent;
}

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

.service-card.featured {
    border-color: #03a9f4;
    position: relative;
}

.service-card.featured::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #03a9f4;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card h3 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #03a9f4;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin: 1rem 0;
}

.service-card li {
    padding: 0.3rem 0;
    color: #555;
}

.service-card li::before {
    content: "✓";
    color: #4caf50;
    font-weight: bold;
    margin-right: 0.5rem;
}

.guarantee {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
}

/* Case Studies Section */
.case-studies {
    background: #f8f9fa;
    padding: 6rem 0;
}

.case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-study {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.case-study h4 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.result {
    color: #ff6f00;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #1a237e;
    color: white;
}

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

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    color: #333;
}

.contact-form h4 {
    margin-bottom: 1.5rem;
    color: #1a237e;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: #1a237e;
    color: white;
    padding: 4rem 0 2rem;
}

.address-link a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.address-link a:hover {
    color: #03a9f4;
}

.map-icon {
    opacity: 0;
    margin-right: 5px;
    transition: opacity 0.3s ease;
}

.address-link a:hover .map-icon {
    opacity: 1;
}

.contact-details a {
    color: #03a9f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0288d1;
    text-decoration: underline;
}

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

.footer-section h4 {
    color: #03a9f4;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #03a9f4;
}

.partner-logos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-logos span {
    background: #03a9f4;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

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

.footer-form input,
.footer-form textarea {
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-family: inherit;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.tagline {
    color: #03a9f4;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Technology Stack Section */
.tech-stack {
    background: white;
    padding: 4rem 0 2rem;
}

.tech-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-stack-flow {
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    position: relative;
}

.tech-stack-flow::before,
.tech-stack-flow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-stack-flow::before {
    left: 0;
    background: linear-gradient(to right, #1a1a2e, transparent);
}

.tech-stack-flow::after {
    right: 0;
    background: linear-gradient(to left, #16213e, transparent);
}

.icon-row {
    display: flex;
    margin: 40px 0;
    white-space: nowrap;
    width: max-content;
}

.row-1 {
    animation: flow-left 40s linear infinite;
}

.row-2 {
    animation: flow-right 35s linear infinite;
}

.row-3 {
    animation: flow-left 45s linear infinite;
}

.row-4 {
    animation: flow-right 30s linear infinite;
}

@keyframes flow-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes flow-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    font-weight: 600;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tech-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tech-icon:hover {
    transform: scale(1.1);
}

.tech-icon {
    position: relative;
}

.tech-icon[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .case-studies-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin: 0 8px;
    }
    
    .tech-icon img {
        width: 30px;
        height: 30px;
    }
    
    .tech-stack-flow {
        padding: 40px 0;
    }
}