/* Design System & Variables */
:root {
    --bg-color: #020617;
    --bg-card: rgba(30, 41, 59, 0.5);
    --primary: #0ea5e9;
    --primary-glow: rgba(14, 165, 233, 0.4);
    --secondary: #64ffda;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Cairo', 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Header & Nav */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--glass-border);
}

/* Hero Section */
.hero-section {
    padding: 12rem 0 8rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.main-visual-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
}

.floating-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 20%;
    width: 200px;
}

.card-2 {
    bottom: 10%;
    right: 10%;
    width: 160px;
    text-align: center;
    animation-delay: 2s;
}

.stat-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.code-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 10px 0;
    width: 100%;
}

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

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #08101f 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.wa-btn:hover {
    background: #128c7e;
    transform: scale(1.05);
    color: white;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.feature-img {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.f-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-list h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-list p {
    color: var(--text-muted);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

/* Workflow Section */
.workflow-section {
    padding: 8rem 0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.work-step {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    position: relative;
    transition: var(--transition);
}

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

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(14, 165, 233, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.work-step h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.work-step p {
    color: var(--text-muted);
    position: relative;
}

/* Vision Section */
.vision-section {
    padding: 8rem 0;
    position: relative;
}

.vision-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.vision-card h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    text-align: right;
}

.vision-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    border-right: 4px solid var(--secondary);
    transition: var(--transition);
}

.vision-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-right-color: var(--primary);
}

.v-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.v-tag i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.vision-item p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.9;
}

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(30, 41, 59, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Final */
.cta-final {
    padding: 6rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    padding: 5rem 2rem;
    border-radius: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px var(--primary-glow);
}

.cta-box h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

.cta-box .btn-primary:hover {
    background: var(--text-main);
    transform: translateY(-3px);
}

/* SEO Section */
.seo-section {
    padding: 8rem 0;
}

.seo-box {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    color: white;
}

.seo-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.seo-box .text-gradient {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.seo-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* Footer */
footer {
    background: #01040a;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-addr {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-link {
    color: var(--primary);
    font-weight: 700;
}

.footer-link:hover {
    text-decoration: underline;
    color: var(--secondary);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-grid, .features-grid, .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
    .nav-links { display: none; }
    .feature-list li { text-align: right; }
    
    .vision-grid {
        grid-template-columns: 1fr;
    }
    .vision-card {
        padding: 3rem 1.5rem;
    }
    .vision-card h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    .vision-item {
        padding: 2rem 1.5rem;
    }
}
