/* ============================
   CSS Variables & Reset
   ============================ */
:root {
    --primary-green: #1A3A5C;
    --primary-green-light: #1E4976;
    --primary-green-dark: #102437;
    --accent-gold: #E87722;
    --accent-gold-light: #F5A55A;
    --bg-dark: #0B0E14;
    --bg-gradient-1: #0E1520;
    --bg-gradient-2: #070B10;
    --text-white: #F5F5F5;
    --text-light: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(26, 58, 92, 0.1);
    --glass-border: rgba(232, 119, 34, 0.2);
    --glow-green: rgba(26, 58, 92, 0.5);
    --glow-gold: rgba(232, 119, 34, 0.35);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    direction: rtl;
}

/* ============================
   Particle Canvas
   ============================ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================
   Background Gradient Overlay
   ============================ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(26, 58, 92, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 119, 34, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(26, 58, 92, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-gradient-1) 0%, var(--bg-dark) 50%, var(--bg-gradient-2) 100%);
    z-index: 0;
    pointer-events: none;
}

/* ============================
   Floating Decorative Elements
   ============================ */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: floatCircle 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    border-color: rgba(232, 119, 34, 0.08);
    animation-delay: 0s;
    animation-duration: 25s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -80px;
    border-color: rgba(26, 58, 92, 0.12);
    animation-delay: -5s;
    animation-duration: 20s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    border-color: rgba(232, 119, 34, 0.06);
    animation-delay: -10s;
    animation-duration: 30s;
}

.circle-4 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: 30%;
    border-color: rgba(26, 58, 92, 0.08);
    animation-delay: -15s;
    animation-duration: 35s;
}

.circle-5 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 15%;
    border-color: rgba(232, 119, 34, 0.07);
    animation-delay: -8s;
    animation-duration: 18s;
}

@keyframes floatCircle {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(30px, -20px) rotate(90deg) scale(1.05);
    }

    50% {
        transform: translate(-20px, 30px) rotate(180deg) scale(0.95);
    }

    75% {
        transform: translate(15px, 15px) rotate(270deg) scale(1.02);
    }
}

/* ============================
   Main Container
   ============================ */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 800px;
    width: 100%;
    min-height: 100vh;
    gap: 30px;
}

/* ============================
   Logo Section
   ============================ */
.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 280px;
    animation: logoEntrance 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(30px);
        filter: blur(10px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.logo {
    width: 220px;
    height: auto;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 30px rgba(26, 58, 92, 0.5)) drop-shadow(0 0 60px rgba(232, 119, 34, 0.2));
    animation: logoPulse 4s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 20px;
    background: white;
    padding: 10px;
}

.logo:hover {
    transform: scale(1.08) rotate(2deg);
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(26, 58, 92, 0.5)) drop-shadow(0 0 60px rgba(26, 58, 92, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(26, 58, 92, 0.7)) drop-shadow(0 0 80px rgba(26, 58, 92, 0.4)) drop-shadow(0 0 25px rgba(232, 119, 34, 0.35));
    }
}

.logo-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(26, 58, 92, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    z-index: 2;
}

.logo-ring-1 {
    width: 260px;
    height: 260px;
    border-color: rgba(232, 119, 34, 0.2);
    animation: ringRotate 15s linear infinite;
}

.logo-ring-2 {
    width: 300px;
    height: 300px;
    border-color: rgba(26, 58, 92, 0.15);
    animation: ringRotate 20s linear infinite reverse;
    border-style: dashed;
}

.logo-ring-3 {
    width: 340px;
    height: 340px;
    border-color: rgba(232, 119, 34, 0.07);
    animation: ringRotate 30s linear infinite;
    border-style: dotted;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================
   Text Content
   ============================ */
.text-content {
    text-align: center;
    animation: textEntrance 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes textEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

.title-line-1 {
    font-size: 4rem;
    animation-delay: 0s;
}

.title-line-2 {
    font-size: 5rem;
    animation-delay: 0.5s;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.divider-line {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.divider-diamond {
    color: var(--accent-gold);
    font-size: 0.8rem;
    animation: diamondPulse 2s ease-in-out infinite;
}

@keyframes diamondPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(45deg);
    }
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 15px;
    direction: ltr;
    opacity: 0.9;
}

.description {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
}



/* ============================
   Notify Section
   ============================ */
.notify-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    animation: notifyEntrance 1s ease-out 1.1s forwards;
    opacity: 0;
}

@keyframes notifyEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.notify-text {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.notify-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 5px;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.input-wrapper:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1), 0 0 60px rgba(27, 94, 32, 0.1);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    padding: 15px 20px;
    direction: rtl;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.notify-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(27, 94, 32, 0.4);
}

.notify-btn:hover::before {
    left: 100%;
}

.notify-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.notify-btn:hover .btn-icon {
    transform: translateX(-5px);
}

.success-message {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(26, 58, 92, 0.2);
    border: 1px solid rgba(232, 119, 34, 0.3);
    border-radius: 50px;
    color: #F5A55A;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-message.show {
    display: flex;
}

@keyframes successPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
}

/* ============================
   Social Links
   ============================ */
.social-links {
    display: flex;
    gap: 15px;
    animation: socialEntrance 1s ease-out 1.4s forwards;
    opacity: 0;
}

@keyframes socialEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--primary-green);
    border-color: var(--primary-green-light);
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.3);
}

/* ============================
   Footer
   ============================ */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    z-index: 1;
}

.footer p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    font-weight: 700;
    direction: ltr;
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 768px) {
    .logo-wrapper {
        width: 220px;
        height: 220px;
    }

    .logo {
        width: 170px;
    }

    .logo-ring-1 {
        width: 200px;
        height: 200px;
    }

    .logo-ring-2 {
        width: 240px;
        height: 240px;
    }

    .logo-ring-3 {
        width: 280px;
        height: 280px;
    }

    .title-line-1 {
        font-size: 2.8rem;
    }

    .title-line-2 {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
        letter-spacing: 5px;
    }

    .description {
        font-size: 0.95rem;
    }


    .input-wrapper {
        flex-direction: column;
        border-radius: 20px;
        padding: 5px;
    }

    .input-wrapper input {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
    }

    .notify-btn {
        width: 100%;
        justify-content: center;
        border-radius: 15px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
        gap: 25px;
    }

    .logo-wrapper {
        width: 180px;
        height: 180px;
    }

    .logo {
        width: 140px;
    }

    .logo-ring-1 {
        width: 170px;
        height: 170px;
    }

    .logo-ring-2 {
        width: 200px;
        height: 200px;
    }

    .logo-ring-3 {
        width: 230px;
        height: 230px;
    }

    .title-line-1 {
        font-size: 2.2rem;
    }

    .title-line-2 {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

}

/* ============================
   Scroll Animation Utility
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   Selection Styling
   ============================ */
::selection {
    background: rgba(26, 58, 92, 0.5);
    color: var(--text-white);
}