/* 
  Clutch Modern Design System 
  Inspired by Clutch Android Onboarding
*/

:root {
    /* Colors */
    --clr-primary: #E60000;
    --clr-primary-hover: #CC0000;
    --clr-bg-light: #F7F7F7;
    --clr-white: #FFFFFF;
    --clr-text-main: #1A1A1A;
    --clr-text-muted: #666666;
    --clr-border: #EEEEEE;
    
    /* Spacing (8px grid) */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 32px;
    --sp-2xl: 48px;
    --sp-3xl: 64px;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(230, 0, 0, 0.15);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Cairo', var(--font-main);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg-light);
    color: var(--clr-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.cl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.cl-section {
    padding: var(--sp-3xl) 0;
}

/* Components */
.cl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-md) var(--sp-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.cl-btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    box-shadow: var(--shadow-sm);
}

.cl-btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cl-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: var(--sp-xl);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-text-main);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Typography Helpers */
.text-center { text-align: center; }
.cl-h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: var(--sp-lg); }
.cl-h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: var(--sp-md); }
.cl-p { font-size: 1.125rem; color: var(--clr-text-muted); margin-bottom: var(--sp-xl); }

/* Responsive */
@media (max-width: 768px) {
    .cl-h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .cl-section { padding: var(--sp-2xl) 0; }
}
