/* ===================================
   ميزانيتك – Mezanetak
   صفحة قريباً
   =================================== */

/* CSS Custom Properties - App Color Palette */
:root {
    /* Primary Colors */
    --primary-dark: #1B3C53;
    --primary-medium: #234C6A;
    --primary-light: #456882;
    --light-grey: #E3E3E3;

    /* Background Colors */
    --background-light: #F5F5F5;
    --background-dark: #0F1419;

    /* Surface Colors */
    --surface-light: #FFFFFF;
    --surface-dark: #1A1F24;

    /* Text Colors */
    --text-primary-light: #1B3C53;
    --text-primary-dark: #E3E3E3;
    --text-secondary-light: #456882;
    --text-secondary-dark: #94A3B8;

    /* Accent Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(35, 76, 106, 0.3) 0%, rgba(69, 104, 130, 0.3) 100%);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary-dark);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.8;
    direction: rtl;
}

/* ===================================
   Animated Background
   =================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--background-dark);
}

.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 80%, rgba(35, 76, 106, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 20%, rgba(69, 104, 130, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(27, 60, 83, 0.1) 0%, transparent 70%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-medium);
    top: 40%;
    left: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--primary-dark);
    bottom: 20%;
    left: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    top: 20%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-30px) rotate(5deg) scale(1.05);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg) scale(1);
    }

    75% {
        transform: translateY(-25px) rotate(3deg) scale(1.02);
    }
}

/* ===================================
   Main Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ===================================
   Logo Section
   =================================== */
.logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 60px;
    height: 60px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text-ar {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-text-en {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(69, 104, 130, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(69, 104, 130, 0.5));
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

/* Coming Soon - Clean and Large */
.coming-soon-title {
    font-size: clamp(80px, 18vw, 180px);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-shadow: 0 4px 60px rgba(255, 255, 255, 0.2);
}

.coming-soon-tagline {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Title */
.title {
    font-size: clamp(44px, 10vw, 80px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeIn 1s ease-out 0.4s both;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary-dark);
    max-width: 600px;
    margin-bottom: 48px;
    animation: fadeIn 1s ease-out 0.6s both;
}

/* ===================================
   Features Grid
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.feature-card {
    background: rgba(26, 31, 36, 0.8);
    border: 1px solid rgba(69, 104, 130, 0.2);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(69, 104, 130, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary-dark);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary-dark);
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* ===================================
   Notify Section
   =================================== */
.notify-section {
    width: 100%;
    max-width: 520px;
    animation: fadeIn 1s ease-out 1s both;
}

.notify-section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary-dark);
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    background: rgba(26, 31, 36, 0.8);
    border: 1px solid rgba(69, 104, 130, 0.3);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(69, 104, 130, 0.2);
}

.notify-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px;
    font-size: 16px;
    color: var(--text-primary-dark);
    font-family: inherit;
    text-align: right;
}

.notify-form input::placeholder {
    color: var(--text-secondary-dark);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(35, 76, 106, 0.4);
}

.submit-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleX(-1);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.form-note {
    font-size: 14px;
    color: var(--text-secondary-dark);
}

/* Success Message */
.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    padding: 24px;
    border-radius: 16px;
    color: var(--success);
    font-weight: 600;
    font-size: 17px;
    animation: fadeIn 0.5s ease-out;
}

.success-message.show {
    display: flex;
}

.success-message svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* ===================================
   Footer
   =================================== */
.footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    animation: fadeIn 1s ease-out 1.2s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.social-link {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 31, 36, 0.8);
    border: 1px solid rgba(69, 104, 130, 0.3);
    border-radius: 14px;
    color: var(--text-secondary-dark);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-medium);
    border-color: var(--primary-medium);
    color: white;
    transform: translateY(-4px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.copyright {
    font-size: 15px;
    color: var(--text-secondary-dark);
    font-weight: 500;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 24px 16px;
    }

    .input-wrapper {
        flex-direction: column;
        padding: 12px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .logo-text-ar {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo-text-ar {
        font-size: 24px;
    }

    .logo-text-en {
        font-size: 12px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .notify-section h2 {
        font-size: 22px;
    }
}

/* ===================================
   Prefers Reduced Motion
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}