/* ============================================
   RM Management — Website Styles
   ============================================ */

:root {
    --primary: #1a3a5c;
    --primary-light: #2c5f8a;
    --accent: #c8a45e;
    --accent-light: #dcc07a;
    --dark: #0d1b2a;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

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

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-mark {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    letter-spacing: 1px;
}

.navbar.scrolled .logo-mark,
.footer .logo-mark {
    background: var(--primary);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.navbar.scrolled .logo-text {
    color: var(--dark);
}

.footer .logo-text {
    color: var(--white);
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

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

.btn-nav {
    background: var(--accent) !important;
    color: var(--dark) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.btn-nav:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.navbar.scrolled .mobile-menu span {
    background: var(--dark);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #2c5f8a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><rect fill="%230d1b2a" width="1440" height="900"/><g fill="none" stroke="%23c8a45e" stroke-width="0.5" opacity="0.08"><circle cx="200" cy="200" r="300"/><circle cx="800" cy="400" r="400"/><circle cx="1200" cy="100" r="250"/></g></svg>') center/cover no-repeat;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,164,94,0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* ---- Sections ---- */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: clamp(32px, 4vw, 44px);
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Problem/Solution ---- */
.problem-solution {
    background: var(--off-white);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comparison-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comparison-card.rm {
    background: var(--primary);
    color: var(--white);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.comparison-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

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

.comparison-card.traditional li::before {
    content: "✗ ";
    color: #e53e3e;
    font-weight: 700;
}

.comparison-card.rm li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 700;
}

/* ---- Services ---- */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    position: relative;
    background: var(--off-white);
    padding: 48px 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card.featured {
    background: var(--primary);
    color: var(--white);
    border-color: transparent;
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.service-tagline {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    font-style: italic;
}

.service-card.featured .service-tagline {
    color: rgba(255,255,255,0.7);
}

.service-card ul {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card li::before {
    content: "→ ";
    color: var(--accent);
    font-weight: 600;
}

.service-note {
    font-size: 14px;
    color: var(--text-light);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.service-card.featured .service-note {
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.15);
}

/* ---- How It Works ---- */
.how-it-works {
    background: var(--off-white);
}

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

.step {
    text-align: center;
    padding: 32px 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.step p {
    font-size: 15px;
    color: var(--text-light);
}

/* ---- About ---- */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    font-size: 40px;
    color: var(--dark);
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.value {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.value strong {
    font-size: 16px;
}

.value span {
    font-size: 14px;
    color: var(--text-light);
}

.image-placeholder {
    background: var(--off-white);
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
    border: 2px dashed var(--border);
}

.team-photo {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* ---- FAQ ---- */
.faq {
    background: var(--off-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.faq-item {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.faq-item h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-light);
}

/* ---- CTA ---- */
.cta {
    background: var(--primary);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 32px;
}

/* ---- Contact ---- */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-size: 40px;
    color: var(--dark);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
}

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

.social-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.social-link:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.2s;
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
}

.footer-links h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 20px;
        color: var(--white) !important;
    }

    .mobile-menu {
        display: flex;
        z-index: 1001;
    }

    .comparison-grid,
    .services-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-stats {
        gap: 32px;
    }

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

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta a {
        text-align: center;
    }
}
