/* AJS Responsive Style (Adaptive) */
:root {
    --r-primary: #0066ff;
    --r-dark: #1e293b;
    --r-text: #334155;
    --r-bg-light: #f8fafc;
    --r-border: #e2e8f0;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--r-text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

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

/* Header */
.r-header {
    height: 70px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.r-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--r-primary);
    display: flex; align-items: center; gap: 8px;
}

.r-menu { display: flex; gap: 30px; }
.r-menu a { font-weight: 500; color: #64748b; }
.r-menu a:hover { color: var(--r-primary); }

.r-menu-mobile { display: none; font-size: 24px; cursor: pointer; }

/* Hero */
.r-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-txt { flex: 1; }
.hero-h1 {
    font-size: 48px;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
}

.hero-p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
}

.hero-btns { display: flex; gap: 15px; }

.btn-r-pri {
    background: var(--r-primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

.btn-r-sec {
    background: white;
    border: 1px solid var(--r-border);
    color: var(--r-text);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

.hero-img {
    flex: 1;
    height: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
}

/* Features Grid */
.r-feat-sec { padding: 80px 0; }
.feat-grid-r {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feat-card-r {
    padding: 30px;
    border: 1px solid var(--r-border);
    border-radius: 12px;
    transition: transform 0.2s;
}

.feat-card-r:hover { transform: translateY(-5px); border-color: var(--r-primary); }

.fc-icon-r { font-size: 32px; margin-bottom: 15px; display: block; }
.fc-title-r { font-size: 18px; font-weight: 700; margin-bottom: 10px; }

/* Download Section */
.dl-sec-r { padding: 60px 0; background: var(--r-bg-light); }
.dl-grid-r {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.dl-item-r {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.dl-icon-r { font-size: 40px; margin-bottom: 15px; display: block; }
.btn-dl-r {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 8px 0;
    background: #eff6ff;
    color: var(--r-primary);
    border-radius: 6px;
    font-weight: 600;
}

/* Footer */
.footer-r { padding: 50px 0 20px; border-top: 1px solid var(--r-border); text-align: center; color: #94a3b8; font-size: 14px; }
.footer-links { margin-bottom: 20px; display: flex; justify-content: center; gap: 30px; }

/* --- Responsive Media Queries --- */

/* Tablet & Mobile */
@media (max-width: 900px) {
    .hero-h1 { font-size: 36px; }
    .hero-flex { flex-direction: column; text-align: center; }
    .hero-btns { justify-content: center; }
    .feat-grid-r { grid-template-columns: repeat(2, 1fr); }
    .dl-grid-r { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile Only */
@media (max-width: 600px) {
    .r-menu { display: none; } /* Hide desktop menu */
    .r-menu-mobile { display: block; } /* Show hamburger */
    
    .hero-h1 { font-size: 30px; }
    .hero-img { width: 100%; height: 250px; }
    .hero-btns { flex-direction: column; }
    .btn-r-pri, .btn-r-sec { display: block; text-align: center; }
    
    .feat-grid-r { grid-template-columns: 1fr; }
    .dl-grid-r { grid-template-columns: 1fr; }
    
    .footer-links { flex-direction: column; gap: 15px; }
}
