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

:root {
    --primary: #6C63FF;
    --secondary: #3CAEA3;
    --dark: #20232A;
    --light: #FFFFFF;
    --gray: #606060;
    --light-gray: #F5F7FA;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --card-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
    --border-radius: 10px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

ul {
    list-style-type: none;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Styles */
header {
    background-color: var(--light);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    position: absolute;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 20%;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 20%;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 40%;
}

/* Hero Section */
.hero {
    background-color: var(--light-gray);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(60, 174, 163, 0.05) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 174, 163, 0.1) 0%, rgba(108, 99, 255, 0.05) 70%);
    bottom: -150px;
    left: -150px;
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h2 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-content h2 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(108, 99, 255, 0.2);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

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

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--gradient);
    color: var(--light);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
    color: var(--light);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(108, 99, 255, 0.1);
}

.cta-button.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Galleries Section */
.galleries {
    background-color: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.gallery-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.gallery-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.gallery-item p {
    color: var(--gray);
    margin-bottom: 20px;
}

.gallery-link {
    color: var(--primary);
    font-weight: 500;
    position: relative;
}

.gallery-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.gallery-link:hover::after {
    transform: translateX(5px);
}

/* Technology Section */
.technology {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.tech-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.tech-feature {
    display: flex;
    gap: 25px;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
    min-width: 60px;
}

.feature-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.feature-content p {
    color: var(--gray);
}

.tech-visual {
    margin: 0 auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

/* Pricing Section */
.pricing {
    background-color: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.best-value {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--light);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.features-list {
    margin: 25px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    color: var(--light);
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: var(--light);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .cta-button:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    background: var(--light);
    color: var(--primary);
}

/* Footer Styles */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand p {
    margin-top: 15px;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-brand .tagline {
    font-weight: 400;
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 5px;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-newsletter h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-button {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient);
    color: var(--light);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    color: var(--light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero .container,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--light);
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .gallery-grid,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-feature {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-number {
        min-width: auto;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
