/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', zarid;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', zarid;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0dae91;
    color: white;
}

[dir = "rtl"] .btn-primary {
    font-size: 16px !important;
}

[dir = "ltr"] .btn-primary {
    font-size: 12px !important;
}

.btn-primary:hover {
    background-color: #0b947b;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid #e9e9eb;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: #f8fafc;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    /* width: 116px; */
    height: 50px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1e293b;
}

.download-link {
    font-weight: 600;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: #1e293b;
}

/* Hero Section */
.hero {
    padding: 96px 0;
    background: #F8FAFC;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 133px;
}

.hero-text {
    flex: 1;
    max-width: 625px;
}

.hero-title {
    font-family: 'Inter', zarid;
    font-size: 60px;
    font-weight: 600;
    color: #181d27;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1.2px;
}

.hero-description {
    font-size: 20px;
    color: #535861;
    margin-bottom: 48px;
    max-width: 433px;
    line-height: 1.5;
}

.hero-image {
    position: relative;
    width: 512px;
    height: 640px;
}

.blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 532px;
    height: 480px;
    z-index: 1;
}

.phone-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 314px;
    height: 640px;
    z-index: 2;
}

.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: black;
    border-radius: 51px;
    box-shadow: 12px 12px 24px -1.5px rgba(10, 12, 18, 0.08), 24px 24px 48px -3px rgba(10, 12, 18, 0.2);
}

.phone-screen {
    position: absolute;
    top: 2.23%;
    left: 5.02%;
    width: 89.71%;
    height: 95.31%;
    background: white;
    border-radius: 45px;
    overflow: hidden;
}

.screen-content {
    position: absolute;
    top: 3.94%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.status-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.68%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.status-time {
    width: 21px;
    height: 8px;
}

.status-icons {
    width: 50px;
    height: 8px;
}

.home-indicator {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: black;
    border-radius: 75px;
}

.phone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99.77%;
    pointer-events: none;
}

