@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --bg-dark: #0B1120;
    --bg-darker: #05080f;
    --primary-peach: #FF8A7A;
    --primary-peach-hover: #ff725e;
    --card-bg: #ffffff;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --card-text: #1e293b;
    --card-text-muted: #64748b;
    --grid-color: rgba(255, 255, 255, 0.03);
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    color: var(--text-main);
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}
.logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span {
    color: var(--primary-peach);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}
.btn-primary {
    background-color: var(--primary-peach);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 138, 122, 0.4);
}
.btn-primary:hover {
    background-color: var(--primary-peach-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 122, 0.6);
}
.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0 120px;
    min-height: 80vh;
    gap: 50px;
}
.hero-content {
    flex: 1;
    max-width: 600px;
}
.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 15px;
}

/* Hero Visuals */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tilted-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: -20px 30px 60px rgba(0,0,0,0.4), 
                inset 0 1px 0 rgba(255,255,255,0.8);
    color: var(--card-text);
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.calendar-card {
    width: 320px;
    padding: 24px;
    transform: rotateY(15deg) rotateX(5deg) rotateZ(2deg) translateZ(-50px) translateX(-40px);
    z-index: 1;
}

.cal-header {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}
.cal-day-names {
    margin-bottom: 10px;
}
.cal-day-name {
    font-size: 11px;
    color: var(--card-text-muted);
    font-weight: 700;
}
.cal-day {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 500;
    margin: 0 auto;
}
.cal-day.text-muted {
    color: #cbd5e1;
}
.cal-day.active {
    background-color: #0f172a;
    color: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}

.time-card {
    width: 200px;
    padding: 20px;
    transform: rotateY(15deg) rotateX(5deg) rotateZ(2deg) translateZ(80px) translateX(120px) translateY(80px);
    z-index: 2;
}
.time-slot {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}
.time-slot.active {
    background-color: #0f172a;
    color: #fff;
    border-color: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}

.peach-bubble {
    position: absolute;
    background-color: var(--primary-peach);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 138, 122, 0.4);
    z-index: 3;
    animation: float 3s ease-in-out infinite alternate;
}
.peach-bubble::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.bubble-1 {
    top: -10px;
    right: 20%;
    transform: translateZ(20px);
}
.bubble-1::after {
    border-width: 8px 8px 0 8px;
    border-color: var(--primary-peach) transparent transparent transparent;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.bubble-2 {
    bottom: 100px;
    left: -40px;
    transform: translateZ(100px);
    animation-delay: 1s;
}
.bubble-2::after {
    border-width: 8px 8px 8px 0;
    border-color: transparent var(--primary-peach) transparent transparent;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
}

.bubble-3 {
    top: 50%;
    left: 10%;
    transform: translateZ(50px);
    animation-delay: 2s;
}
.bubble-3::after {
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent var(--primary-peach);
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes float {
    0% { transform: translateY(0px) translateZ(50px); }
    100% { transform: translateY(-10px) translateZ(50px); }
}

/* Sections Global */
section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.step-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.04);
}
.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 138, 122, 0.1);
    color: var(--primary-peach);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}
.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}
.step-card p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    transition: background 0.3s ease;
}
.feature-item:hover {
    background: rgba(255,255,255,0.02);
}
.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-peach);
    font-size: 20px;
    flex-shrink: 0;
}
.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}
.feature-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Business Owner CTA */
.owner-section {
    background: linear-gradient(135deg, rgba(255,138,122,0.1) 0%, transparent 100%);
    border: 1px solid rgba(255,138,122,0.2);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    margin: 100px 0;
    position: relative;
    overflow: hidden;
}
.owner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,138,122,0.2) 0%, transparent 70%);
    z-index: -1;
}
.owner-section h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

/* Pricing */
.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    color: var(--card-text);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-10px);
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-peach);
}
.price {
    font-size: 60px;
    font-weight: 800;
    margin: 20px 0;
    color: #0f172a;
}
.price span {
    font-size: 20px;
    color: var(--card-text-muted);
}
.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: right;
}
.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}
.pricing-features li i {
    color: #10b981;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-content {
        margin-bottom: 60px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
        height: 400px;
    }
    .steps-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    .calendar-card {
        transform: rotateY(15deg) rotateX(5deg) rotateZ(2deg) translateZ(-50px) translateX(20px);
    }
    .time-card {
        transform: rotateY(15deg) rotateX(5deg) rotateZ(2deg) translateZ(80px) translateX(80px) translateY(80px);
    }
}
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 40px;
    }
    header {
        flex-direction: column;
        gap: 20px;
    }
    .calendar-card {
        transform: scale(0.8) rotateY(15deg) rotateX(5deg) translateZ(-50px) translateX(40px);
    }
    .time-card {
        transform: scale(0.8) rotateY(15deg) rotateX(5deg) translateZ(80px) translateX(100px) translateY(80px);
    }
    .bubble-1, .bubble-2, .bubble-3 {
        transform: scale(0.8);
    }
}
