/* -------------------------------------------------------------
   LAWSY LANDING PAGE STYLESHEET
   Brand Primary Color: #1D5083
   ------------------------------------------------------------- */

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

:root {
    --primary: #1D5083;
    --primary-light: #E3F2FD;
    --primary-dark: #123456;
    --accent: #FFD700;
    --text: #2C3E50;
    --text-muted: #7F8C8D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(29, 80, 131, 0.08);
    --shadow-hover: 0 20px 40px rgba(29, 80, 131, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ------------------ NAVIGATION BAR ------------------ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
    border-bottom: 1px solid #F0F2F5;
    transition: var(--transition);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    background-color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(29, 80, 131, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-download {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(29, 80, 131, 0.25);
    transition: var(--transition);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 80, 131, 0.35);
    background-color: var(--primary-dark);
}

/* ------------------ HERO SECTION ------------------ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 8%;
    background: radial-gradient(circle at 10% 20%, rgba(240, 245, 255, 0.5) 0%, rgba(255, 255, 255, 1) 90%);
    gap: 60px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(29, 80, 131, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 80, 131, 0.4);
    background-color: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    padding: 13px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(29, 80, 131, 0.15));
    animation: float 6s ease-in-out infinite;
}

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

/* ------------------ STATS ROW ------------------ */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 8%;
    background-color: var(--primary-light);
    border-radius: 24px;
    margin: 0 8% 80px 8%;
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    opacity: 0.8;
}

/* ------------------ FEATURES SECTION ------------------ */
.features {
    padding: 80px 8%;
    background-color: var(--bg-light);
    text-align: center;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #F0F2F5;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ------------------ FAQ SECTION ------------------ */
.faq {
    padding: 100px 15%;
    background-color: var(--bg-white);
}

.faq-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #ECEFF1;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    user-select: none;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.faq-item.active {
    border-color: var(--primary-light);
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px 30px;
    max-height: 200px;
}

.faq-question i {
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ------------------ DOWNLOAD BANNER ------------------ */
.download-banner {
    padding: 80px 8%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    border-radius: 30px;
    margin: 0 8% 80px 8%;
    box-shadow: var(--shadow-hover);
}

.download-banner h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
}

.download-banner p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 35px auto;
    line-height: 1.8;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    background-color: var(--bg-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.store-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary-light);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.store-btn i {
    font-size: 24px;
}

/* ------------------ FOOTER ------------------ */
footer {
    background-color: var(--bg-light);
    padding: 60px 8% 30px 8%;
    border-top: 1px solid #ECEFF1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.footer-col ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background-color: var(--bg-white);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ------------------ RESPONSIVE LAYOUTS ------------------ */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }
    
    .nav-links {
        display: none; /* simple hidden for static design or add burger */
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq {
        padding: 60px 5%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
