/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #07070a;
    --bg-card: rgba(13, 13, 22, 0.7);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Branding Accents */
    --teal: #2dd4bf;
    --teal-glow: rgba(45, 212, 191, 0.15);
    --teal-soft: rgba(45, 212, 191, 0.08);
    --teal-badge: rgba(45, 212, 191, 0.12);
    
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.15);
    --emerald-soft: rgba(16, 185, 129, 0.08);
    --emerald-badge: rgba(16, 185, 129, 0.12);

    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.3);
    
    --whatsapp: #25d366;
    --whatsapp-hover: #128c7e;
    --whatsapp-glow: rgba(37, 211, 102, 0.25);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

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

/* Background Glow Elements */
.glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
}

.glow-teal {
    top: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background-color: var(--teal);
    animation: float-glow 15s infinite alternate ease-in-out;
}

.glow-purple {
    top: 30%;
    right: 5%;
    width: 600px;
    height: 600px;
    background-color: var(--primary);
    animation: float-glow 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.highlight-text {
    background: linear-gradient(135deg, var(--teal) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 99px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-sm {
    font-size: 0.85rem;
    padding: 8px 18px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px var(--whatsapp-glow);
}

.btn-primary {
    background-color: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 15px var(--whatsapp-glow);
}

.btn-primary:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--whatsapp-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header-scrolled {
    background-color: rgba(7, 7, 10, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.header-scrolled .header-container {
    padding: 8px 24px;
}

.logo-link {
    text-decoration: none;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.logo-dot {
    color: var(--teal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    padding-bottom: 120px;
    text-align: center;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 36px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 400;
    animation: fadeInUp 1s ease-out;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
    animation: fadeInUp 1.2s ease-out;
}

/* Featured Projects Section */
.projects-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.projects-grid {
    display: grid;
    grid-template-cols: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.project-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-teal-soft {
    background-color: var(--teal-soft);
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.text-teal {
    color: var(--teal);
}

.bg-emerald-soft {
    background-color: var(--emerald-soft);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.text-emerald {
    color: var(--emerald);
}

.project-badge {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 99px;
}

.bg-teal-badge {
    background-color: var(--teal-badge);
    color: var(--teal);
    border: 1px solid rgba(45, 212, 191, 0.15);
}

.bg-emerald-badge {
    background-color: var(--emerald-badge);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.project-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 28px;
    font-weight: 400;
}

.project-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.project-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.project-features-list li i {
    margin-top: 4px;
    font-size: 0.95rem;
}

.project-features-list li strong {
    color: var(--text-primary);
}

.project-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    align-items: center;
}

.project-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.project-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--teal);
}

.project-link:hover i {
    transform: translate(2px, -2px);
}

/* Card custom subtle glows on hover */
.border-glow-teal:hover {
    border-color: rgba(45, 212, 191, 0.3);
    box-shadow: 0 0 30px var(--teal-glow);
}

.border-glow-emerald:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 30px var(--emerald-glow);
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(ellipse at bottom, rgba(99, 102, 241, 0.05), transparent 60%);
}

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

.expertise-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 24px;
    transition: var(--transition);
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.icon-expertise {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 24px;
}

.expertise-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
}

.contact-container {
    max-width: 900px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(13, 13, 22, 0.9) 0%, rgba(20, 20, 35, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 36px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-title {
    font-size: 2.8rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px auto;
    font-weight: 400;
}

.contact-info-grid {
    display: grid;
    grid-template-cols: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.contact-info-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    text-align: left;
    transition: var(--transition);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.bg-whatsapp {
    background-color: var(--whatsapp);
}

.bg-email {
    background-color: var(--primary);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    user-select: all;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
}

.copy-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 1.05rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    margin-left: auto;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
}

.copy-btn.copied {
    color: var(--teal);
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(45, 212, 191, 0.2);
}

.contact-action {
    display: flex;
    justify-content: center;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px 0;
    background-color: rgba(7, 7, 10, 0.9);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    max-width: 320px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .projects-grid {
        gap: 24px;
    }
    .project-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 16px 24px;
    }
    
    .header-actions {
        display: none;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .badge {
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .projects-grid {
        grid-template-cols: 1fr;
    }
    
    .expertise-grid {
        grid-template-cols: 1fr;
    }
    
    .contact-card {
        padding: 40px 24px;
    }
    
    .contact-info-grid {
        grid-template-cols: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .nav-menu {
        display: none; /* Keep it ultra minimal on mobile */
    }
}
