/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn--primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--full {
    width: 100%;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav__logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
}

.nav__cta {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero__visual {
    position: relative;
    height: 500px;
}

.hero__graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    width: 250px;
    height: 180px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    width: 280px;
    height: 160px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
}

.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.about__features {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature__content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature__content p {
    color: var(--gray);
}

/* ===================================
   PRODUCTS SECTION
   =================================== */
.products {
    padding: var(--spacing-xl) 0;
    background: var(--gray-lighter);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.product-card__icon.mente-serena {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-card__icon.gomoove {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-card__badge {
    padding: 0.5rem 1rem;
    background: var(--gray-lighter);
    color: var(--gray);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.product-card__description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-card__problem {
    background: var(--gray-lighter);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.product-card__problem strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.product-card__problem p {
    color: var(--gray);
    font-size: 0.95rem;
}

.product-card__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-card__results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.result-item {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.products__cta {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.products__cta p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--spacing-xl) 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--gray-lighter);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-card__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card__description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card__list {
    list-style: none;
    padding: 0;
}

.service-card__list li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card__list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ===================================
   TECHNOLOGIES SECTION
   =================================== */
.technologies {
    padding: var(--spacing-xl) 0;
    background: var(--dark);
    color: var(--white);
}

.technologies .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.technologies .section-title,
.technologies .section-subtitle {
    color: var(--white);
}

.technologies__content {
    display: grid;
    gap: 3rem;
}

.tech-category {
    text-align: center;
}

.tech-category__title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-badge {
    padding: 0.75rem 1.5rem;
    background: var(--dark-light);
    color: var(--white);
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--gray-lighter);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray);
}

.contact__form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__tagline {
    color: var(--gray-light);
    margin: 1rem 0 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 8px;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__column h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer__column ul {
    list-style: none;
}

.footer__column ul li {
    margin-bottom: 0.75rem;
}

.footer__column ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer__column ul li a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    color: var(--gray-light);
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer__legal a:hover {
    color: var(--primary-light);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
    }
    
    .hero__visual {
        display: none;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
}
