/* ==========================================================================
   DEZY Premium Web Architecture - Modern Dark Theme & Animation System
   ========================================================================== */

/* 1. Imports & Core Variables */
:root {
    /* Rich Color Archetypes */
    --bg-dark: #030307;
    --bg-card: rgba(13, 13, 24, 0.45);
    --bg-card-hover: rgba(18, 18, 32, 0.7);
    --primary: #8b5cf6;       /* Neon Violet */
    --secondary: #ec4899;     /* Cyber Pink */
    --accent: #06b6d4;        /* Hyper Cyan */
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --grad-glow: linear-gradient(135deg, var(--primary), var(--accent));
    --grad-diagonal: linear-gradient(45deg, #1e1b4b, #030307);
    
    /* Text Variables */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inactive: #475569;
    
    /* Structural Scale */
    --border-glass: 1px solid rgba(255, 255, 255, 0.05);
    --border-glow-hover: 1px solid rgba(139, 92, 246, 0.25);
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-full: 9999px;
    --shadow-glow: 0 10px 40px rgba(139, 92, 246, 0.15);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Resets & Body Framework */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.4);
}

/* 3. High-End Background Glowing Spotlights */
.spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    mix-blend-mode: screen;
}

.spotlight-1 {
    top: 5vh;
    left: -10vw;
    background: var(--primary);
    animation: pulseGlow 15s infinite alternate;
}

.spotlight-2 {
    top: 120vh;
    right: -10vw;
    background: var(--accent);
    animation: pulseGlow 18s infinite alternate-reverse;
}

.spotlight-3 {
    top: 300vh;
    left: 20vw;
    background: var(--secondary);
    animation: pulseGlow 22s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0px, 0px); opacity: 0.1; }
    50% { transform: scale(1.15) translate(40px, -20px); opacity: 0.16; }
    100% { transform: scale(0.9) translate(-30px, 50px); opacity: 0.08; }
}

/* Glassmorphism Global Class */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* 4. Floating Header Navigation Layout */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 6%;
    transition: var(--transition-smooth);
}

