/* Base Styles un Variables */
:root {
    --primary: #6411AD;
    --secondary: #19B5FE;
    --dark: #222;
    --light: #f8f8f8;
    --text: #333;
    --text-light: #666;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
}

.page-wrapper {
    overflow-x: hidden;
    position: relative;
}

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.section-header.light h2,
.section-header.light p {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-size: 1rem;
}

.primary-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 8px 20px rgba(100, 17, 173, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(100, 17, 173, 0.4);
    color: #fff;
}

.btn.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

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

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

.logo .logo-icon {
    margin-right: 10px;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary);
}

nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 2.5rem;
}

.nav-list a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
}

.nav-list a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary);
}

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

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

.hamburger, 
.hamburger::before,
.hamburger::after {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before,
.hamburger::after {
    content: '';
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #fff 60%, #f0f0ff 100%);
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tech-pattern {
    width: 100%;
    max-width: 450px;
    height: 450px;
    animation: float 6s ease-in-out infinite;
}

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

/* Tech Section */
.tech-section {
    background-color: var(--light);
    position: relative;
}

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

.tech-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

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

.tech-card:hover::before {
    opacity: 0.05;
}

.tech-icon {
    margin: 0 auto 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Features Section */
.features {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-check {
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="white"/><circle cx="50" cy="50" r="40" fill="%236411AD" fill-opacity="0.05"/></svg>') repeat;
}

.cta-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.cta-container h2 {
    margin-bottom: 1rem;
}

.cta-container p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #fff;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.footer-brand {
    flex: 1 1 300px;
}

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

.footer-logo svg {
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
    flex: 1 1 300px;
    display: flex;
    justify-content: space-around;
}

.footer-nav-col h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.footer-nav-col ul li {
    margin-bottom: 0.8rem;
}

.footer-nav-col ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav-col ul li a:hover {
    color: var(--secondary);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .tech-pattern {
        height: 400px;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-200%);
        transition: var(--transition);
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-brand {
        margin-bottom: 2rem;
    }
    
    .footer-nav {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .tech-pattern {
        height: 300px;
    }
}
