/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #FAF2E7;
    --text-primary: #1A1A1A;
    --text-secondary: #2C2418;
    --text-muted: #6B6456;
    --accent: #B84233;
    --accent-hover: #9A3629;
    --border-light: rgba(44, 36, 24, 0.12);
    --border-medium: rgba(44, 36, 24, 0.2);
    --card-bg: rgba(255, 255, 255, 0.6);
    --shadow-subtle: 0 2px 20px rgba(44, 36, 24, 0.06);
    --shadow-medium: 0 4px 30px rgba(44, 36, 24, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* Subtle Background Texture */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(184, 66, 51, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(184, 66, 51, 0.02) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Main Content */
.content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: inline-block;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
}

.logo-highlight {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-top: 8px;
    letter-spacing: -0.02em;
}

.logo-arabic {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: 0;
}

.logo-separator {
    margin: 0 0.3em;
    opacity: 0.3;
    font-weight: 300;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 35px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 100px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.mission-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 40px 32px;
    text-align: left;
    transition: all 0.35s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-medium);
}

.mission-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.mission-icon svg {
    width: 100%;
    height: 100%;
}

.mission-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInUp 1s ease-out 0.9s both;
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.countdown-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 500;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 10px;
}

.countdown-item {
    background: transparent;
    padding: 15px 35px;
    min-width: auto;
    transition: all 0.3s ease;
    border-right: 1px solid var(--border-light);
}

.countdown-item:last-child {
    border-right: none;
}

.countdown-item:hover {
    transform: scale(1.05);
}

.countdown-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.countdown-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 100px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.newsletter-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-weight: 500;
}

.newsletter-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.newsletter-form {
    width: 100%;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.form-group input {
    flex: 1;
    padding: 16px 22px;
    font-size: 0.98rem;
    border: 1px solid var(--border-medium);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 66, 51, 0.08);
    background: #ffffff;
}

.submit-btn {
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 66, 51, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    min-height: 30px;
    padding: 12px;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-message.success {
    background: rgba(76, 120, 68, 0.08);
    color: #3d7a38;
    border: 1px solid rgba(76, 120, 68, 0.2);
}

.form-message.error {
    background: rgba(184, 66, 51, 0.08);
    color: var(--accent);
    border: 1px solid rgba(184, 66, 51, 0.2);
}

/* Social Section */
.social-section {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.social-title {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(184, 66, 51, 0.05);
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 20px 40px;
    border-top: 1px solid var(--border-light);
    animation: fadeIn 1s ease-out 1.8s both;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.footer-link a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 40px 25px;
    }
    
    .logo-text {
        font-size: 0.85rem;
        letter-spacing: 0.35em;
    }
    
    .logo-highlight {
        font-size: 3rem;
    }
    
    .logo-arabic {
        font-size: 3rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mission-icon {
        width: 40px;
        height: 40px;
    }
    
    .mission-card {
        padding: 35px 28px;
    }
    
    .countdown-section {
        padding: 50px 0;
    }
    
    .countdown-section h2 {
        font-size: 1.9rem;
    }
    
    .countdown-item {
        padding: 15px 25px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .newsletter-section h2 {
        font-size: 1.9rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 30px 20px;
    }
    
    .logo-section {
        margin-bottom: 60px;
    }
    
    .logo-highlight {
        font-size: 2.5rem;
    }
    
    .logo-arabic {
        font-size: 2.5rem;
    }
    
    .logo-separator {
        margin: 0 0.2em;
    }
    
    .main-title {
        font-size: 1.9rem;
    }
    
    .hero-section {
        margin-bottom: 70px;
    }
    
    .mission-grid {
        margin-bottom: 70px;
    }
    
    .countdown-section {
        padding: 40px 0;
    }
    
    .countdown {
        gap: 0;
    }
    
    .countdown-item {
        padding: 12px 18px;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}

