/* Global Variables */
:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #ff6b6b;
    --dark-color: #2c2c54;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 6px;
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f4f8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.primary-btn, .cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.primary-btn:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: var(--text-light);
}

.primary-btn.large {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Section Styles */
.section-heading {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--dark-color);
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-color);
}

.highlight {
    color: var(--primary-color);
}

.domain {
    color: var(--accent-color);
}

.main-menu {
    display: flex;
    align-items: center;
}

.main-menu li {
    margin-left: 1.5rem;
}

.main-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.main-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,144C672,139,768,149,864,154.7C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.4;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: white;
}

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

.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
    border-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-image-slice: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.5rem;
}

/* Technology Section */
.technology {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.tech-content {
    display: flex;
    justify-content: center;
}

.tech-features {
    max-width: 800px;
}

.tech-features h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Call to Action Section */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color), #ff9a8b);
    color: white;
}

.cta .section-heading {
    color: white;
}

.cta .section-heading::after {
    background: white;
}

.cta-text {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-icon {
    margin-right: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

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

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-legal {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }
    
    .menu-icon span,
    .menu-icon span::before,
    .menu-icon span::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--dark-color);
        transition: all 0.3s ease;
    }
    
    .menu-icon span {
        top: 9px;
    }
    
    .menu-icon span::before {
        top: -8px;
    }
    
    .menu-icon span::after {
        top: 8px;
    }
    
    .menu-toggle:checked + .menu-icon span {
        background-color: transparent;
    }
    
    .menu-toggle:checked + .menu-icon span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle:checked + .menu-icon span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }
    
    .menu-toggle:checked ~ .main-menu {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-menu li {
        margin: 1rem 0;
        width: 100%;
    }
    
    .main-menu a {
        display: block;
        padding: 0.5rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .primary-btn, .cta-button {
        padding: 10px 20px;
    }
    
    .primary-btn.large {
        padding: 12px 24px;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
}
