:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #EDE9FE;
    --secondary: #4F46E5;
    --secondary-light: #E0E7FF;
    --accent: #F59E0B;
    --dark: #1E1B2E;
    --gray: #6B7280;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --radius: 12px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.navbar-brand span { color: var(--dark); }

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.navbar-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.2s;
}

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

.btn-cta-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.2s !important;
}

.btn-cta-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--dark);
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(124,58,237,0.15);
    border-radius: 4px;
    z-index: -1;
}

.hero p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124,58,237,0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-social {
    display: flex;
    gap: 10px;
}

.hero-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray);
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.hero-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    flex: 0 0 340px;
    position: relative;
}

.hero-image-wrapper {
    width: 300px;
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-float {
    position: absolute;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-float strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
}

.hero-float span {
    font-size: 0.72rem;
    color: var(--gray);
}

.hero-float-1 {
    top: 20px;
    right: -10px;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 30px;
    left: -10px;
    animation-delay: 1.5s;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-bar {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #F3F4F6;
}

.stats-bar .container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--gray);
}

.section { padding: 80px 0; }
.section-alt { background: var(--light); }

.section-header {
    text-align: center;
    max-width: 550px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-label-light { color: rgba(255,255,255,0.7); }

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray);
    line-height: 1.7;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 0 0 380px;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content { flex: 1; }

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-highlights {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-highlight-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-highlight strong {
    display: block;
    font-size: 0.92rem;
}

.about-highlight p {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.skill-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.skill-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.skill-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.portfolio-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 14px;
}

.portfolio-result {
    display: flex;
    gap: 16px;
}

.portfolio-result span {
    font-size: 0.78rem;
    color: var(--gray);
}

.portfolio-result strong {
    color: var(--primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-light);
    font-weight: 800;
    line-height: 1;
    margin-bottom: -8px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
}

.testimonial-author span {
    display: block;
    font-size: 0.78rem;
    color: var(--gray);
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}

.btn-wa-cta:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.btn-email-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s;
}

.btn-email-cta:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.cta-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-social a {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.cta-social a:hover { color: var(--white); }

.site-footer {
    padding: 24px 0;
    text-align: center;
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

.footer-credit { margin-top: 4px; }
.footer-credit a { color: var(--primary); font-weight: 600; }
.footer-credit a:hover { color: #A78BFA; }

.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37,211,102,0.5);
    transition: all 0.3s;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.6);
}

.wa-float svg { width: 30px; height: 30px; fill: white; }

.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-social { justify-content: center; }
    .hero-image { flex: none; }
    .hero-float { display: none; }
    .about-layout { flex-direction: column; gap: 32px; }
    .about-image { flex: none; width: 100%; }
    .about-image img { height: 300px; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .stats-bar .container { gap: 40px; }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 14px;
        box-shadow: var(--shadow-lg);
    }
    .navbar-nav.active { display: flex; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2rem; }
    .hero-image-wrapper { width: 240px; height: 290px; }
    .section-header h2 { font-size: 1.6rem; }
    .skills-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
    .portfolio-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .about-content h2 { font-size: 1.6rem; }
    .cta-section h2 { font-size: 1.6rem; }
    .stats-bar .container { gap: 24px; }
}

@media (max-width: 480px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; justify-content: center; }
    .hero-image-wrapper { width: 200px; height: 240px; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons a { width: 100%; justify-content: center; }
    .portfolio-result { flex-direction: column; gap: 4px; }
    .stat-item strong { font-size: 1.4rem; }
}
