/* ==========================================================================
   RAIED AHMED - INTERACTIVE LANDING PAGE DESIGN SYSTEM
   Theme: Modern Cyber Dark Glassmorphism
   Colors: Deep Space #0b0f19 | Indigo #6366f1 | Cyan #14b8a6 | Slate Text #f8fafc
   ========================================================================== */

:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(19, 27, 46, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.75);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(99, 102, 241, 0.4);
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --secondary: #14b8a6;
    --secondary-hover: #0d9488;
    
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --font-main: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Background Ambient Glow Orbs */
.bg-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.orb-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}

.orb-2 {
    top: 40%;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
}

.orb-3 {
    bottom: 10%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-glow {
    animation: btnGlowPulse 2.5s infinite;
}

@keyframes btnGlowPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.8), 0 0 45px rgba(20, 184, 166, 0.4); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-wizard-nav {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(20, 184, 166, 0.2));
    border: 1px solid var(--primary);
    color: var(--text-main);
}

.btn-wizard-nav:hover {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-full { width: 100%; }

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 700;
    transition: var(--transition-fast);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: 160px 0 90px;
    position: relative;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent-green);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 1.8s infinite;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 12px;
}

.highlight-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 18px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 620px;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--text-main), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Hero Terminal Box */
.cyber-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.cyber-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.window-dots { display: flex; gap: 6px; }
.window-dots .dot { width: 10px; height: 10px; border-radius: 50%; }
.window-dots .red { background-color: #ef4444; }
.window-dots .yellow { background-color: #f59e0b; }
.window-dots .green { background-color: #10b981; }

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

.cyber-body {
    padding: 24px;
    font-family: monospace;
    font-size: 0.9rem;
}

.code-line { margin-bottom: 8px; color: var(--text-muted); }
.code-prompt { color: var(--secondary); font-weight: bold; margin-right: 6px; }
.code-output { margin-bottom: 16px; padding-left: 14px; font-weight: 600; }
.code-output.success { color: var(--accent-green); }
.code-output.link { color: var(--accent-blue); }

.avatar-interactive-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    animation: spinRing 20s linear infinite;
}

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

.avatar-box {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 25px var(--primary-glow);
}

.avatar-svg { width: 100%; height: 100%; }

/* Section Header Commons */
section {
    padding: 90px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before { opacity: 1; }

.service-icon-box {
    width: 54px;
    height: 54px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

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

.btn-service-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-service-action:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-service-action .arrow {
    transition: var(--transition-fast);
}

.btn-service-action:hover .arrow {
    transform: translateX(-4px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition-normal);
}

.about-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.about-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-bio-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-main);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--secondary);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    transition: width 1.2s ease-in-out;
}

/* Experience Section Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 2px;
    background: var(--border-highlight);
}

[dir="ltr"] .timeline::before {
    right: auto;
    left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-right: 55px;
}

[dir="ltr"] .timeline-item {
    padding-right: 0;
    padding-left: 55px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 10px var(--primary);
}

[dir="ltr"] .timeline-dot {
    right: auto;
    left: 12px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(20, 184, 166, 0.15);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.company {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.timeline-details {
    list-style-type: none;
}

.timeline-details li {
    position: relative;
    padding-right: 18px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

[dir="ltr"] .timeline-details li {
    padding-right: 0;
    padding-left: 18px;
}

.timeline-details li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: bold;
}

[dir="ltr"] .timeline-details li::before {
    right: auto;
    left: 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition-normal);
}

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

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

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

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.contact-details h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-details a, .contact-details p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.contact-details a:hover { color: var(--secondary); }

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

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

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.form-status-msg {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    display: none;
}

.form-status-msg.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.form-status-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark);
}

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

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   INTERACTIVE WIZARD MODAL STYLES
   ========================================================================== */

.wizard-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.wizard-modal-container {
    background: #0f172a;
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-glow);
    overflow: hidden;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.wizard-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

[dir="ltr"] .wizard-close-btn { left: auto; right: 16px; }

.wizard-close-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.wizard-header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.95);
}

.wizard-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.wizard-icon {
    font-size: 1.8rem;
    padding: 8px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 12px;
}

.wizard-title-group h3 { font-size: 1.3rem; font-weight: 800; color: var(--text-main); }
.wizard-title-group p { font-size: 0.88rem; color: var(--secondary); font-weight: 700; }

.wizard-progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 14px;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s ease;
}

.wizard-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.step-dot.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px var(--primary-glow);
}

.step-dot.completed {
    background: var(--secondary);
    color: #fff;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
}

.wizard-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex-grow: 1;
}

.wizard-step-pane {
    display: none;
}

.wizard-step-pane.active {
    display: block;
    animation: fadeInPane 0.3s ease;
}

@keyframes fadeInPane {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-pane-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* Service Selector inside Wizard Step 1 */
.wizard-service-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.wizard-service-item-card {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.wizard-service-item-card:hover, .wizard-service-item-card.selected {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.wizard-service-item-card .s-icon { font-size: 1.4rem; }
.wizard-service-item-card .s-name { font-size: 0.9rem; font-weight: 700; }

/* Dynamic Questions Styling Step 2 */
.question-block {
    margin-bottom: 22px;
}

.question-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.options-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-chip {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-chip:hover { background: rgba(255, 255, 255, 0.12); }

.option-chip.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px var(--primary-glow);
}

/* Urgency Cards Step 3 */
.urgency-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.urgency-card {
    display: block;
    cursor: pointer;
}

.urgency-card input { display: none; }

.urgency-content {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-fast);
}

.urgency-card input:checked + .urgency-content {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
}

.urgency-card.red input:checked + .urgency-content {
    border-color: var(--accent-red);
    background: rgba(239, 68, 68, 0.15);
}

.urgency-icon { font-size: 1.5rem; }

/* Summary Box Step 4 */
.wizard-summary-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

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

/* Success State */
.success-checkmark-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-green), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.email-highlight-box {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    color: #38bdf8;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 15px 0;
    letter-spacing: 0.5px;
}

.wizard-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-wrapper { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.4rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .wizard-service-selector-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.active { left: 0; }
    .btn-wizard-nav span:nth-child(2) { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; align-items: flex-start; gap: 15px; }
    .stat-divider { display: none; }
    .pro-services-tabs { gap: 6px; }
    .pst-tab { font-size: 0.72rem; padding: 7px 10px; }
    .pst-tab span { display: none; }
    .pst-panel-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRO SERVICES TABS
   ========================================================================== */
.pro-services-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.pst-tab {
    background: rgba(19, 27, 46, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 9px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.pst-tab:hover {
    border-color: var(--primary);
    color: var(--text-main);
    background: rgba(99, 102, 241, 0.1);
}

.pst-tab.active {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.pro-services-panels {
    position: relative;
}

.pst-panel {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    animation: fadeInUp 0.3s ease;
}

.pst-panel.active { display: block; }

.pst-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.pst-category h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.pst-category ul {
    list-style: none;
    padding: 0;
}

.pst-category ul li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 4px 0;
    padding-right: 16px;
    position: relative;
}

.pst-category ul li::before {
    content: '▸';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-size: 0.7rem;
    top: 5px;
}

[dir="ltr"] .pst-category ul li { padding-right: 0; padding-left: 16px; }
[dir="ltr"] .pst-category ul li::before { right: auto; left: 0; }

.pst-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    padding: 11px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px var(--primary-glow);
    display: block;
    margin: 0 auto;
}

.pst-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

/* WhatsApp button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #fff !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }

