/* Base & Reset */
:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(to left, #60a5fa, #c084fc);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Background */
.bg-animation {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle at top right, #1e1b4b 0%, #020617 60%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: #8b5cf6;
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #0ea5e9;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, -50px) scale(1.2);
    }
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-outline-sm {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-sm:hover {
    background: white;
    color: var(--bg-darker);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.btn-call {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-call:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: white;
    text-decoration: none;
}

.logo i {
    color: #c084fc;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-outline-sm) {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    opacity: 0.8;
}

.nav-links a:not(.btn-outline-sm):hover {
    color: #60a5fa;
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stats {
    display: flex;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 600;
}

.stat-item i {
    color: #4ade80;
}

/* Hero Visual Mockup */
.hero-visual {
    flex: 1;
    min-width: 320px;
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-mockup {
    width: 100%;
    max-width: 400px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: perspective(1000px) rotateY(-5deg) translateY(0);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 10;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #eab308;
}

.mockup-dots span:nth-child(3) {
    background: #22c55e;
}

.mockup-url {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    color: #94a3b8;
    font-family: monospace;
}

.mockup-body {
    padding: 32px 24px;
}

.card-preview {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
}

.card-icon {
    font-size: 40px;
    color: #fbbf24;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.card-title {
    font-size: 24px;
    color: white;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 32px;
}

.inputs-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-skeleton {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #64748b;
    text-align: right;
}

.input-skeleton:nth-child(2) {
    text-align: left;
}

.btn-skeleton {
    background: var(--gradient-brand);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-top: 8px;
}

/* Floating Elements */
.float-el {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    z-index: 20;
    animation: bounce 3s infinite alternate ease-in-out;
}

.float-1 {
    top: 40px;
    right: -25px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    animation-delay: 0s;
}

.float-2 {
    bottom: 80px;
    left: -25px;
    background: linear-gradient(135deg, #eab308, #f59e0b);
    animation-delay: -1s;
}

.float-3 {
    top: 50%;
    right: -30px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    animation-delay: -2s;
}

@keyframes bounce {
    0% {
        transform: translateY(0) rotate(0);
    }

    100% {
        transform: translateY(-15px) rotate(10deg);
    }
}

/* Section Title */
.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-box {
    padding: 40px 32px;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(96, 165, 250, 0.4);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #60a5fa;
    margin-bottom: 24px;
}

.feature-box h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: white;
}

.feature-box p {
    color: var(--text-muted);
}

/* How it works */
.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    transition: background 0.3s;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 32px;
    line-height: 1;
}

.step-content h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 16px;
}

/* CTA Section */
.cta-box {
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(96, 165, 250, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.contact-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.contact-number {
    font-size: 48px;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(10px);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.footer-logo i {
    color: #c084fc;
}

.footer p {
    color: #64748b;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        display: flex;
        text-align: center;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .action-buttons .btn {
        width: 100%;
        justify-content: center;
        display: flex;
    }

    .stats {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
        padding: 0 10px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .cta-box h2 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .contact-number {
        font-size: 28px;
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .step-number {
        margin-left: 0;
        margin-bottom: 16px;
    }
}

/* EID App Specific Styles */
.app-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.app-panel {
    width: 100%;
    max-width: 480px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.app-logo {
    margin-bottom: 24px;
}

.app-logo img {
    max-width: 160px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-header {
    margin-bottom: 32px;
}

.app-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.app-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    margin-top: 12px;
    border: none;
}