/* === ÜMUMİ VƏ KOSMİK STİLLƏR === */
:root {
    --primary-color: #000011;      /* Kosmos Qarası */
    --secondary-color: #40c3ff;    /* Kosmik Mavi */
    --accent-color: #9f52ff;      /* Dumanlıq Bənövşəyi */
    --background-color: #000011;
    --light-background: #111122;  /* Tünd Göy (Kartlar üçün) */
    --text-color: #e0e0e0;        /* Açıq Boz (Mətn) */
    --heading-color: #ffffff;     /* Ağ (Başlıqlar) */
    --white-color: #fff;
    --header-height: 80px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow-shadow: 0 0 15px rgba(64, 195, 255, 0.5);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a3a 50%, #2a0a3a 100%);
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
}

/* İnteraktiv Kursor Stilləri */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s, transform 0.3s;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #00ffff;
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid #00ffff;
    transition: transform 0.1s linear;
}

/* Animations */
@keyframes neon-glow {
    0%, 100% { text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff; }
    50% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff; }
}
@keyframes border-glow {
    0%, 100% { box-shadow: 0 0 5px #00ffff, inset 0 0 5px rgba(0, 255, 255, 0.1); }
    50% { box-shadow: 0 0 20px #00ffff, inset 0 0 10px rgba(0, 255, 255, 0.2); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
/* General */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 1rem; color: #00ffff; animation: neon-glow 2s infinite alternate; }
.section-subtitle { text-align: center; font-size: 1.2rem; opacity: 0.8; margin-bottom: 4rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Header */
header { position: fixed; top: 0; width: 100%; background: rgba(10, 10, 35, 0.9); backdrop-filter: blur(10px); z-index: 1000; padding: 0.5rem 0; border-bottom: 1px solid rgba(0, 255, 255, 0.3); }
nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.logo { font-size: 1.8rem; font-weight: bold; color: #00ffff; animation: neon-glow 2s infinite alternate; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.header-logo-main { height: 55px; } /* Loqo ölçüsü böyüdüldü */
.nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-links a { color: #ffffff; text-decoration: none; transition: all 0.3s ease; padding: 0.5rem 1rem; border-radius: 25px; }
.nav-links a:hover { color: #00ffff; background: rgba(0, 255, 255, 0.1); transform: translateY(-2px); }
.mobile-menu { display: none; flex-direction: column; cursor: pointer; }
.mobile-menu span { width: 25px; height: 3px; background: #00ffff; margin: 3px 0; transition: 0.3s; }

/* DÜZƏLİŞ: Qeydiyyat Düyməsi Stili Təkmilləşdirildi */
.register-btn {
    border: 1px solid #00ffff;
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Mətnin bölünməsinin qarşısını alır */
}
.register-btn:hover {
    background: rgba(0, 255, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(0,255,255,0.3);
    color: #fff !important;
}

/* Açılan Menyu üçün stillər */
.nav-links .dropdown {
    position: relative;
}
.nav-links .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 35, 0.98);
    backdrop-filter: blur(10px);
    min-width: 240px;
    padding: 0.5rem 0;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    z-index: 1001;
    list-style: none;
}
.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}
.nav-links .dropdown-menu a {
    padding: 0.8rem 1.5rem;
    white-space: nowrap;
    display: block;
    width: 100%;
    border-radius: 0;
}
.nav-links .dropdown-menu a:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: none;
}
.nav-links .dropdown-menu i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #00ffff;
}
.nav-links .dropdown > a .fa-chevron-down {
    transition: transform 0.3s ease-in-out;
    font-size: 0.8em;
    margin-left: 5px;
}
.nav-links .dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* ... CSS faylının qalan hissəsi eyni qalır ... */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background: #0a0a23; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.matrix-rain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.matrix-column { position: absolute; top: -100px; color: #00ffff; font-family: 'Courier New', monospace; font-size: 14px; line-height: 1.2; opacity: 0.7; animation: matrix-fall linear infinite; text-shadow: 0 0 5px #00ffff; }
@keyframes matrix-fall { 0% { transform: translateY(-100vh); opacity: 1; } 100% { transform: translateY(100vh); opacity: 0; } }
.hero-content { position: relative; z-index: 4; padding-top: 20px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; animation: neon-glow 3s infinite alternate; }
.hero p { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.9; }
.company-name { margin: 1rem 0 2rem 0; }
.highlight { font-size: 2.2rem; font-weight: bold; background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient-shift 3s ease-in-out infinite, neon-glow 2s infinite alternate; }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.floating-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.floating-icon { position: absolute; font-size: 2rem; animation: float 6s ease-in-out infinite; opacity: 0.7; }

/* About Section */
.about-intro { padding: 6rem 2rem; background: rgba(0, 0, 0, 0.2); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text h2 { color: #00ffff; font-size: 2.5rem; margin-bottom: 1rem; animation: neon-glow 2s infinite alternate; }
.about-text p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 2rem; opacity: 0.9; }
.code-window { background: #1a1a2e; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3); animation: border-glow 3s infinite alternate; }
.window-header { background: #16213e; padding: 1rem; display: flex; align-items: center; gap: 1rem; }
.window-buttons { display: flex; gap: 0.5rem; }
.btn { width: 12px; height: 12px; border-radius: 50%; }
.btn.red { background: #ff5f57; } .btn.yellow { background: #ffbd2e; } .btn.green { background: #28ca42; }
.window-title { color: #8892b0; font-size: 0.9rem; }
.code-content { padding: 1.5rem; font-family: 'Courier New', monospace; line-height: 1.8; }
.code-line { color: #8892b0; }
.tag { color: #ff6b6b; }
.string { color: #4ecdc4; }

/* Features Section */
.features-section { padding: 6rem 2rem; background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(255, 0, 255, 0.03)); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { background: rgba(255, 255, 255, 0.03); padding: 2rem; border-radius: 15px; text-align: center; border: 1px solid rgba(0, 255, 255, 0.2); transition: all 0.3s ease; animation: border-glow 4s infinite alternate; }
.feature-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.06); border-color: #00ffff; }
.feature-icon-large { font-size: 3rem; margin-bottom: 1rem; display: block; }
.feature-card h3 { color: #00ffff; margin-bottom: 0.5rem; font-size: 1.2rem; }
.feature-card p { opacity: 0.8; font-size: 0.9rem; line-height: 1.5; }

/* Statistika Bölməsi Stilləri */
.stats-section { padding: 5rem 2rem; background: rgba(0,0,0,0.2); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }
.stat-item .icon { font-size: 3rem; color: #00ffff; margin-bottom: 1rem; }
.stat-item .number { font-size: 2.5rem; font-weight: bold; color: #ff00ff; }
.stat-item .text { font-size: 1.1rem; opacity: 0.8; margin-top: 0.5rem; }

/* Services Section */
.services { padding: 6rem 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: rgba(255, 255, 255, 0.05); padding: 2rem; border-radius: 20px; border: 1px solid rgba(0, 255, 255, 0.3); transition: all 0.3s ease; animation: border-glow 3s infinite alternate; }
.service-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); }
.service-icon { font-size: 3rem; margin-bottom: 1rem; display: block; text-align: center; }
.service-card h3 { color: #00ffff; margin-bottom: 1rem; font-size: 1.5rem; }
.service-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.service-features span { background: rgba(0, 255, 255, 0.1); color: #00ffff; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; border: 1px solid rgba(0, 255, 255, 0.3); }
.service-price { font-weight: bold; color: #ff00ff; font-size: 1.1rem; margin-top: 1rem; }

/* Process Section */
.process-section { padding: 6rem 2rem; background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05)); }
.process-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.process-step { text-align: center; position: relative; }
.step-number { width: 60px; height: 60px; background: linear-gradient(45deg, #00ffff, #ff00ff); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 1rem; animation: border-glow 2s infinite alternate; }
.step-content h3 { color: #00ffff; margin-bottom: 0.5rem; }

/* Portfolio Section */
.portfolio { padding: 6rem 2rem; background: rgba(0, 0, 0, 0.3); }
.portfolio-container { max-width: 1200px; margin: 0 auto; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; }
.portfolio-item { background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1)); border-radius: 20px; overflow: hidden; transition: all 0.3s ease; border: 1px solid rgba(0, 255, 255, 0.3); cursor: pointer; }
.portfolio-item:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3); }
.portfolio-image { height: 200px; background-size: cover; background-position: center; }
.portfolio-info { padding: 1.5rem; }
.portfolio-info h3 { color: #00ffff; margin-bottom: 0.5rem; }
.portfolio-info p { opacity: 0.8; font-size: 0.9rem; }

/* Müştəri Rəyləri Slayderi Stilləri */
.testimonials { padding: 6rem 2rem; background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05)); }
.slider-container { max-width: 800px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 15px; border: 1px solid rgba(0,255,255,0.2); }
.slides-wrapper { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; padding: 3rem; text-align: center; background: rgba(10,10,35,0.5); }
.slide img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #00ffff; margin-bottom: 1rem; }
.slide .quote { font-size: 1.2rem; font-style: italic; opacity: 0.9; margin-bottom: 1rem; line-height: 1.6; }
.slide .author { font-weight: bold; color: #00ffff; }
.slide .company { font-size: 0.9rem; color: #ff00ff; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 1rem; }
.slider-nav button { background: rgba(0,255,255,0.1); color: #00ffff; border: none; font-size: 2rem; cursor: pointer; padding: 0.5rem 1rem; border-radius: 50%; transition: background 0.3s; }
.slider-nav button:hover { background: rgba(0,255,255,0.3); }

/* Blog Section */
.blog { padding: 6rem 2rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.blog-card { background: rgba(255, 255, 255, 0.05); border-radius: 15px; overflow: hidden; border: 1px solid rgba(0, 255, 255, 0.2); transition: all 0.3s ease; cursor: pointer; }
.blog-card:hover { transform: translateY(-5px) scale(1.02); border-color: #00ffff; box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2); }
.blog-image { height: 150px; background-size: cover; background-position: center; }
.blog-content { padding: 1.5rem; }
.blog-content h3 { color: #00ffff; margin-bottom: 0.5rem; }
.blog-date { color: #ff00ff; font-size: 0.8rem; margin-bottom: 1rem; }

/* FAQ Section */
.faq-section { padding: 6rem 2rem; background: rgba(0, 0, 0, 0.3); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: rgba(255, 255, 255, 0.05); border-radius: 10px; margin-bottom: 1rem; border: 1px solid rgba(0, 255, 255, 0.2); overflow: hidden; }
.faq-question { padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; }
.faq-question:hover { background: rgba(0, 255, 255, 0.1); }
.faq-icon { color: #00ffff; font-size: 1.5rem; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: rgba(255, 255, 255, 0.02); }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 1.5rem; margin: 0; opacity: 0.8; line-height: 1.6; }

/* Əlaqə Forması Stilləri */
.contact-section { padding-bottom: 6rem; }
.form-container { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.form-container input, .form-container textarea, .form-container select {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Arial', sans-serif;
}
.form-container select {
     /* for Firefox */
    -moz-appearance: none;
      /* for Chrome */
    -webkit-appearance: none;
    /* For IE10 */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300ffff' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.form-container select option {
    background-color: #1a1a3a;
    color: #ffffff;
}
.form-container input:focus, .form-container textarea:focus, .form-container select:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0,255,255,0.3);
}
.form-container textarea { resize: vertical; min-height: 150px; }
.form-container .cta-button { 
    width: 100%; 
    border: none; 
    cursor: pointer; 
    padding: 1rem;
    font-size: 1rem;
    color: white;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.form-container .cta-button:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Modal Window Styles */
.modal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(10, 10, 35, 0.9); backdrop-filter: blur(5px); }
.modal-content { background-color: #1a1a3a; margin: 5% auto; padding: 30px; border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 15px; width: 80%; max-width: 700px; position: relative; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.close-button { color: #00ffff; position: absolute; top: 15px; right: 25px; font-size: 35px; font-weight: bold; cursor: pointer; transition: color 0.3s; }
.close-button:hover, .close-button:focus { color: #ffffff; }
.modal-image { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; }
.modal-content h2 { color: #00ffff; margin-bottom: 10px; }
.modal-date { color: #ff00ff; font-size: 0.9rem; margin-bottom: 20px; }
.modal-content p { line-height: 1.7; opacity: 0.9; }

/* Footer */
footer { background: rgba(10, 10, 35, 0.95); padding: 3rem 2rem 1rem; border-top: 1px solid rgba(0, 255, 255, 0.3); }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: #00ffff; margin-bottom: 1rem; animation: neon-glow 3s infinite alternate; }
.footer-section p, .footer-section li { opacity: 0.8; line-height: 1.6; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section a { color: #ffffff; text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: #00ffff; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(0, 255, 255, 0.2); opacity: 0.6; }

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10, 10, 35, 0.95); flex-direction: column; padding: 1rem; gap: 0; align-items: stretch; }
    .nav-links.active { display: flex; }
    .nav-links li { text-align: center; width: 100%; }
    .nav-links a { display: block; padding: 1rem; border-radius: 0; }
    .mobile-menu { display: flex; }
    
    /* --- Mobil üçün açılan menyu düzəlişi --- */
    .nav-links .dropdown { position: static; }
    .nav-links .dropdown:hover .dropdown-menu { display: none; }
    .nav-links .dropdown-menu {
        display: none;
        position: static;
        transform: none;
        background: transparent;
        border: none;
        min-width: auto;
        padding: 0 0 0 1.5rem;
   }
    .nav-links .dropdown.open .dropdown-menu {
        display: block;
    }
    .nav-links .dropdown-menu a {
        padding: 1rem;
        text-align: center;
    }
    /* --- /Mobil üçün açılan menyu düzəlişi --- */
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .services-grid, .portfolio-grid, .blog-grid, .features-grid, .about-content { grid-template-columns: 1fr; }
    .about-visual, .features-section { display: none; }
    .about-text p { display: none; }
    .mobile-about-toggle { display: block; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 10px; padding: 1rem; margin-top: 1rem; cursor: pointer; transition: all 0.3s ease; }
    .mobile-about-toggle:hover { background: rgba(0, 255, 255, 0.1); border-color: #00ffff; }
    .toggle-text { color: #00ffff; font-weight: bold; text-align: center; }
    .mobile-about-content { display: none; margin-top: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.02); border-radius: 8px; }
    .mobile-about-content.active { display: block; }
    .mobile-about-content p { display: block; font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; opacity: 0.9; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-item .number { font-size: 2rem; }

    .slide { padding: 2rem 1rem; }
    .slider-nav { padding: 0; }
    .slider-nav button { font-size: 1.5rem; padding: 0.3rem 0.8rem; }
    .slide .quote { font-size: 1rem; }

    .modal { align-items: center; justify-content: center; padding: 1rem; }
    .modal-content { width: 95%; margin: 0; padding: 20px; max-height: 90vh; overflow-y: auto; }
    .modal-image { height: 180px; }
    .modal-content h2 { font-size: 1.5rem; }
    .modal-content p { font-size: 1rem; }
}
@media (min-width: 769px) {
    .mobile-about-toggle, .mobile-about-content { display: none !important; }
}