/* ==========================================================================
   NEXTALT INFOTECH Pvt Ltd - Premium Dark Futuristic Theme
   ========================================================================== */

:root {
    --bg-dark: #090d16;
    --bg-surface: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(6, 182, 212, 0.4);
    
    /* Brand Colors */
    --primary-cyan: #06b6d4;
    --primary-cyan-hover: #0891b2;
    --accent-teal: #14b8a6;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.35);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Reset & Global Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-teal);
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--primary-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.text-cyan { color: var(--primary-cyan); }
.text-teal { color: var(--accent-teal); }
.text-purple { color: var(--accent-purple); }
.text-blue { color: var(--accent-blue); }
.text-amber { color: var(--accent-amber); }
.text-rose { color: var(--accent-rose); }

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-header {
    max-width: 750px;
    margin: 0 auto 60px auto;
}

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

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

/* Glassmorphism Components */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-teal));
    color: #04121e;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #22d3ee, #2dd4bf);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: var(--primary-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    background: rgba(6, 182, 212, 0.08);
}

.btn-light {
    background: #ffffff;
    color: #0f172a;
}

.btn-light:hover {
    background: #f1f5f9;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.glow-effect {
    position: relative;
    z-index: 1;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.glow-effect:hover::after {
    opacity: 0.6;
    filter: blur(8px);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(9, 13, 22, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.company-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--primary-cyan);
    letter-spacing: 2px;
}

.company-sub small {
    color: var(--text-dim);
}

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

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-cyan);
}

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

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

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--bg-surface);
    z-index: 1001;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transition: right var(--transition-smooth);
}

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

.close-drawer-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 30px;
}

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

.drawer-link {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
}

.drawer-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 10px 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-cyan);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Hero Visual Card */
.main-preview-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.card-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 6px;
}

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

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

.window-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-tag {
    font-size: 0.75rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
}

.preview-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-metric {
    background: rgba(15, 23, 42, 0.6);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
}

.mini-metric i {
    font-size: 1.4rem;
}

.mini-metric small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.mini-metric strong {
    font-size: 0.88rem;
    color: var(--text-main);
}

.preview-chart-box {
    background: rgba(15, 23, 42, 0.6);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.mock-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    padding: 0 10px;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    justify-content: flex-end;
    width: 14%;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(180deg, var(--primary-cyan), var(--accent-purple));
    border-radius: 4px;
    transition: height var(--transition-smooth);
}

.bar-col span {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.preview-action-row {
    padding-top: 5px;
}

.preview-btn {
    width: 100%;
    padding: 12px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.preview-btn:hover {
    background: var(--primary-cyan);
    color: #04121e;
}

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

.service-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--primary-cyan); }
.icon-teal { background: rgba(20, 184, 166, 0.15); color: var(--accent-teal); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.icon-rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   Product Banner Section
   ========================================================================== */
.product-banner {
    padding: 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border: 1px solid var(--border-highlight);
}

.product-text h2 {
    font-size: 2.2rem;
    margin: 16px 0;
}

.product-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.tag {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);

}

.product-cta {
    display: flex;
    gap: 16px;
}

.product-feature-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition-fast);
}

.feature-box.active {
    border-color: var(--primary-cyan);
    background: rgba(6, 182, 212, 0.08);
}

.fb-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-box h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

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

/* ==========================================================================
   Register CTA Banner
   ========================================================================== */
.cta-card {
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
    padding: 60px 40px;
    border-radius: 30px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.3);
}

.cta-card h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 32px auto;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   About & Contact Grids
   ========================================================================== */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.company-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

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

.highlight-item i {
    font-size: 1.5rem;
    margin-top: 4px;
}

.about-card-visual {
    padding: 32px;
}

.about-card-visual h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 0;
    font-size: 0.92rem;
}

.info-table td:first-child {
    color: var(--text-muted);
    width: 45%;
}

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

.contact-info-card, .contact-form-card {
    padding: 40px;
}

.contact-info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

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

label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
    padding: 14px;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #050811;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 16px 0 20px 0;
    max-width: 320px;
}

