/* ====== VARIABLES ====== */
:root {
    --primary-blue: #0066FF;
    --dark-blue: #003D99;
    --light-blue: #4D94FF;
    --tech-cyan: #00D4FF;
    --dark-bg: #0A0E1A;
    --darker-bg: #050812;
    --card-bg: #1A1F2E;
    --text-light: #E8EAED;
    --text-gray: #9AA0A6;
    --white: #FFFFFF;
    --success: #00C851;
    --warning: #FFB300;
    --gradient-primary: linear-gradient(135deg, #0066FF, #00D4FF);
    --gradient-dark: linear-gradient(135deg, #0A0E1A, #1A1F2E);
    --shadow-blue: rgba(0, 102, 255, 0.3);
    --shadow-cyan: rgba(0, 212, 255, 0.2);
}

/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== HEADER ====== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h2 {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}

.logo span {
    color: var(--tech-cyan);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav li {
    display: flex;
}

.nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--tech-cyan);
}

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

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

.btn-consult {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-blue);
    border: none;
    font-weight: 600;
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-blue);
}

.btn-consult::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    background: rgba(10, 14, 26, 0.95);
    border: 2px solid var(--tech-cyan);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 212, 255, 0.5);
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--tech-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

.hamburger.active {
    background: var(--secondary-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background: var(--white-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    background: var(--white-color);
}

/* ====== HERO ====== */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
}

.code-line {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--tech-cyan);
    animation: codeRain 8s linear infinite;
}

.code-line:nth-child(1) { left: 10%; animation-delay: 0s; }
.code-line:nth-child(2) { left: 25%; animation-delay: 1s; }
.code-line:nth-child(3) { left: 40%; animation-delay: 2s; }
.code-line:nth-child(4) { left: 55%; animation-delay: 3s; }
.code-line:nth-child(5) { left: 70%; animation-delay: 4s; }
.code-line:nth-child(6) { left: 85%; animation-delay: 5s; }
.code-line:nth-child(7) { left: 15%; animation-delay: 6s; }
.code-line:nth-child(8) { left: 75%; animation-delay: 7s; }

@keyframes codeRain {
    0% { top: -50px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100vh; opacity: 0; }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.icon:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.icon:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.icon:nth-child(3) { top: 30%; left: 70%; animation-delay: 2s; }
.icon:nth-child(4) { top: 80%; left: 25%; animation-delay: 3s; }
.icon:nth-child(5) { top: 10%; left: 60%; animation-delay: 4s; }
.icon:nth-child(6) { top: 70%; left: 40%; animation-delay: 5s; }

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

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

.hero-subtitle {
    color: var(--tech-cyan);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
    font-family: 'JetBrains Mono', monospace;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.accent {
    color: var(--tech-cyan);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback para navegadores que no soportan background-clip */
@supports not (-webkit-background-clip: text) {
    .accent {
        color: var(--tech-cyan);
        background: none;
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-blue);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--tech-cyan);
    padding: 1rem 2rem;
    border: 2px solid var(--tech-cyan);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--tech-cyan);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-cyan);
}

/* ====== STATS ====== */
.stats {
    padding: 4rem 0;
    background: var(--darker-bg);
}

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

.stat-item {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--tech-cyan);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--tech-cyan);
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}

.stat-item p {
    color: var(--text-gray);
    font-weight: 500;
}

