:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;

    /* Animation variables */
    --animation-duration: 0.6s;
    --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --bounce-easing: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--animation-duration) var(--animation-easing);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--animation-duration) var(--animation-easing);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--animation-duration) var(--animation-easing);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--animation-duration) var(--bounce-easing);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

body {
    font-family: "Cairo", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Navbar */
.navbar {
    padding: 1rem 5%;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s var(--animation-easing);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar.scrolled {
    transform: translateY(-100%);
    opacity: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s var(--animation-easing);
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s var(--animation-easing);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo:hover {
    transform: scale(1.05);
}

.logo h1,
.logo h2 {
    font-size: 1.5rem;
    color: var(--white);
}

.logo span {
    color: var(--white);
    opacity: 0.9;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--animation-easing);
    opacity: 0.9;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--secondary-color),
        var(--accent-color)
    );
    transition: all 0.3s var(--animation-easing);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--white);
    opacity: 1;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .nav-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(
            135deg,
            rgba(44, 62, 80, 0.2),
            rgba(52, 152, 219, 0.15)
        ),
        url("https://images.unsplash.com/photo-1582407947304-fd86f028f716?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2096&q=80")
            center/cover no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: heroEntrance 1.2s var(--bounce-easing);
    position: relative;
    z-index: 2;
}

.hero-content > * {
    animation: fadeInUp 0.8s var(--animation-easing) forwards;
    opacity: 0;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-content .download-buttons {
    animation-delay: 0.6s;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-content h1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--white);
    transition: all 0.4s var(--bounce-easing);
    min-width: 180px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.download-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.download-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text small {
    font-size: 0.7rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.btn-text span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--bounce-easing);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--secondary-color),
        var(--accent-color)
    );
    transform: translateX(-100%);
    transition: transform 0.3s var(--animation-easing);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: all 0.4s var(--bounce-easing);
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 5%;
    background-color: var(--white);
}

.screenshots h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.screenshots-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem;
}

.screenshot {
    flex: 0 0 auto;
    width: 280px;
    animation: fadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.screenshot img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.screenshot img.loaded {
    opacity: 1;
}

.screenshot img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* AI Assistant Section */
.ai-assistant {
    padding: 5rem 5%;
    background: linear-gradient(
        135deg,
        var(--secondary-color),
        var(--primary-color)
    );
    color: var(--white);
}

.ai-content {
    max-width: 800px;
    margin: 0 auto;
}

.ai-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.ai-content p {
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

.ai-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.ai-content ul li {
    margin-bottom: 1rem;
    padding-right: 2rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.ai-content ul li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--accent-color);
}

/* Download CTA Section */
.download-cta {
    padding: 5rem 5%;
    text-align: center;
    background-color: var(--light-bg);
}

.download-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-cta p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 5% 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-description {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.store-badge {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink {
    0%,
    50% {
        border-color: transparent;
    }
    51%,
    100% {
        border-color: var(--secondary-color);
    }
}

/* Loading Screen */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s var(--animation-easing);
}

.loading-spinner {
    text-align: center;
    color: var(--white);
    font-family: "Cairo", sans-serif;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-spinner p {
    font-size: 1.1rem;
    margin-top: 1rem;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Enhanced Parallax Effects */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        );
    animation: float 6s ease-in-out infinite alternate;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    z-index: 1;
}

/* Advanced Button Animations */
.download-btn {
    position: relative;
    overflow: hidden;
}

.download-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    transition: all 0.5s var(--bounce-easing);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.download-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Feature Cards */
.feature-card {
    cursor: pointer;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(52, 152, 219, 0.05),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s var(--animation-easing);
}

.feature-card:hover::after {
    opacity: 1;
}

/* Advanced Text Effects */
.hero-content h1 {
    position: relative;
    overflow: hidden;
}

.hero-content h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: rgba(255, 255, 255, 0.8);
    border-right: 2px solid var(--secondary-color);
    overflow: hidden;
    animation: typewriter 3s steps(30) 1s forwards, blink 1s linear infinite;
}

/* Social Links Enhancement */
.social-links a {
    position: relative;
}

.social-links a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        var(--secondary-color),
        var(--accent-color)
    );
    transform: scale(0);
    transition: transform 0.3s var(--bounce-easing);
    z-index: -1;
}

.social-links a:hover::before {
    transform: scale(1.2);
}

/* Staggered Animation Delays */
.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Mobile Menu Animation */
.nav-links.active {
    animation: slideDown 0.3s var(--bounce-easing) forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Keyframe Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: transparent;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        background-position: center center;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshot {
        width: 240px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 8rem 5% 4rem;
    background-color: var(--light-bg);
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.legal-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.legal-content {
    line-height: 1.8;
    color: var(--text-color);
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-right: 1rem;
    border-right: 4px solid var(--secondary-color);
    animation: fadeInUp 0.8s ease-out both;
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    animation: fadeInUp 0.8s ease-out both;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
    animation: fadeInUp 0.8s ease-out both;
}

.legal-content ul {
    margin: 1rem 0;
    padding-right: 2rem;
    animation: fadeInUp 0.8s ease-out both;
}

.legal-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    right: -1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.contact-info {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
    animation: fadeInUp 0.8s ease-out both;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.highlight-box {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-right: 4px solid #f39c12;
    animation: fadeInUp 0.8s ease-out both;
}

.highlight-box h4 {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

/* Legal page responsive styles */
@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1.5rem;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 2rem;
        background-size: cover;
        background-position: center 30%;
    }

    .hero::after {
        background: rgba(0, 0, 0, 0.05);
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .download-buttons {
        flex-direction: column;
    }

    .screenshot {
        width: 200px;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }

    .legal-container {
        padding: 1.5rem 1rem;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }

    .logo-img {
        height: 35px;
    }
}
