:root {
    --bg-color: #05050a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary: #8b5cf6;
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    height: 100vh; /* Fallback */
    min-height: 100dvh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-fx {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a0a14 0%, #030305 100%);
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.blob-1 { top: -20%; left: -10%; width: 50vw; height: 50vw; background: var(--primary); }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: var(--secondary); animation-delay: -10s; }
.blob-3 { top: 30%; left: 30%; width: 40vw; height: 40vw; background: #0ea5e9; animation-delay: -5s; opacity: 0.15; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15%, 10%) scale(1.1); }
}

/* Layout */
.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 1.5vh 4vw;
    overflow: hidden;
}

/* Top Navigation */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    flex-shrink: 0;
    z-index: 10;
}
.logo {
    max-height: 40px;
    object-fit: contain;
}
.contact-badges {
    display: flex;
    gap: 1rem;
}
.contact-badges a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-badges a i { font-size: 1.2rem; color: var(--text-muted); transition: color 0.3s; }
.contact-badges a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.contact-badges a.badge-wa { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.2); color: #25d366; }
.contact-badges a.badge-wa i { color: #25d366; }
.contact-badges a.badge-wa:hover { background: rgba(37, 211, 102, 0.2); }

/* Main Hero Section */
.hero-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 0;
}
.hero-content {
    flex: 1;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(96, 165, 250, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

.title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.title .highlight {
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.about-text {
    font-size: clamp(0.85rem, 0.9vw, 1rem);
    line-height: 1.5;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
}
.about-text::-webkit-scrollbar { width: 5px; }
.about-text::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 10px; }
.about-text::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
.about-text::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

.text-highlight {
    color: #fff;
    font-weight: 600;
    font-size: 1.05em;
}

.founder-signature {
    margin-top: 0.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.founder-avatar {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
    overflow: hidden;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-avatar i { font-size: 1.8rem; }
.founder-info { text-align: left; }
.founder-info strong { color: #fff; display: block; font-size: 1.4rem; letter-spacing: 0.5px; line-height: 1.2; margin-bottom: 0.1rem; }
.founder-info span { color: #94a3b8; font-size: 0.9rem; font-weight: 500; }

/* Right Contact Info */
.hero-visual {
    flex: 0 0 400px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 1.5rem;
}
.contact-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.contact-info h3 i { color: var(--primary); font-size: 1.5rem; }

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.icon-wrap.wa-icon { color: #25d366; background: rgba(37, 211, 102, 0.1); }

.contact-row a, .contact-row p {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.5;
    transition: color 0.2s;
}
.contact-row a:hover { color: var(--primary); }
.contact-row p { color: var(--text-muted); }

/* Bottom Dock - Services */
.services-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 5;
    overflow: hidden;
}
.services-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    gap: 0.4rem;
    text-align: center;
    transform: translateY(4px);
}
.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.swipe-hint {
    font-size: 0.85rem;
    color: #fff;
    display: none;
    align-items: center;
    gap: 0.5rem;
    animation: text-pulse 1.5s infinite;
}
@keyframes text-pulse {
    0%, 100% { opacity: 0.7; text-shadow: none; }
    50% { opacity: 1; text-shadow: 0 0 8px rgba(255,255,255,0.8); }
}
.swipe-hint i {
    animation: arrow-move 1.5s infinite;
}
@keyframes arrow-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.services-row {
    display: flex;
    gap: 0.8rem;
    overflow-x: visible;
    padding: 0.5rem;
    max-width: 100%;
}

.service-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-btn i { font-size: 2rem; color: var(--primary); transition: all 0.3s; }
.service-btn span { font-size: 0.85rem; font-weight: 500; text-align: center; line-height: 1.3; }
.service-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.service-btn:hover i { color: #fff; transform: scale(1.1); }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal-content {
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy entry */
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}
.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.close-modal:hover { background: rgba(255,255,255,0.15); transform: rotate(90deg); }
.modal-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.modal-header h2 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.modal-list {
    list-style: none;
    overflow-y: auto;
    padding-right: 1rem;
}
.modal-list::-webkit-scrollbar { width: 6px; }
.modal-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px;}
.modal-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.modal-list li {
    padding: 0.85rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}
.modal-list li:last-child { border-bottom: none; }
.modal-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .title { font-size: 4rem; }
    .hero-visual { flex: 0 0 320px; }
    .contact-info { padding: 2rem; }
}

@media (max-width: 1024px) {
    .page-wrapper { padding: 1.5vh 4vw; }
    .hero-section { flex-direction: column; justify-content: center; gap: 1rem; margin-top: 0; flex: 1; }
    .hero-visual { display: none; } /* Hide large contact card to save vertical space on tablets */
    .hero-content { align-items: center; text-align: center; justify-content: flex-start; margin-top: 1rem; }
    .badge-status { margin-bottom: 0.75rem; }
    .about-text { max-height: none; text-align: justify; padding: 1.5rem; width: 100%; overflow-y: visible; }
    
    .services-section { height: auto; margin-bottom: 1rem; }
    .swipe-hint { display: flex; }
    .services-row {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .services-row::-webkit-scrollbar { display: none; }
    .service-btn {
        flex: 0 0 auto;
        width: 150px;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    header.topbar { height: 50px; }
    .logo { max-height: 30px; }
    .services-header { transform: translateY(14px); }
    .contact-badges a span { display: none; } /* Show only icons */
    .contact-badges a { padding: 0.5rem; border-radius: 50%; width: 40px; height: 40px; justify-content: center; }
    
    .title { font-size: 2.8rem; line-height: 1.1; margin-bottom: 0.2rem; }
    .badge-status { font-size: 0.7rem; padding: 0.4rem 0.8rem; margin-bottom: 0.5rem; }
    .subtitle { font-size: 1.05rem; margin-bottom: 0.75rem; }
    
    /* Text box compressed */
    .about-text { font-size: 12px; max-height: none; text-align: justify; padding: 1rem; width: 100%; overflow-y: visible; gap: 0.5rem; line-height: 1.5; }
    
    .founder-signature { margin-top: 0; padding-top: 1rem; gap: 0.75rem; }
    .founder-avatar { width: 36px; height: 36px; }
    .founder-avatar i { font-size: 1.4rem; }
    .founder-info strong { font-size: 0.95rem; }
    .founder-info span { font-size: 0.75rem; }
    
    .service-btn { width: 130px; padding: 1rem 0.5rem; gap: 0.5rem; }
    .service-btn i { font-size: 1.6rem; }
    .service-btn span { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    /* Large Phones (iPhone Plus/Max) */
    .page-wrapper { padding: 2vh 4vw; }
    .title { font-size: 2.6rem; }
    .subtitle { font-size: 0.95rem; margin-bottom: 0.75rem; }
    .about-text { font-size: 12px; padding: 1rem; gap: 0.5rem; line-height: 1.5; }
    .founder-info strong { font-size: 0.95rem; }
    .founder-signature { padding-top: 0.75rem; }
    .services-section { margin-bottom: 0.5rem; }
    .service-btn { width: 120px; min-width: 120px; padding: 1rem 0.5rem; }
    .service-btn i { font-size: 1.5rem; }
    .modal-content { padding: 1.5rem; }
    .modal-header h2 { font-size: 1.2rem; }
}

@media (max-width: 430px) {
    /* Medium-Large Phones (iPhone 14/15 Pro, typical Androids) */
    .page-wrapper { padding: 1.5vh 3vw; }
    .title { font-size: 2.3rem; }
    .subtitle { font-size: 0.9rem; }
    .about-text { font-size: 12px; padding: 0.9rem; gap: 0.4rem; line-height: 1.45; }
    .service-btn { width: 110px; min-width: 110px; padding: 0.8rem 0.4rem; }
    .service-btn i { font-size: 1.4rem; }
}

@media (max-width: 395px) {
    /* Medium Phones (Redmi Note standard logical width ~393px) */
    .title { font-size: 2.1rem; }
    .badge-status { font-size: 0.75rem; padding: 0.4rem 0.8rem; margin-bottom: 0.5rem; }
    .about-text { font-size: 12px; padding: 0.8rem; }
    .founder-avatar { width: 32px; height: 32px; }
    .founder-info strong { font-size: 0.9rem; }
    .founder-info span { font-size: 0.7rem; }
    .service-btn { width: 100px; min-width: 100px; padding: 0.7rem 0.2rem; gap: 0.7rem; }
    .service-btn span { font-size: 0.7rem; }
}

@media (max-width: 375px) {
    /* Small Phones (iPhone SE, iPhone X/11 Pro) */
    .page-wrapper { padding: 1vh 2vw; }
    .title { font-size: 1.9rem; }
    .subtitle { font-size: 0.85rem; }
    .about-text { font-size: 12px; line-height: 1.4; padding: 0.6rem; gap: 0.3rem; }
    .service-btn { width: 95px; min-width: 95px; padding: 0.6rem 0.2rem; }
    .service-btn i { font-size: 1.2rem; }
    .service-btn span { font-size: 0.65rem; }
}

/* Height specific tweaks for very small screens (landscape mobile) */
@media (max-height: 600px) {
    .hero-section { margin-top: 1rem; gap: 1rem; }
    .about-text { display: none; } /* Hide text to ensure services and title fit */
    .services-section { height: 140px; }
}
