/* Welcome Page / Mobile App Landing Page Styles */

:root {
    --primary-color: #3370ed; /* Blue */
    --secondary-color: #0d72b9; /* Darker Blue */
    --accent-green: #7ec247; /* Green */
    --accent-orange: #ffc107; /* Orange */
    --text-color: #2d3748; /* Darker Gray for better contrast */
    --text-light: #718096;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #3370ed 0%, #0d72b9 100%);
    --gradient-hero: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

body {
    font-family: "Instrument Sans", "Roboto", sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.landing-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-logo img {
    height: 45px;
}

.landing-nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.landing-nav-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(51, 112, 237, 0.3);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5% 8rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.hero-section::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(51, 112, 237, 0.05) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(126, 194, 71, 0.05) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(51, 112, 237, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title span {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 90%;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    background-color: #1a202c;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

.app-btn i {
    font-size: 28px;
    margin-right: 15px;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-btn-small {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-btn-large {
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background-color: #1a202c;
    border: 14px solid #1a202c;
    border-radius: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Notch */
.phone-mockup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background-color: #1a202c;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    position: relative;
}

/* Features Section */
.features-section {
    padding: 6rem 5%;
    background-color: var(--white);
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: #1a202c;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card:hover::before {
    height: 6px;
}

/* Specific Card Accents */
.feature-card:nth-child(2)::before {
    background: var(--accent-green);
}

.feature-card:nth-child(3)::before {
    background: var(--accent-orange);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(51, 112, 237, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:nth-child(2) .feature-icon {
    background: rgba(126, 194, 71, 0.1);
    color: var(--accent-green);
}

.feature-card:nth-child(3) .feature-icon {
    background: rgba(255, 193, 7, 0.1);
    color: var(--accent-orange);
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 5%;
    background-color: #f8fafc;
    text-align: center;
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(51, 112, 237, 0.3);
}

.step-item:nth-child(2) .step-number {
    background: var(--accent-green);
    box-shadow: 0 4px 10px rgba(126, 194, 71, 0.3);
}

.step-item:nth-child(3) .step-number {
    background: var(--accent-orange);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.step-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.landing-footer {
    background-color: #1a202c;
    color: #cbd5e0;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--white);
}

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

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .phone-mockup {
        width: 280px;
        height: 580px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .app-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .app-btn {
        justify-content: center;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }

    .landing-navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
    }
}
