/* GetHoldOf - Editorial Dev-Tool Design */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:wght@400;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #EEF2FF;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --secondary: #64748B;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --light: #F9FAFB;
    --dark: #0F172A;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --bg-secondary: #F3F4F6;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

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

/* Header */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { 
    font-family: 'Fraunces', serif; 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: var(--primary); 
    letter-spacing: -0.5px;
}
.nav { display: flex; gap: 0.25rem; align-items: center; }
.nav a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.nav a:hover { background: var(--light); color: var(--dark); text-decoration: none; }
.nav .btn-primary {
    background: var(--primary);
    color: white;
    margin-left: 0.5rem;
}
.nav .btn-primary:hover { background: var(--primary-dark); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-primary { 
    background: var(--primary); 
    color: var(--white); 
    box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79,70,229,0.4);
    text-decoration: none;
    color: white;
}
.btn-secondary { 
    background: var(--dark); 
    color: var(--white); 
}
.btn-outline { 
    border: 2px solid var(--primary); 
    color: var(--primary); 
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}
.btn-ghost {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border);
}
.btn-ghost:hover {
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 50%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.10) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { 
    text-align: center; 
    max-width: 720px; 
    margin: 0 auto; 
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}
.gradient-text {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #F59E0B 100%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { 
    font-size: 1.25rem; 
    color: var(--secondary); 
    margin-bottom: 2rem; 
    max-width: 540px; 
    margin-left: auto; 
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero .d-flex { animation: fadeInUp 0.6s ease-out 0.3s both; }
.hero-note { 
    font-size: 0.875rem; 
    color: var(--secondary); 
    margin-top: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Section Titles */
.section-title { 
    text-align: center; 
    font-size: clamp(2rem, 4vw, 2.75rem); 
    margin-bottom: 1rem; 
    color: var(--dark); 
}
.section-subtitle {
    text-align: center;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* How It Works */
.how-it-works { padding: 6rem 0; background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.step-card { 
    text-align: center; 
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}
.step-card:hover {
    background: var(--light);
    transform: translateY(-4px);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.step-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.step-card h3 { margin-bottom: 0.5rem; color: var(--dark); font-size: 1.25rem; }
.step-card p { color: var(--secondary); font-size: 0.95rem; }

/* Features */
.features { padding: 6rem 0; background: var(--light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { 
    background: var(--white); 
    padding: 2rem; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.feature-card h3 { margin-bottom: 0.5rem; color: var(--dark); }
.feature-card p { color: var(--secondary); font-size: 0.95rem; }

/* Use Cases */
.use-cases { padding: 6rem 0; background: var(--white); }
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.use-case-card { 
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%); 
    padding: 1.75rem; 
    border-radius: var(--radius-lg); 
    border: 1px solid rgba(79,70,229,0.1);
    transition: all 0.3s;
}
.use-case-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.use-case-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.use-case-card h3 { margin-bottom: 0.5rem; color: var(--dark); font-size: 1.1rem; }
.use-case-card p { color: var(--secondary); font-size: 0.9rem; }

/* CTA */
.cta { 
    padding: 6rem 0; 
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 60%, #F59E0B 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-box { text-align: center; color: white; position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-box p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; }
.cta .btn-primary { background: white; color: var(--primary); }
.cta .btn-primary:hover { background: var(--light); }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { color: white; font-size: 1.5rem; margin-bottom: 0.5rem; }
.footer-links h4 { color: white; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-links a { 
    display: block; 
    color: rgba(255,255,255,0.6); 
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.875rem; }

/* Auth Forms */
.auth-container { 
    min-height: calc(100vh - 180px); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 3rem 1rem;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
}
.auth-card { 
    background: var(--white); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-lg); 
    padding: 2.5rem; 
    width: 100%; 
    max-width: 420px;
}
.auth-card h1 { 
    color: var(--primary); 
    text-align: center; 
    margin-bottom: 0.25rem; 
    font-size: 2rem; 
}
.auth-card .tagline { 
    text-align: center; 
    color: var(--secondary); 
    margin-bottom: 2rem; 
    font-size: 0.95rem; 
}
.auth-card h2 { margin-bottom: 1.5rem; font-size: 1.25rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 500; 
    color: var(--dark);
    font-size: 0.95rem;
}
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="datetime-local"], input[type="number"], textarea, select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.2s;
}
input:focus, textarea:focus, select:focus { 
    outline: none; 
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
input.error, textarea.error { border-color: var(--danger); }
textarea { min-height: 120px; resize: vertical; }
.form-help { font-size: 0.85rem; color: var(--secondary); margin-top: 0.25rem; }

/* Alerts */
.alert { 
    padding: 1rem 1.25rem; 
    border-radius: var(--radius); 
    margin-bottom: 1.5rem; 
    font-size: 0.95rem;
    border-left: 4px solid;
}
.alert-error { background: #FEF2F2; color: #991B1B; border-color: var(--danger); }
.alert-success { background: #F0FDF4; color: #065F46; border-color: var(--success); }
.alert-info { background: #EFF6FF; color: #1E40AF; border-color: #3B82F6; }

/* Dashboard */
.dashboard { padding: 2rem 0; }
.dashboard-header { margin-bottom: 2rem; }
.dashboard-header h1 { margin-bottom: 0.25rem; }
.dashboard-header p { color: var(--secondary); }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { 
    background: var(--white); 
    border-radius: var(--radius-lg); 
    padding: 1.5rem; 
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.stat-value { font-size: 2.25rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { color: var(--secondary); font-size: 0.85rem; margin-top: 0.5rem; }
.stat-card.primary { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
}
.stat-card.primary .stat-value { color: white; }
.stat-card.primary .stat-label { color: rgba(255,255,255,0.85); }

/* Cards */
.card { 
    background: var(--white); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow);
    padding: 1.75rem; 
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}
.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 1.5rem; 
    padding-bottom: 1rem; 
    border-bottom: 1px solid var(--border);
}
.card-title { font-size: 1.1rem; font-weight: 600; }

/* Table */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.table th { 
    background: var(--light); 
    font-weight: 600; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    color: var(--secondary);
}
.table tr:hover { background: var(--light); }
.table-actions { display: flex; gap: 0.5rem; }

/* Badges */
.badge { 
    display: inline-flex; 
    align-items: center;
    padding: 0.25rem 0.75rem; 
    border-radius: var(--radius-full); 
    font-size: 0.75rem; 
    font-weight: 600;
}
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-sent { background: #D1FAE5; color: #065F46; }
.badge-failed { background: #FEE2E2; color: #991B1B; }
.badge-cancelled { background: var(--light); color: var(--secondary); }
.badge-free { background: var(--light); color: var(--dark); }
.badge-pro { background: var(--primary-light); color: var(--primary); }
.badge-business { background: var(--dark); color: white; }

/* Pricing */
.pricing { padding: 6rem 0; background: var(--light); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.pricing-card { 
    background: var(--white); 
    border-radius: var(--radius-lg); 
    padding: 2rem; 
    text-align: center; 
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
}
.pricing-card.featured { 
    border-color: var(--primary); 
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.pricing-badge { 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--primary); 
    color: white; 
    padding: 0.35rem 1rem; 
    border-radius: var(--radius-full); 
    font-size: 0.75rem; 
    font-weight: 600;
}
.pricing-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.pricing-price { 
    font-size: 3rem; 
    font-weight: 700; 
    color: var(--primary); 
    margin-bottom: 1.5rem;
}
.pricing-price span { font-size: 1rem; font-weight: normal; color: var(--secondary); }
.pricing-features { list-style: none; margin-bottom: 2rem; text-align: left; }
.pricing-features li { 
    padding: 0.75rem 0; 
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.pricing-features li:last-child { border-bottom: none; }

/* Settings tabs */
.tab {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.tab:hover { background: var(--light); text-decoration: none; color: var(--dark); }
.tab.active { background: var(--primary-light); color: var(--primary); }

/* Settings layout */
.settings-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* Form rows that stack on mobile */
.form-row {
    display: flex;
    gap: 1rem;
}
.form-row .form-group { flex: 1; }

/* About/Contact */
.page-content { padding: 4rem 0; max-width: 720px; margin: 0 auto; }
.page-content h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.5rem; color: var(--dark); }
.page-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--dark); }
.page-content p { margin-bottom: 1rem; color: var(--secondary); }
.page-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.page-content li { margin-bottom: 0.5rem; color: var(--secondary); }

/* Hero 2-col */
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-grid .hero-copy { text-align: left; }
.hero-grid .hero-copy h1 { text-align: left; }
.hero-grid .hero-copy .hero-subtitle { margin-left: 0; margin-right: 0; }
.hero-grid .d-flex { justify-content: flex-start; }

/* Ping dot */
.ping-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(245,158,11,0.6);
    animation: ping 1.8s ease-out infinite;
    margin-right: 0.4rem;
    vertical-align: middle;
}
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.55); }
    70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

/* Terminal card */
.terminal-card {
    background: #0B1020;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(15,23,42,0.45), 0 0 0 1px rgba(255,255,255,0.06);
    overflow: hidden;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    color: #E2E8F0;
    font-size: 0.85rem;
}
.terminal-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: #111834;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-head .dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-head .dot.r { background: #FF5F57; }
.terminal-head .dot.y { background: #FEBC2E; }
.terminal-head .dot.g { background: #28C840; }
.terminal-head .title { margin-left: 0.75rem; color: #94A3B8; font-size: 0.78rem; }
.terminal-body { padding: 1.25rem 1.25rem 1.5rem; line-height: 1.7; }
.terminal-body .prompt { color: #F59E0B; }
.terminal-body .cmd { color: #E2E8F0; }
.terminal-body .flag { color: #A5B4FC; }
.terminal-body .str { color: #86EFAC; }
.terminal-body .ok { color: #34D399; }
.terminal-body .muted { color: #64748B; }
.terminal-body .line { display: block; white-space: pre-wrap; }
.terminal-body .line + .line { margin-top: 0.15rem; }
.terminal-body .spacer { display: block; height: 0.5rem; }

/* Two-path band */
.two-path {
    padding: 5rem 0;
    background: var(--white);
}
.two-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.path-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.25s;
}
.path-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.path-card .path-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.path-card.dev .path-label {
    color: var(--accent-dark);
    background: #FEF3C7;
}
.path-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.path-card p { color: var(--secondary); margin-bottom: 1.25rem; font-size: 0.95rem; }

/* API / tool tables */
.api-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}
.api-table th, .api-table td {
    text-align: left;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    vertical-align: top;
}
.api-table th {
    background: var(--light);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary);
}
.api-table tr:last-child td { border-bottom: none; }
.api-table code {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-weight: 600;
}
.code-block {
    background: #0B1020;
    color: #E2E8F0;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    overflow-x: auto;
    margin: 1rem 0 2rem;
    white-space: pre;
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-grid .hero-copy { text-align: center; }
    .hero-grid .hero-copy h1 { text-align: center; }
    .hero-grid .d-flex { justify-content: center; }
    .two-path-grid { grid-template-columns: 1fr; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flexbox utilities */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Text */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--secondary); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.875rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 3rem 0; }
    .section-title { font-size: 2rem; }
    .pricing-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    
    /* Mobile header */
    .header-content { flex-wrap: wrap; gap: 0.75rem; }
    .hamburger { display: flex; }
    .nav { 
        display: none; 
        flex-direction: column; 
        width: 100%; 
        gap: 0;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
        margin-top: 0.5rem;
    }
    .nav.active { display: flex; }
    .nav a { padding: 0.75rem 0; text-align: left; border-radius: 0; }
    .nav .btn-primary { margin: 0.75rem 0 0; text-align: center; }
    
    /* Mobile pricing */
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { margin-bottom: 1rem; }
    
    /* Mobile tables */
    .table { font-size: 0.85rem; }
    .table th, .table td { padding: 0.75rem 0.5rem; }
    
    /* Mobile forms */
    input, textarea, select { font-size: 16px; }
    
    /* Mobile stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .stat-card { padding: 1rem; }
    .stat-value { font-size: 1.75rem; }
    
    /* Mobile cards */
    .card { padding: 1.25rem; }
    .card-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
    
    /* Mobile page content */
    .page-content { padding: 2rem 1rem; }
    
    /* Mobile hero buttons */
    .hero .d-flex.gap-2 { flex-direction: column; }
    .hero .btn-lg { width: 100%; }

    /* Settings layout stacks */
    .settings-layout { grid-template-columns: 1fr; }

    /* Form rows stack */
    .form-row { flex-direction: column; }
    .form-row .form-group { flex: 1 !important; }
}

/* Mobile table → cards */
@media (max-width: 640px) {
    .table-responsive { overflow-x: visible; }
    .table thead { display: none; }
    .table tbody tr {
        display: block;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 1rem;
        padding: 0.5rem 0.75rem;
        background: var(--white);
    }
    .table tbody tr:hover { background: var(--white); }
    .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.875rem;
        gap: 0.5rem;
    }
    .table td:last-child { border-bottom: none; padding-bottom: 0; }
    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--secondary);
        flex-shrink: 0;
        min-width: 72px;
    }
    .table-actions { justify-content: flex-end; }
    .table-actions::before { display: none; }
}