* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0a0a;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b6b;
}
.logo img {
    height: 60px;
    width: auto;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #ff6b6b;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}
/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}
.hero-content .btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn:hover {
    background: #e55a5a;
}
.code-snippet {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    margin: 25px auto;
    max-width: 550px;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.85rem;
    color: #ff6b6b;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    border: 1px solid #ff6b6b33;
}
.code-snippet pre {
    margin: 0;
    white-space: pre-wrap;
}
/* About Section */
#about {
    padding: 100px 0;
    background: #111;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ff6b6b;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.about-text p {
    opacity: 0.8;
    margin-bottom: 20px;
}
.about-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-size: cover;
    background: #333 url('/img/screen1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Services Section */
#services {
    padding: 100px 0;
    background: #0a0a0a;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-item {
    text-align: center;
    padding: 30px;
    background: #111;
    border-radius: 10px;
    transition: transform 0.3s;
}
.service-item:hover {
    transform: translateY(-10px);
}
.service-item i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}
.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
/* Portfolio Section */
#portfolio {
    padding: 100px 0;
    background: #111;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.portfolio-item {
    position: relative;
    height: 250px;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.portfolio-item:nth-child(1) {
    background-image: url('/img/screen1.png');
}
.portfolio-item:nth-child(2) {
    background-image: url('/img/screen2.png');
}
.portfolio-item:nth-child(3) {
    background-image: url('/img/screen3.png');
}
.portfolio-item:nth-child(4) {
    background-image: url('/img/screen4.png');
}
.portfolio-item:nth-child(5) {
    background-image: url('/img/screen5.png');
}
.portfolio-item:nth-child(6) {
    background-image: url('/img/screen6.png');
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 107, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
/* Insights Section */
#insights {
    padding: 100px 0;
    background: #0a0a0a;
}
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.kpi-item {
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}
.kpi-item:hover {
    transform: translateY(-5px);
}
.kpi-item i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 10px;
}
.kpi-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.kpi-item p {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4ecdc4;
}
.graphs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.graph-item {
    background: #111;
    padding: 20px;
    border-radius: 10px;
}
.graph-item canvas {
    width: 100% !important;
    height: auto !important;
}
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}
.modal-content {
    max-width: 90%;
    max-height: 90%;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* Footer */
footer {
    background: #000;
    text-align: center;
    padding: 30px 0;
    opacity: 0.7;
}
/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        padding: 20px;
        gap: 10px;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .services-grid,
    .portfolio-grid,
    .graphs-grid,
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    .code-snippet {
        font-size: 0.75rem;
        padding: 12px;
        max-width: 90%;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}