/* Services Section */
.services {
    padding: 96px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.section-description {
    font-size: 20px;
    color: #535861;
    line-height: 1.5;
    max-width: 840px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card.active {
    border-color: #0dae91;
}

.service-icon {
    width: 60px;
    height: 60px;
}

.complex-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-console {
    width: 42px;
    height: 42px;
    z-index: 2;
}

.cards-stack {
    position: absolute;
    top: 9px;
    left: 5px;
    width: 48px;
    height: 34px;
    transform: rotate(30deg);
}

.card {
    position: absolute;
    width: 37px;
    height: 23px;
    border-radius: 1px;
}

.card-1 {
    background: #cbd5e1;
    top: 11px;
    left: 1px;
}

.card-2 {
    background: #0b947b;
    top: 1px;
    left: 9px;
}

.card-3 {
    background: #0dae91;
    top: 0;
    left: 9px;
}

.service-title {
    font-size: 18px;
    font-weight: 500;
    color: #475569;
    text-align: center;
}

.service-card.active .service-title {
    color: #0dae91;
    font-weight: 600;
}

.service-highlight {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.highlight-title {
    font-size: 20px;
    font-weight: 600;
    color: #086857;
    margin-bottom: 16px;
}

.highlight-description {
    font-size: 18px;
    color: #475569;
    line-height: 1.5;
    max-width: 844px;
    margin: 0 auto;
}

/* Registration Section */
.registration {
    padding: 96px 0;
    background: white;
}

.registration-cards {
    display: flex;
    gap: 30px;
}

.registration-card {
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-text {
    flex: 1;
    max-width: 375px;
}

.card-title {
    font-size: 32px;
    font-weight: 600;
    color: #022410;
    margin-bottom: 16px;
    line-height: 1.2;
}

.card-description {
    font-size: 20px;
    color: #4b5563;
    line-height: 1.5;
}

.card-image {
    width: 100%;
}

.btn-primary:active, .btn-primary:focus {
    background-color: #0dae91 !important;
}

.registration-cards {
  display: flex;
  gap: 20px;
}

.registration-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f9fcfd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  flex: 1;
  min-height: 350px;
}

.card-content {
  flex: 1; /* fills available space above button */
}

.registration-card .btn-full {
  margin-top: auto; /* pushes button down */
}

.registration-card .btn-full:hover {
  background-color: #009874;
}

/* App Download Section */
.app-download {
    padding: 96px 0;
    background: white;
}

.download-content {
    background: #0dae91;
    border-radius: 24px;
    padding: 64px 64px 0 64px;
    display: flex;
    align-items: center;
    gap: 64px;
    overflow: hidden;
    position: relative;
}

.download-text {
    flex: 1;
    max-width: 480px;
}

.download-title {
    font-family: 'Inter', zarid;
    font-size: 48px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    line-height: 1.25;
    letter-spacing: -0.96px;
}

.download-description {
    font-size: 20px;
    color: #e6fdf9;
    margin-bottom: 48px;
    line-height: 1.5;
}

.download-options {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qr-card {
    width: 160px;
    height: 160px;
    display: flex;
}

.qr-code {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: block;
}

.store-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-badge {
    width: 149px;
    height: 44px;
}

.google-play-badge {
    position: relative;
    width: 148.5px;
    height: 44px;
    background: black;
    border-radius: 7px;
    border: 1px solid #a6a6a6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-logo {
    position: absolute;
    top: 8px;
    left: 11px;
    width: 25px;
    height: 28px;
}

.get-it-on {
    position: absolute;
    top: 16.94%;
    left: 30.56%;
    width: 28.78%;
    height: 15.67%;
}

.google-play-text {
    position: absolute;
    top: 42.62%;
    left: 30.40%;
    width: 62.80%;
    height: 42.58%;
}

.download-phones {
    flex: 1;
    position: relative;
    height: 512px;
}

/* App image (single visual) */
.app-download .app-img {
    flex: 1;
    position: relative;
    height: 520px;
}

.app-download .app-img img {
    position: absolute;
    /* right: -60px; */
    bottom: 0;
    /* height: 120%; */
    width: auto;
}

.phone-left {
    position: absolute;
    top: 112px;
    left: 48px;
}

.phone-right {
    position: absolute;
    top: 48px;
    right: 48px;
}

/* Advantages Section */
.advantages {
    padding: 96px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background: #bbede4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 20px;
    height: 20px;
}

.advantage-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.advantage-description {
    font-size: 16px;
    color: #475569;
    line-height: 1.5;
}

/* Appointment Section */
.appointment {
    padding: 96px 0;
    background: white;
}

.appointment-content {
    background: #f5f5f5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.appointment-text {
    flex: 1;
    padding: 64px;
}

.appointment-title {
    font-family: 'Inter', zarid;
    font-size: 36px;
    font-weight: 600;
    color: #181d27;
    margin-bottom: 20px;
    line-height: 1.22;
    letter-spacing: -0.72px;
}

.appointment-description {
    font-size: 20px;
    color: #535861;
    margin-bottom: 48px;
    line-height: 1.5;
    max-width: 480px;
}

.appointment-image {
    flex: 1;
    height: 480px;
    position: relative;
    padding: 47px;
}

.mockup-container {
    background: white;
    border-radius: 20px;
    border: 0.63px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 2.53px;
    height: 120%;
    width: 115%;
}

.mockup-frame {
    background: white;
    border-radius: 17.68px;
    overflow: hidden;
    box-shadow: inset 0 0 2.53px 1.26px rgba(10, 12, 18, 0.03), inset 0 0 3.79px 1.26px rgba(10, 12, 18, 0.08);
    height: 100%;
}

.mockup-screen {
    background: #f5f5f5;
    border-radius: 15.16px;
    border: 1.26px solid #e9e9eb;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Testimonials Section */
.testimonials {
  background: white;
}

.testimonial-card {
  background: #F8FAFC;
  border-radius: 15px;
  padding: 20px;
  margin: 0 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  text-align: left;
  min-height: 180px;
}
.testimonial-text {
  font-size: 15px;
  margin-bottom: 15px;
  color: #333;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.verified-icon {
  width: 16px;
  height: 16px;
}
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.control-btn {
  background: #f3f4f6;
  color: #4b5563;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.control-btn:hover {
  background: #e5e7eb;
}

/* Newsletter Section */
.newsletter {
    padding: 96px 0;
    background: #f1f5f9;
}

.newsletter-content {
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: 'Inter', zarid;
    font-size: 36px;
    font-weight: 600;
    color: #181d27;
    margin-bottom: 12px;
    line-height: 1.22;
    letter-spacing: -0.72px;
}

[dir="rtl"] .newsletter-title {
    letter-spacing: 0;
}

.newsletter-description {
    font-size: 20px;
    color: #535861;
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
}

[dir="rtl"] .newsletter-form {
    flex-direction: row-reverse;
}

.newsletter-input {
    flex: 1 1 220px;
    min-width: 220px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    direction: ltr;
    text-align: left;
    line-height: 1.5;
}

.newsletter-input::placeholder {
    color: #94a3b8;
    font-size: 15px;
}

/* Button styling - use space between selectors to target child elements */
.newsletter-form .btn-primary,
.newsletter-form .btn,
.newsletter-btn {
    font-size: 16px;
    padding: 12px 24px;
    white-space: nowrap;
    border-radius: 8px;
    background: #0dae91;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-form .btn-primary:hover,
.newsletter-form .btn:hover,
.newsletter-btn:hover,
.newsletter-btn:focus {
    background: #0b947b;
    outline: none;
    transform: none;
    font-size: 12px !important;
}


/* Footer */
.footer {
    background: white;
    padding: 56px 0 24px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 64px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 164px;
    height: 71px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-title {
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link {
    font-size: 16px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1e293b;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #4b5563;
}

.contact-icon {
    width: 16px;
    height: 16px;
}

.directions-link {
    font-size: 16px;
    color: #4b5563;
    text-decoration: underline;
    margin-left: 24px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-group {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.divider {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
}

.app-links {
    display: flex;
    gap: 16px;
}

.app-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #d1d5db;
}

.copyright {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: #1e293b;
}

.language {
    font-weight: 500;
    color: #4b5563;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 64px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 0;
    }
    
    .testimonial-card:last-child {
        margin-right: 0;
    }
    
    .registration-cards {
        flex-direction: column;
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    .app-download .app-img {
        height: 360px;
    }
    .app-download .app-img img {
        position: static;
        height: auto;
        width: 100%;
    }
    
    .appointment-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-links {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 48px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 16px;
    }
}