:root {
    --primary-color: #00bcd4; /* Cyan/Teal */
    --secondary-color: #008ba3;
    --bg-color: #f9fbfd; /* Very light blueish white */
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.social-icons .icon {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-right: 15px; /* RTL margin */
    transition: var(--transition);
}

.social-icons .icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-image: url('assets/hero-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* ensure text is readable if bg is busy, though svg is light */
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-content.centered-hero {
    max-width: 800px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6); /* Glass effect for readability */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
    background: rgba(0, 188, 212, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}

.main-title {
    font-size: 4rem; /* Larger for centered layout */
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-heading {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 25px;
    font-weight: 400;
}

.description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.8;
}

.cta-button {
    padding: 15px 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 188, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0); }
}

.fade-in { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.fade-in-delay { animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.fade-in-delay-2 { animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }
.fade-in-delay-3 { animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0; }
.slide-in { animation: slideInRight 0.8s ease forwards; opacity: 0; }
.pulse { animation: pulse 2s infinite; }

/* Responsive */
@media (max-width: 900px) {
    .main-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero-content.centered-hero {
        padding: 30px 20px;
    }
    .main-title { font-size: 2.2rem; }
    .sub-heading { font-size: 1.2rem; }
}

/* Features Section */
#features {
    padding: 80px 0;
    min-height: 200px;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    width: 100%;
}

@media (max-width: 500px) {
    .section-title{
        left: auto;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.15);
    border-color: rgba(0, 188, 212, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    left: 0;
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 700;
}

/* Launch Message Section */
#launch-message {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, #e0f7fa 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#launch-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.05) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.launch-content {
    position: relative;
    z-index: 1;
}

.launch-title {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.launch-slogan {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

.launch-slogan .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.launch-slogan .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(0, 188, 212, 0.2);
    z-index: -1;
    transform: rotate(-2deg);
}

@media (max-width: 768px) {
    .launch-slogan { font-size: 1.8rem; }
}
