/* ========== Variables ========== */
/* Brand palette Nxsyspro: indigo (logo body) + orange (logo wing) + deep navy (logo text) */
:root {
    --blue-50:  #eef2ff;  /* indigo-50 */
    --blue-100: #e0e7ff;  /* indigo-100 */
    --blue-200: #c7d2fe;  /* indigo-200 */
    --blue-400: #818cf8;  /* indigo-400 — top face logo */
    --blue-500: #6366f1;  /* indigo-500 — primary brand */
    --blue-600: #4f46e5;  /* indigo-600 — primary darker (hover) */
    --blue-700: #4338ca;  /* indigo-700 */
    --blue-800: #312e81;  /* indigo-800 */
    --blue-900: #1e1b4b;  /* indigo-950 — deep navy (matches logo text) */

    --orange-400: #fb923c;
    --orange-500: #f97316;  /* logo wing */
    --orange-600: #ea580c;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --gradient: linear-gradient(135deg, var(--blue-500), var(--orange-500));
    --gradient-text: linear-gradient(135deg, var(--blue-400), var(--orange-400));

    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);

    --radius: 12px;
    --radius-lg: 20px;
}

/* ========== Reset ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ========== Utilities ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}

.btn-service {
    background: var(--blue-50);
    color: var(--blue-600);
    width: 100%;
    justify-content: center;
}

.btn-service:hover {
    background: var(--blue-600);
    color: #fff;
}

.btn-full { width: 100%; justify-content: center; }

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-nafi { color: var(--blue-500); }
.logo-logy { color: var(--orange-500); }

.navbar.scrolled .logo-nafi { color: var(--blue-600); }

.footer .logo-nafi { color: var(--blue-400); }
.footer .logo-logy { color: var(--orange-400); }

/* Logo image (data-dyn-logo) responsive sizing */
.logo img { display: block; max-width: 100%; }
.navbar .logo img { transition: filter .2s ease; }

/* Logo on dark background (footer, dark hero) - render putih via filter */
.logo-on-dark img,
.footer .logo img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.navbar.scrolled .nav-links a { color: var(--gray-600); }
.navbar.scrolled .nav-links a:hover { color: var(--blue-600); }
.nav-links a:hover { color: #fff; }

.nav-portal-btn {
    padding: 8px 20px !important;
    border-radius: 8px;
    background: var(--gradient);
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.nav-portal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nav-portal-btn::after { display: none !important; }

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span { background: var(--gray-700); }

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 40%, #1a2744 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Brand Section */
.brand-section {
    display: flex;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    justify-content: center;
}

.brand-group {
    text-align: center;
}

.brand-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.brand-item {
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    min-height: 52px;
}

.brand-logo {
    height: 24px;
    width: auto;
    min-width: 60px;
    max-width: 100px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.brand-item:hover .brand-logo {
    opacity: 1;
}

.brand-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-text-hpe {
    font-size: 1rem;
    letter-spacing: 1px;
}

.brand-text-hpe span {
    font-size: 1.4rem;
    font-weight: 800;
    margin-right: 6px;
}

.brand-text-ibm {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.85);
}

.brand-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.brand-highlight {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.3);
    color: rgba(255,255,255,0.85);
}

.brand-highlight:hover {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.5);
    color: #fff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

/* ========== Sections ========== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-600);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.section-desc {
    color: var(--gray-500);
    max-width: 500px;
    margin: 12px auto 0;
}

/* ========== About ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

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

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

.highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight strong {
    display: block;
    margin-bottom: 2px;
}

.highlight span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Network animation */
.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.network-animation {
    position: absolute;
    inset: 0;
}

.node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--blue-400);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.node-center {
    width: 28px;
    height: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--orange-500);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.6);
    animation: pulse 1.5s ease-in-out infinite;
}

.node-1 { top: 20%; left: 25%; animation-delay: 0s; }
.node-2 { top: 15%; right: 25%; animation-delay: 0.5s; }
.node-3 { bottom: 25%; left: 15%; animation-delay: 1s; }
.node-4 { bottom: 20%; right: 20%; animation-delay: 0.3s; }
.node-5 { top: 50%; left: 10%; animation-delay: 0.7s; }

.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, transparent 0%, transparent 40%, rgba(96,165,250,0.03) 41%, transparent 42%),
        radial-gradient(circle at 50% 50%, transparent 0%, transparent 25%, rgba(96,165,250,0.05) 26%, transparent 27%),
        radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, rgba(96,165,250,0.02) 61%, transparent 62%);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

.node-center {
    animation-name: pulse-center;
}

@keyframes pulse-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ========== Services ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-100);
}

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

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-card > p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.service-features svg { color: var(--blue-500); flex-shrink: 0; }

/* Scope */
.scope-section {
    margin-top: 60px;
    text-align: center;
}

.scope-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gray-700);
}

.scope-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.scope-tag {
    padding: 10px 20px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid var(--gray-200);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.3s;
}

.scope-tag:hover {
    border-color: var(--blue-300);
    color: var(--blue-600);
    background: var(--blue-50);
}

/* ========== Features Grid ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}

.feature-card:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== Contact ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Form */
.contact-form {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-group { margin-bottom: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--gray-50);
    color: var(--gray-800);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #fff;
}

.contact-form textarea { resize: vertical; }

/* ========== Footer ========== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--blue-400); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ========== WhatsApp Widget ========== */
.wa-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.wa-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
    position: relative;
}

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

.wa-fab-close { display: none; }
.wa-chat-widget.open .wa-fab-icon { display: none; }
.wa-chat-widget.open .wa-fab-close { display: block; }

.wa-chat-box {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 370px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: bottom right;
}

.wa-chat-widget.open .wa-chat-box {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.wa-chat-header {
    background: #075e54;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.wa-chat-header-info strong { display: block; font-size: 0.95rem; }
.wa-chat-header-info span { font-size: 0.75rem; opacity: 0.8; }

.wa-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.wa-close:hover { opacity: 1; }

.wa-chat-body {
    display: flex;
    flex-direction: column;
    height: 350px;
}

.wa-chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #e5ddd5;
    background-image: 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='%23d4cfc6' fill-opacity='0.3'%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");
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
}

.wa-message-incoming {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

.wa-message-outgoing {
    background: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

.wa-time {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-400);
    text-align: right;
    margin-top: 4px;
}

.wa-chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: #f0f0f0;
    border-top: 1px solid var(--gray-200);
}

.wa-chat-input input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
    outline: none;
}

.wa-chat-input button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #075e54;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.wa-chat-input button:hover { background: #128c7e; }

/* Typing indicator */
.wa-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-items: center;
}

.wa-typing span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { order: -1; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active { display: flex; }

    .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
    .nav-links a { color: var(--gray-700) !important; }

    .nav-toggle { display: flex; }

    .hero h1 { font-size: 2rem; }
    .brand-section { flex-direction: column; gap: 24px; }

    .features-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .wa-chat-box {
        width: calc(100vw - 48px);
        right: -12px;
    }

    .service-card { padding: 28px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
}
