/* ===== VARIABLES ===== */
:root {
    --primary-dark: #0a0a12;
    --secondary-dark: #10101a;
    --accent-green: #00ff9c;
    --accent-cyan: #00d9ff;
    --accent-blue: #006eff;
    --text-primary: #ffffff;
    --text-secondary: #b0b0d0;
    --glass-bg: rgba(16, 16, 26, 0.7);
    --border-glow: rgba(0, 255, 156, 0.3);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 255, 156, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 156, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background-color: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-green);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
}

.logo-dot {
    color: var(--accent-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 156, 0.1) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-family: 'Roboto Mono', monospace;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-role {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-family: 'Roboto Mono', monospace;
}

.typewriter-text {
    color: var(--accent-green);
}

.cursor {
    color: var(--accent-green);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Roles Grid */
.roles-container {
    margin: 25px 0;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 500px;
}

.role-tag {
    background: rgba(0, 255, 156, 0.1);
    border: 1px solid rgba(0, 255, 156, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    text-align: center;
    transition: var(--transition);
    font-family: 'Roboto Mono', monospace;
}

.role-tag:hover {
    background: rgba(0, 255, 156, 0.2);
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 156, 0.1);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 30px 0;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Profile Image - NON-CIRCULAR */
.profile-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.profile-frame {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--secondary-dark);
    position: relative;
    z-index: 2;
    border: 3px solid rgba(0, 255, 156, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 156, 0.2);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-frame:hover .profile-img {
    transform: scale(1.05);
}

.profile-glow {
    position: absolute;
    width: 105%;
    height: 105%;
    top: -2.5%;
    left: -2.5%;
    border-radius: 15px;
    background: linear-gradient(45deg, 
        rgba(0, 255, 156, 0.2) 0%, 
        rgba(0, 217, 255, 0.2) 50%, 
        rgba(0, 255, 156, 0.2) 100%);
    animation: glow-pulse 3s infinite alternate;
    z-index: 1;
}

@keyframes glow-pulse {
    0% { 
        opacity: 0.4;
        transform: scale(1);
    }
    100% { 
        opacity: 0.7;
        transform: scale(1.02);
    }
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 255, 156, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 156, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 10px;
    font-family: 'Roboto Mono', monospace;
}

.stat-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 255, 156, 0.1);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 156, 0.15);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent-green);
}

.skill-name {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 255, 156, 0.1);
    border-radius: 10px;
    padding: 40px 30px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 156, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 255, 156, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 156, 0.15);
}

.portfolio-image {
    height: 200px;
    background-color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 4rem;
    color: var(--accent-green);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.portfolio-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 255, 156, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 156, 0.1);
}

.testimonial-quote {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-quote i {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 15px;
    display: block;
}

.testimonial-quote p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author h4 {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-terminal {
    background: var(--secondary-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 156, 0.2);
}

.terminal-header {
    background: #1a1a2e;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 156, 0.2);
}

.terminal-dots {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.terminal-title {
    color: var(--text-secondary);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

.terminal-body {
    padding: 30px;
    font-family: 'Roboto Mono', monospace;
}

.terminal-line {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.prompt {
    color: var(--accent-green);
    margin-right: 10px;
    font-weight: 600;
}

.command {
    color: var(--text-primary);
}

.terminal-output {
    margin-left: 25px;
    margin-bottom: 20px;
}

.contact-line {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.contact-label {
    min-width: 100px;
    color: var(--accent-green);
    font-weight: 500;
}

.contact-separator {
    margin: 0 10px;
    color: var(--text-secondary);
}

.contact-link {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-all;
}

.contact-link:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.blink {
    animation: blink 1s infinite;
}

.contact-action {
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 255, 156, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Additional styles for contact links in buttons */
.btn i {
    margin-right: 8px;
}