/* ==========================================
   AtlasX Dark Portfolio — Styles
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --surface-hover: #1a1a1a;
    --text: #f5f5f5;
    --muted: #888888;
    --stroke: #1f1f1f;
    --stroke-light: rgba(255, 255, 255, 0.1);
    --accent: #89AACC;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --max-width: 1200px;
    --section-padding: 120px 0;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    /* Lenis handles smoothness */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

em {
    font-style: italic;
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-words {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-word {
    position: absolute;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 3rem;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
}

/* ---------- Navbar ---------- */
#navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    max-width: 900px;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-full);
}

.nav-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--stroke-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text);
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.nav-logo:hover {
    border-color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--muted);
    border-radius: var(--radius-full);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
    margin-left: 4px;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.04);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--transition);
}

.mobile-menu-btn span {
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: var(--muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-title em {
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 300;
}

.hero-subtitle em {
    font-family: var(--font-serif);
    color: var(--text);
    font-style: italic;
}

.hero-rotating-word {
    display: inline-block;
    min-width: 80px;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 245, 245, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--stroke-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.btn-submit {
    background: var(--text);
    color: var(--bg);
    padding: 14px 28px;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 245, 245, 0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--muted);
    font-weight: 400;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ---------- Sections Common ---------- */
.section {
    padding: var(--section-padding);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 400;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text);
}

.section-title em {
    font-style: italic;
}

.section-title-center {
    text-align: center;
}

/* ---------- Projects ---------- */
.projects-section {
    background: var(--bg);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}

.projects-header-desc {
    max-width: 340px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
    padding-top: 32px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-category {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    padding: 20px 20px 0;
    font-weight: 400;
}

.project-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    padding: 8px 20px 0;
    color: var(--text);
}

.project-title em {
    font-style: italic;
}

.project-desc {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 8px 20px 0;
    line-height: 1.5;
    font-weight: 300;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px 20px;
}

.tag {
    padding: 5px 14px;
    font-size: 0.75rem;
    color: var(--muted);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-full);
    font-weight: 400;
    transition: border-color var(--transition), color var(--transition);
}

.project-card:hover .tag {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

/* ---------- Services ---------- */
.services-section {
    background: linear-gradient(180deg, var(--bg) 0%, #0d1117 50%, var(--bg) 100%);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    margin-bottom: 24px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text);
}

.service-title em {
    font-style: italic;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
}

/* ---------- About ---------- */
.about-section {
    background: var(--bg);
}

.about-header {
    margin-bottom: 48px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-text strong {
    color: var(--text);
    font-weight: 600;
}

.about-tech {
    margin-top: 32px;
}

.about-tech-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 600;
}

.about-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-profile-card {
    background: var(--surface);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #5a8aad;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.about-profile-label {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 400;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-stat {
    background: var(--surface);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.about-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 4px;
}

.about-stat-number em {
    font-style: italic;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 400;
}

/* ---------- References ---------- */
.references-section {
    background: var(--bg);
}

.references-header {
    text-align: center;
    margin-bottom: 60px;
}

.references-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.reference-card {
    background: var(--surface);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform var(--transition), border-color var(--transition);
}

.reference-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
    line-height: 1;
    font-family: var(--font-serif);
}

.reference-text {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

.reference-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reference-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0a0a0a;
    flex-shrink: 0;
}

.reference-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.reference-role {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 400;
}

/* ---------- Contact ---------- */
.contact-section {
    background: var(--bg);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(137, 170, 204, 0.1);
    border: 1px solid rgba(137, 170, 204, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 20px;
    transition: background var(--transition), transform var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: rgba(137, 170, 204, 0.18);
    transform: scale(1.1);
}

.contact-card-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 400;
}

.contact-card-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-card-hint {
    font-size: 0.8rem;
    color: #666;
    font-weight: 300;
}

/* WhatsApp CTA */
.whatsapp-cta-wrapper {
    margin-bottom: 48px;
}

.whatsapp-cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(37, 211, 102, 0.02) 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.whatsapp-cta-card:hover {
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 20px 60px rgba(37, 211, 102, 0.1);
}

.whatsapp-cta-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.2); }
}

.whatsapp-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.whatsapp-cta-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.whatsapp-cta-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.whatsapp-cta-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0; }
}

.whatsapp-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 6px;
}

.whatsapp-cta-title em {
    font-style: italic;
}

.whatsapp-cta-desc {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.5;
    max-width: 400px;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.whatsapp-cta-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn-arrow {
    transition: transform var(--transition);
    font-size: 1.1rem;
}

.whatsapp-cta-btn:hover .whatsapp-btn-arrow {
    transform: translateX(4px);
}

.whatsapp-cta-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 6px 16px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: #25d366;
    font-weight: 500;
}

.whatsapp-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}

/* Social Section */
.contact-social-section {
    text-align: center;
    padding-top: 16px;
}

.contact-social-section .contact-social-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 400;
}

.contact-social-links-centered {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.social-link {
    padding: 8px 18px;
    font-size: 0.8rem;
    color: var(--muted);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-full);
    transition: color var(--transition), border-color var(--transition), background var(--transition);
    font-weight: 400;
}

.social-link:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--stroke);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--stroke-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--muted);
    transition: color var(--transition);
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--text);
}

/* ---------- Floating Actions ---------- */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.fab-whatsapp {
    background: #25d366;
    color: #fff;
}

.fab-telegram {
    background: #2AABEE;
    color: #fff;
}

.fab-atlasx {
    background: #7c3aed;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ---------- GSAP Animation helpers ---------- */
.anim-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--stroke-light);
        border-radius: var(--radius-lg);
        padding: 16px;
        gap: 4px;
    }

    .projects-header {
        flex-direction: column;
        gap: 16px;
    }

    .projects-header-desc {
        padding-top: 0;
        max-width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .whatsapp-cta-card {
        padding: 28px 24px;
    }

    .whatsapp-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-cta-left {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-cta-desc {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-scroll-indicator {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}