#navbar.scrolled {
    padding: 14px 6%;
    background: rgba(3, 3, 7, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-img {
    height: 58px;
    width: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: rotate(360deg) scale(1.08);
    border-color: var(--secondary);
    box-shadow: 0 0 28px rgba(236, 72, 153, 0.7);
}

.logo span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    padding: 8px 30px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    background: var(--grad-primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.mobile-menu-trigger {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(3, 3, 7, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: var(--border-glass);
    z-index: 1000;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    right: 0;
}

.close-drawer {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.drawer-link:hover {
    color: var(--text-main);
}

.drawer-cta {
    background: var(--grad-primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    text-align: center;
    font-weight: 600;
    margin-top: auto;
}

/* 5. Hero Section (Typing & Visual IDE) */
.hero-section {
    min-height: 100vh;
    padding: 180px 6% 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-grid {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: heartBeat 2s infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px var(--accent); }
    50% { transform: scale(1.5); box-shadow: 0 0 20px var(--accent); }
}

.hero-content h1 {
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -2px;
}

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

.typewriter-container {
    position: relative;
}

.cursor {
    color: var(--secondary);
    font-weight: 200;
    margin-left: 2px;
    animation: blink 0.8s infinite;
    -webkit-text-fill-color: initial;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    color: var(--text-main);
}

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

/* Hero IDE Card Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: var(--grad-primary);
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    animation: pulseVisual 8s infinite alternate;
}

@keyframes pulseVisual {
    0% { transform: scale(0.9); }
    100% { transform: scale(1.1); }
}

.visual-card {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: 24px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    animation: floatVisual 6s ease-in-out infinite;
}

@keyframes floatVisual {
    0%, 100% { transform: translateY(0px) rotate(0.5deg); }
    50% { transform: translateY(-15px) rotate(-0.5deg); }
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.window-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    margin-left: 10px;
}

.visual-code pre {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.8;
}

.c-key { color: var(--accent); }
.c-val { color: var(--secondary); }

.scroll-down-arrow {
    position: absolute;
    bottom: 3vh;
    font-size: 1.5rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 6. Services Accordion Section */
.services-section {
    padding: 140px 6% 100px;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.subheading {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Flexible grows layout */
.desktop-accordion {
    max-width: 1400px;
    margin: 0 auto;
    height: 600px;
    display: flex;
    gap: 12px;
    overflow: hidden;
}

.screen {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    cursor: pointer;
}

.desktop-accordion:hover .screen {
    opacity: 0.4;
    filter: saturate(40%);
}

.desktop-accordion .screen:hover {
    flex: 4;
    opacity: 1;
    filter: saturate(100%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3,3,7,0.9) 20%, rgba(3,3,7,0.1) 100%);
    z-index: 1;
}

.screen-indicator {
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
    transition: opacity 0.3s;
}

.screen-indicator i {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.03);
    border: var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.4rem;
}

.screen-indicator h3 {
    font-size: 1.15rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: var(--text-main);
    letter-spacing: 1px;
}

.desktop-accordion .screen:hover .screen-indicator {
    opacity: 0;
    pointer-events: none;
}

.screen-content {
    opacity: 0;
    transform: translateY(30px);
    z-index: 2;
    max-width: 550px;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-accordion .screen:hover .screen-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.service-badge {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary);
    color: #c084fc;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.screen-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.2;
}

.screen-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.features-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.features-list i {
    color: var(--accent);
    width: 16px;
    height: 16px;
}

/* Mobile Accordion stack */
.mobile-accordion {
    display: none;
    max-width: 600px;
    margin: 0 auto;
}

.m-card {
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.m-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.m-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.m-header-title i {
    color: var(--primary);
}

.m-header-title h3 {
    font-size: 1.05rem;
}

.chevron {
    transition: transform 0.3s;
}

.m-card.m-active .chevron {
    transform: rotate(180deg);
}

.m-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.m-card.m-active .m-body {
    max-height: 200px;
    padding-bottom: 20px;
}

/* 7. Portfolio Works Section */
.works-section {
    padding: 100px 6%;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--grad-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.04);
}

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

.card-image-wrap {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 7, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.overlay-icon-btn {
    width: 52px;
    height: 52px;
    background: var(--grad-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.overlay-icon-btn:hover {
    transform: scale(1.1);
}

.card-meta {
    padding: 24px;
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
}

.card-meta h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card-meta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 8. Standards Section */
.standards-section {
    padding: 100px 6%;
}

.standards-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.standard-card {
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    transition: var(--transition-smooth);
}

.standard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08);
}

.standard-icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: background 0.3s, color 0.3s;
}

.standard-card:hover .standard-icon {
    background: var(--accent);
    color: black;
}

.standard-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.standard-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 9. Metrics/Stats Section */
.stats-section {
    padding: 80px 6%;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.02), transparent);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 35px rgba(236, 72, 153, 0.08);
}

.stat-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: inline-block;
}

.counter-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 8px;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #ffffff 40%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-left: 2px;
}

.stat-card h5 {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 10. Testimonials Slider Section */
.testimonials-section {
    padding: 100px 6%;
}

.testimonial-slider-wrap {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.testimonial-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 380px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-inner {
    height: 100%;
    padding: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testi-stars {
    display: flex;
    gap: 4px;
    color: #eab308;
    margin-bottom: 24px;
}

.testi-stars i {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.testi-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 300;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.user-info h4 {
    font-size: 1rem;
    color: var(--text-main);
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider-arrow {
    position: absolute;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 50%;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.prev-arrow { left: -80px; }
.next-arrow { right: -80px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-inactive);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* 11. Contact Form & Outpost Details */
.contact-section {
    padding: 100px 6%;
}

.contact-card {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.contact-form-wrap {
    padding: 60px;
    position: relative;
}

.contact-form-wrap h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.contact-form-wrap p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}

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

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

/* Styled select option dropdown in dark theme */
.form-group select option {
    background-color: #0d0d18;
    color: var(--text-main);
}

.error-msg {
    font-size: 0.8rem;
    color: #ef4444;
    display: none;
    font-weight: 500;
}

.form-group.invalid input, .form-group.invalid textarea {
    border-color: #ef4444;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-submit {
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

/* Success Form Overlay State */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0b14;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    color: var(--accent);
    margin-bottom: 24px;
}

.form-success-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-success-overlay p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 420px;
    margin-bottom: 30px;
}

.close-success-btn {
    border: none;
    cursor: pointer;
}

/* Outpost side panel */
.contact-details-wrap {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(3, 3, 7, 0.4) 100%);
    border-left: var(--border-glass);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.details-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.08;
    bottom: -50px;
    right: -50px;
}

.details-content h3 {
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.detail-item:hover .detail-icon {
    background: var(--primary);
    color: white;
}

.detail-text h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.detail-text p, .detail-text a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-text a:hover {
    color: var(--primary);
}

.status-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-top: 10px;
}

/* Simulated Live Map Graphic */
.embed-map-placeholder {
    margin-top: 40px;
    height: 180px;
    border-radius: var(--radius-md);
    border: var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.map-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--accent);
    filter: blur(50px);
    opacity: 0.15;
}

.globe-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    animation: rotateGlobe 20s linear infinite;
}

@keyframes rotateGlobe {
    100% { transform: rotate(360deg); }
}

.embed-map-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* 12. Footer Design Area */
footer {
    padding: 80px 6% 40px;
    background: #010103;
    border-top: var(--border-glass);
    z-index: 10;
    position: relative;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-group h4, .footer-newsletter h4 {
    font-size: 1rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    background: rgba(255,255,255,0.02);
    border: var(--border-glass);
    border-radius: var(--radius-full);
    padding: 4px;
    width: 100%;
}

.newsletter-form input {
    background: none;
    border: none;
    padding: 10px 18px;
    color: var(--text-main);
    font-size: 0.85rem;
    width: 100%;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.newsletter-success {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    display: none;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: var(--border-glass);
    padding-top: 30px;
}

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

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.02);
    border: var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* 13. Sticky Floating Action Triggers (FAB) */
.fab-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.fab:hover {
    transform: scale(1.1) translateY(-3px);
}

.fab-whatsapp {
    background-color: #25d366;
}

.fab-mail {
    background: var(--grad-primary);
}

/* 14. Responsive Layout Breakpoints */

/* Tablet Viewport Optimization */
@media (max-width: 1024px) {
    .desktop-accordion {
        height: 500px;
    }
    
    .screen-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 968px) {
    #navbar {
        padding: 16px 6%;
    }
    
    .nav-links, .nav-actions .nav-cta {
        display: none;
    }
    
    .mobile-menu-trigger {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-badge, .hero-desc {
        margin-inline: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }
    
    /* Toggle desktop grows into stack */
    .desktop-accordion {
        display: none;
    }
    
    .mobile-accordion {
        display: block;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details-wrap {
        border-left: none;
        border-top: var(--border-glass);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .slider-arrow {
        display: none; /* Hide arrows on small screens, use swiping indicators */
    }
}

/* Mobile Viewport Optimization */
@media (max-width: 580px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrap, .contact-details-wrap {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .testimonial-inner {
        padding: 30px 20px;
    }
    
    .testi-text {
        font-size: 1.05rem;
    }
}

/* 15. Element Scroll Reveal Animations & Preloader & Custom Cursor */

/* Staggered Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--i, 0) * 0.08s);
}

/* Stunning Glass Preloader Overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #030307;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 2.2rem;
    font-weight: 900;
}

.preloader-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2.2px solid var(--primary);
    animation: pulseLogo 2.2s infinite alternate;
}

@keyframes pulseLogo {
    0% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); transform: scale(1); }
    100% { box-shadow: 0 0 35px rgba(236, 72, 153, 0.8); transform: scale(1.08); }
}

.preloader-logo span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--grad-primary);
    animation: fillProgress 1.6s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes fillProgress {
    100% { width: 100%; }
}



/* 3D Visual IDE perspective rules */
.hero-visual {
    perspective: 1000px;
}

.visual-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
}

/* breathing animated grid highlights for base standards */
@keyframes cardBreath {
    0% { box-shadow: 0 10px 30px rgba(6, 182, 212, 0.04); border-color: rgba(255, 255, 255, 0.05); }
    50% { box-shadow: 0 10px 40px rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.18); }
    100% { box-shadow: 0 10px 30px rgba(6, 182, 212, 0.04); border-color: rgba(255, 255, 255, 0.05); }
}

.standard-card {
    animation: cardBreath 6s infinite alternate;
}

.standard-card:nth-child(2n) { animation-delay: 1.5s; }
.standard-card:nth-child(3n) { animation-delay: 3s; }
.standard-card:nth-child(4n) { animation-delay: 4.5s; }

.standard-card:hover {
    animation: none !important;
    border-color: rgba(6, 182, 212, 0.3) !important;
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15) !important;
}