/* ====== SERVICES ====== */
.services {
    padding: 5rem 0;
    background: var(--dark-bg);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

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

.service-item {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 0;
}

.service-item:hover {
    transform: translateY(-10px);
    border-color: var(--tech-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.service-item.featured {
    background: var(--gradient-primary);
    transform: scale(1.05);
}

.service-icon {
    font-size: 3rem;
    color: var(--tech-cyan);
    margin-bottom: 1.5rem;
}

.service-item.featured .service-icon {
    color: var(--white);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-item p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-item.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
}

.tech-stack li {
    background: rgba(0, 212, 255, 0.1);
    color: var(--tech-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.service-item.featured .tech-stack li {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ====== ABOUT ====== */
.about {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--tech-cyan);
}

.feature i {
    color: var(--tech-cyan);
    font-size: 1.2rem;
    width: 20px;
}

.feature span {
    font-weight: 600;
    color: var(--white);
}

.code-editor {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.editor-header {
    background: var(--darker-bg);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.editor-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.red { background: #FF5F57; }
.btn.yellow { background: #FFBD2E; }
.btn.green { background: #28CA42; }

.filename {
    color: var(--text-gray);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.editor-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.line {
    margin-bottom: 0.5rem;
}

.keyword { color: #FF79C6; }
.variable { color: #8BE9FD; }
.function { color: #50FA7B; }
.property { color: #FFB86C; }

/* ====== PORTFOLIO ====== */
.portfolio {
    padding: 5rem 0;
    background: var(--dark-bg);
}

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

.portfolio-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--tech-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.portfolio-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-preview {
    font-size: 4rem;
    color: var(--white);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-used {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-used span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--tech-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

/* ====== CONTACT ====== */
.contact {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--tech-cyan);
}

.contact-item i {
    color: var(--tech-cyan);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--darker-bg);
    border: 2px solid rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--tech-cyan);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form select {
    cursor: pointer;
}

.contact-form option {
    background: var(--darker-bg);
    color: var(--text-light);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--white);
}

.footer-logo span {
    color: var(--tech-cyan);
}

.footer-logo p {
    color: var(--text-gray);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: var(--card-bg);
}

.footer-social a:hover {
    color: var(--tech-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

.footer-credits {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #00D4FF;
    font-weight: 500;
}

/* ====== TECHNOLOGIES SECTION ====== */
.technologies {
    padding: 5rem 0;
    background: #0A0E27;
}

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

.tech-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tech-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #00D4FF;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.tech-category h3 {
    color: #00D4FF;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00D4FF;
    transform: scale(1.05);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.tech-item span {
    display: block;
    color: #E0E0E0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ====== SUCCESS CASES ====== */
.success-cases {
    padding: 5rem 0;
    background: #1A1F3A;
}

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

.case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.case-card.featured {
    border-color: #00D4FF;
    background: rgba(0, 212, 255, 0.05);
}

.case-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #00D4FF, #0099CC);
    color: #0A0E27;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    border-color: #00D4FF;
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.case-card h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.case-industry {
    color: #00D4FF;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-description {
    color: #B0B0B0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00D4FF;
    margin-bottom: 0.3rem;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #B0B0B0;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tech span {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: #00D4FF;
}

/* ====== TEAM SECTION ====== */
.team {
    padding: 5rem 0;
    background: #0A0E27;
}

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

.team-member {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.1);
}

.member-initial {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
}

.team-member h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #00D4FF;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-skills {
    color: #B0B0B0;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #00D4FF;
    transform: scale(1.1);
}

/* ====== PROCESS SECTION ====== */
.process {
    padding: 5rem 0;
    background: #1A1F3A;
}

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

.step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: #00D4FF;
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00D4FF, #0099CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.step h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.step p {
    color: #B0B0B0;
    line-height: 1.7;
}

/* ====== TESTIMONIALS EXPANDED ====== */
.testimonials-expanded {
    padding: 5rem 0;
    background: #0A0E27;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-card > p {
    color: #E0E0E0;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4FF, #0099CC);
    color: #0A0E27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.author-info h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: #00D4FF;
    font-size: 0.85rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(20px);
        padding: 1rem 2rem;
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 2px solid var(--accent-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        height: auto;
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
    }
    
    .nav li {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .nav a {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 1rem 2rem;
        border-radius: 10px;
        background: rgba(0, 212, 255, 0.1);
        border: 2px solid transparent;
        transition: all 0.3s ease;
        text-align: center;
        min-width: 180px;
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }
    
    .nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .nav a:hover {
        border-color: var(--accent-color);
        background: rgba(0, 212, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    }
    
    .nav a:hover::before {
        left: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item.featured {
        transform: none;
    }
    
    /* New sections responsive */
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .case-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPhone 14 Pro y superiores */
@media (min-width: 393px) and (max-width: 768px) {
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}