.hostinger-badge {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.8);
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.footer-links-col h4 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: var(--primary-cyan);
    color: #04121e;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ==========================================================================
   Modals (Registration & Login)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 7, 13, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 35px;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-smooth);
    box-sizing: border-box;
}

/* Custom scrollbar for modal card */
.modal-card::-webkit-scrollbar {
    width: 6px;
}
.modal-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.modal-card::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 4px;
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px auto;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Role Selector Tabs */
.role-tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.8);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.role-tab {
    flex: 1;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.role-tab.active {
    background: var(--primary-cyan);
    color: #04121e;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    margin-bottom: 20px;
}

.remember-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-cyan);
}

.portal-redirect-note {
    text-align: center;
    margin-top: 16px;
    color: var(--text-dim);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container, .grid-2-col, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-banner {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NEW INTERACTIVE FEATURES & WIDGETS STYLES
   ========================================================================== */
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.pulse { animation: pulseGlow 2s infinite; }

@keyframes pulseGlow {
    0% { opacity: 0.7; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 0.7; transform: scale(0.98); }
}

/* Interactive Tabs */
.interactive-tabs {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.8);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover { color: #fff; }
.tab-btn.active {
    background: var(--primary-cyan);
    color: #04121e;
    font-weight: 700;
}

/* Punch Simulator */
.simulator-box {
    padding: 24px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 16px;
}

.live-clock {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-cyan);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.sim-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0 10px 0;
}

.sim-status-alert {
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.4);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--accent-teal);
}

/* FPDF Letter Simulator */
.letter-sim-box { padding: 16px; }
.sim-select {
    background: #0f172a;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.mini-doc-preview {
    background: #ffffff;
    color: #1e293b;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    margin-top: 10px;
}

.doc-watermark {
    position: absolute;
    top: 35%;
    left: 25%;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(14, 47, 93, 0.06);
    transform: rotate(-25deg);
    pointer-events: none;
}

.doc-header-line {
    height: 4px;
    background: linear-gradient(90deg, #0e2f5d, #06b6d4);
    border-radius: 2px;
    margin-bottom: 12px;
}

.doc-text-skeleton { display: flex; flex-direction: column; gap: 8px; }
.skeleton-line { height: 8px; background: #e2e8f0; border-radius: 4px; }
.skeleton-line.full { width: 100%; }
.skeleton-line.half { width: 50%; }
.skeleton-line.three-quarter { width: 75%; }

.stamp-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0e2f5d;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Salary & Take-Home Calculator Section */
.salary-calc-card { padding: 36px; }
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-val-display {
    font-size: 1.4rem;
    color: var(--primary-cyan);
    font-family: var(--font-heading);
}

.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #1e293b;
    outline: none;
    accent-color: var(--primary-cyan);
    cursor: pointer;
    margin: 15px 0 8px 0;
}

.calc-options { display: flex; flex-direction: column; gap: 10px; }
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
}

.take-home-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.take-home-banner small { color: var(--text-muted); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
.take-home-banner h3 { font-size: 2.2rem; color: #ffffff; margin-top: 4px; }
.take-home-banner .per-month { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }

.breakdown-grid { display: flex; flex-direction: column; gap: 12px; }
.b-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
}

.b-label { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.dot-blue { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-blue); }
.dot-teal { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-teal); }
.dot-purple { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-purple); }
.dot-rose { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-rose); }
.dot-amber { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-amber); }

.b-item.deduction strong { color: var(--accent-rose); }

@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ADVAITA AI INSPIRED FUTURISTIC PORTFOLIO & GRAPHICS STYLES
   ========================================================================== */
.neon-glow {
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.8), 0 0 40px rgba(20, 184, 166, 0.4);
}

.portfolio-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.portfolio-aura-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.portfolio-aura-glow.left {
    top: 10%;
    left: -100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(15, 23, 42, 0) 70%);
}

.portfolio-aura-glow.right {
    bottom: 10%;
    right: -100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(15, 23, 42, 0) 70%);
}

