/* Main Layout & Design System for Rapid Pro Maintenance */
:root {
    --header-height-desktop: 160px;
    --header-height-mobile: 60px;
    --primary-dark: #1f2937;
    --accent-yellow: #facc15;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition-base: 300ms ease-out;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

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

/* Header & Nav */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: transform var(--transition-base);
    height: var(--header-height-desktop);
    width: 100%;
}

.header.hidden { transform: translateY(-100%); }

.logo-container {
    height: 140px;
    flex-shrink: 0;
}

.logo {
    height: 100%;
    width: auto;
    display: block;
    transition: transform var(--transition-base);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.main-nav a {
    padding: 14px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.main-nav a:hover {
    background: rgba(31, 41, 55, 0.08);
}

.nav-cta, .btn-primary {
    background: var(--accent-yellow);
    color: var(--primary-dark) !important;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: none;
}

.nav-cta:hover, .btn-primary:hover {
    background: #f3c000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
}

.tagline {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 60px 0;
}

h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 30px;
    text-align: center;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0;
    text-align: center;
}

.footer .logo {
    height: 80px;
    margin-bottom: 32px;
}

.footer a {
    color: white;
    text-decoration: none;
}
