:root {
    --rosa: #ff6bb5;
    --morado: #c77dff;
    --azul: #6a9eff;
    --violeta: #9d4edd;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --border: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --font-primary: 'Inter', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    z-index: 1001;
}

.logo-icon {
    color: var(--rosa);
    font-size: 1.4rem;
}

.logo-text {
    background: linear-gradient(45deg, var(--rosa), var(--azul));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    width: 100%;
    text-align: center;
}

.nav-link.active {
    color: var(--text-primary);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 4px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.hero {
    padding-top: 5rem;
    padding-bottom: 3rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--rosa), var(--morado));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rosa), var(--morado));
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 181, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 250px;
    max-width: 400px;
    margin: 0 auto;
}

.animated-blob {
    position: relative;
    width: 100%;
    height: 100%;
}

.blob-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    filter: blur(40px);
    opacity: 0.5;
}

.layer-1 {
    background: linear-gradient(135deg, var(--rosa), transparent 70%);
    animation: blob-rotate-1 20s infinite linear;
}

.layer-2 {
    background: linear-gradient(135deg, var(--morado), transparent 70%);
    animation: blob-rotate-2 25s infinite linear;
}

.layer-3 {
    background: linear-gradient(135deg, var(--azul), transparent 70%);
    animation: blob-rotate-3 30s infinite linear;
}

@keyframes blob-rotate-1 {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
    50% { 
        transform: rotate(180deg) scale(1.1);
        border-radius: 60% 40% 30% 70% / 40% 50% 60% 50%;
    }
}

@keyframes blob-rotate-2 {
    0%, 100% { 
        transform: rotate(120deg) scale(0.9);
        border-radius: 60% 40% 30% 70% / 40% 50% 60% 50%;
    }
    50% { 
        transform: rotate(300deg) scale(1);
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
}

@keyframes blob-rotate-3 {
    0%, 100% { 
        transform: rotate(240deg) scale(0.8);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% { 
        transform: rotate(420deg) scale(0.9);
        border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
    }
}

.scroll-indicator {
    display: none;
}

section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--rosa), var(--azul));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.featured-projects {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(17, 17, 17, 0.8) 100%);
}

.projects-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.project-preview-card {
    display: flex;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    gap: 1rem;
}

.preview-number {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 40px;
}

.preview-content {
    flex: 1;
}

.preview-content h3 {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.preview-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--azul);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.preview-visual {
    display: none;
}

.view-all-projects {
    text-align: center;
    margin-top: 2rem;
}

.view-all-projects .btn {
    max-width: 300px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
}

.service-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--morado);
    background: rgba(199, 125, 255, 0.1);
    border-radius: 10px;
}

.service-item h3 {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-item > p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--rosa);
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(135deg, var(--rosa), var(--azul));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    text-align: center;
}

.contact-title {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--azul);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 158, 255, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-value {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
}

.form-group {
    margin-bottom: 1.25rem;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--morado);
    box-shadow: 0 0 0 2px rgba(199, 125, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
}

/* footer mobile */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer .logo {
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 300px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    align-items: center;
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--text-secondary);
}

/* media Queries for tablets */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        border: none;
        gap: 2rem;
    }
    
    .nav-link {
        padding: 0;
        width: auto;
        text-align: left;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--rosa), var(--morado));
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: row;
        max-width: 400px;
    }
    
    .btn {
        width: auto;
        padding: 1rem 2rem;
    }
    
    .hero-visual {
        height: 300px;
        max-width: 500px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .projects-preview {
        gap: 1.5rem;
    }
    
    .project-preview-card {
        flex-direction: row;
        align-items: center;
    }
    
    .preview-number {
        font-size: 2.5rem;
        margin-right: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-brand {
        margin-bottom: 0;
        max-width: 300px;
    }
    
    .footer .logo {
        justify-content: flex-start;
    }
    
    .footer-legal {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* media queries */
@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: left;
        flex: 1;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-actions {
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-visual {
        flex: 1;
        height: 400px;
        max-width: none;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .projects-preview {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .preview-visual {
        display: block;
        width: 80px;
        height: 80px;
        border-radius: 12px;
        opacity: 0.3;
        transition: opacity 0.3s ease;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .project-preview-card:hover .preview-visual {
        opacity: 0.8;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    .scroll-indicator {
        display: block;
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .scroll-indicator span {
        display: block;
        width: 1px;
        height: 40px;
        background: linear-gradient(to bottom, var(--rosa), transparent);
        animation: scroll-pulse 2s infinite;
    }
    
    @keyframes scroll-pulse {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 1; }
    }
}