.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 12px; }

/* Filter Buttons */
.portfolio-filters { margin-bottom: 40px; }
.filter-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover { color: #fff; border-color: var(--primary-cyan); }
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-teal));
    color: #04121e;
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.portfolio-card {
    padding: 24px;
    position: relative;
    transition: all var(--transition-smooth);
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.card-glow-border {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    pointer-events: none;
    transition: border-color var(--transition-fast);
}

.card-glow-border.violet { border-color: rgba(139, 92, 246, 0.3); }
.card-glow-border.blue { border-color: rgba(59, 130, 246, 0.3); }

.portfolio-card:hover .card-glow-border {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
}

.p-card-media {
    height: 160px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(20, 184, 166, 0.4);
    color: var(--accent-teal);
}

.p-card-badge.badge-purple {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: var(--accent-purple);
}

.p-card-badge.badge-blue {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--accent-blue);
}

.floating-bot-icon, .ai-brain-node, .cloud-server-node {
    font-size: 3.5rem;
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.p-card-body { margin-top: 18px; }
.p-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.p-card-body h3 {
    font-size: 1.25rem;
    margin: 6px 0 8px 0;
    color: #ffffff;
}

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

.p-tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.p-tech-stack span {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--text-muted);
}

.p-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.p-link:hover { transform: translateX(5px); }

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   MOTION GRAPHICS & DYNAMIC ANIMATIONS (ADVAITA AI INSPIRED)
   ========================================================================== */

/* Hologram Radar Background Wrapper */
.hologram-radar-wrapper {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 320px;
    height: 320px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.25);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    animation: radarExpand 4s linear infinite;
}

.radar-ring.r1 { width: 140px; height: 140px; animation-delay: 0s; }
.radar-ring.r2 { width: 220px; height: 220px; animation-delay: 1.3s; }
.radar-ring.r3 { width: 300px; height: 300px; animation-delay: 2.6s; }

@keyframes radarExpand {
    0% { transform: scale(0.6); opacity: 0.8; border-color: rgba(6, 182, 212, 0.6); }
    50% { border-color: rgba(20, 184, 166, 0.4); }
    100% { transform: scale(1.3); opacity: 0; border-color: rgba(139, 92, 246, 0); }
}

/* Floating AI Robot Character Visual */
.floating-ai-character {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d3b66, #14b8a6);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.3);
    animation: floatBot 3.5s ease-in-out infinite;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes floatBot {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(4deg); }
}

.ai-bot-head {
    width: 38px;
    height: 24px;
    background: #090d16;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: 2px solid #06b6d4;
    box-shadow: 0 0 10px #06b6d4;
}

.bot-eye {
    width: 7px;
    height: 7px;
    background: #00d2b4;
    border-radius: 50%;
    box-shadow: 0 0 8px #00d2b4;
    animation: eyeBlink 3s infinite;
}

@keyframes eyeBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

/* Animated Chart Bars */
.animated-bar {
    animation: barPulse 3s ease-in-out infinite alternate;
}

.animated-bar.b1 { animation-delay: 0s; }
.animated-bar.b2 { animation-delay: 0.4s; }
.animated-bar.b3 { animation-delay: 0.8s; }
.animated-bar.b4 { animation-delay: 1.2s; }
.animated-bar.b5 { animation-delay: 1.6s; }

@keyframes barPulse {
    0% { transform: scaleY(0.92); opacity: 0.85; filter: brightness(1); }
    100% { transform: scaleY(1.08); opacity: 1; filter: brightness(1.3); }
}

/* Icon Bouncing Animation */
.icon-bounce {
    animation: iconBounce 2.5s infinite ease-in-out;
}

.icon-bounce.delay-1 { animation-delay: 0.5s; }
.icon-bounce.delay-2 { animation-delay: 1s; }

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Live Wave Pulse Badge */
.live-wave {
    position: relative;
    overflow: hidden;
}

.live-wave::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: waveLight 2.5s infinite;
}

@keyframes waveLight {
    0% { left: -100%; }
    100% { left: 100%; }
}
