* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3436;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

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

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #6c5ce7;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo span {
    color: #2d3436;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: #6c5ce7;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6c5ce7;
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.nav-cta {
    background: #6c5ce7;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.3s;
}

.nav-cta:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
}

/* Page Header (inner pages) */
.page-header {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(160deg, #f8f9ff 0%, #eef0ff 40%, #fff 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 0.8rem;
}

.page-header h1 span {
    color: #6c5ce7;
}

.page-header p {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 12rem 2rem 6rem;
    background: linear-gradient(160deg, #f8f9ff 0%, #eef0ff 40%, #fff 100%);
    position: relative;
}

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

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2d3436;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: #6c5ce7;
}

.hero-text p {
    font-size: 1.15rem;
    color: #636e72;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    background: #6c5ce7;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.hero-cta:hover {
    background: #5a4bd1;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.hero-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe, #fd79a8);
    border-radius: 18px;
    z-index: -1;
}

.hero-card h3 {
    color: #6c5ce7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.metric {
    background: #f8f9ff;
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
}

.metric h4 {
    font-size: 1.8rem;
    color: #6c5ce7;
    margin-bottom: 0.3rem;
}

.metric p {
    font-size: 0.85rem;
    color: #636e72;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.4rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 800;
}

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

/* Mission */
.mission {
    padding: 5rem 2rem;
    background: #fff;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.mission-content p {
    font-size: 1.15rem;
    color: #636e72;
    line-height: 1.9;
}

.mission-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mission-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: #f8f9ff;
    border: 1px solid #eee;
}

.mission-item h4 {
    color: #6c5ce7;
    margin-bottom: 0.5rem;
}

.mission-item p {
    font-size: 0.95rem;
    color: #636e72;
}

/* Services */
.services {
    padding: 5rem 2rem;
    background: #f8f9ff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-block {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    position: relative;
}

.service-block:hover {
    background: #6c5ce7;
    color: #fff;
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.3);
}

.service-block:hover h3,
.service-block:hover p,
.service-block:hover .service-icon-text {
    color: #fff;
}

.service-icon-text {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #6c5ce7;
    transition: color 0.3s;
}

.service-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2d3436;
    transition: color 0.3s;
}

.service-block p {
    font-size: 0.9rem;
    color: #636e72;
    line-height: 1.7;
    transition: color 0.3s;
}

.service-block ul {
    list-style: none;
    margin-top: 1rem;
}

.service-block ul li {
    font-size: 0.88rem;
    color: #636e72;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.service-block:hover ul li {
    color: rgba(255, 255, 255, 0.9);
}

/* Why Choose Us */
.why-us {
    padding: 5rem 2rem;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.why-card:hover {
    background: #f8f9ff;
    transform: translateY(-5px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: #fff;
}

.why-card h3 {
    font-size: 1.1rem;
    color: #2d3436;
    margin-bottom: 0.8rem;
}

.why-card p {
    font-size: 0.9rem;
    color: #636e72;
    line-height: 1.6;
}

/* Stats */
.stats {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Technologies */
.technologies {
    padding: 5rem 2rem;
    background: #f8f9ff;
}

.tech-categories {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.tech-category {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tech-category h3 {
    color: #6c5ce7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-tag {
    background: #f8f9ff;
    color: #2d3436;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e8e8f0;
    transition: all 0.3s;
}

.tech-tag:hover {
    background: #6c5ce7;
    color: #fff;
    border-color: #6c5ce7;
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
    background: #fff;
}

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

.testimonial-card {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #6c5ce7;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card p {
    font-size: 0.95rem;
    color: #636e72;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: #2d3436;
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: #6c5ce7;
}

/* About */
.about {
    padding: 5rem 2rem;
    background: #f8f9ff;
}

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

.about-text h2 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #636e72;
    line-height: 1.9;
    margin-bottom: 1rem;
}

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

.figure-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.figure-item h3 {
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 0.3rem;
}

.figure-item p {
    font-size: 0.85rem;
    color: #636e72;
}

/* Consultation CTA */
.consultation {
    padding: 5rem 2rem;
    background: linear-gradient(160deg, #2d3436 0%, #1a1a2e 100%);
    text-align: center;
}

.consultation h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.consultation p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consultation-form input,
.consultation-form textarea {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: border-color 0.3s;
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.consultation-form input:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #6c5ce7;
}

.consultation-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: #6c5ce7;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #fff;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #6c5ce7;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.6rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #6c5ce7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-categories { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .mission-highlights { grid-template-columns: 1fr; }
    nav ul { display: none; }
    .nav-cta { display: none; }
    .footer-content { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 1.8rem; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text, .hero-visual {
    animation: fadeInUp 0.8s ease-out;
}

.hero-visual {
    animation-delay: 0.2s;
}
