/* ═══════════════════════════════════════════════════════════════════════════════ aPOS Design System - Dark Theme + Orange Accent Architecture: Primitives -> Semantics -> Components Based on: pencil-design/src/pages/aPOS/landing/ tokens ═══════════════════════════════════════════════════════════════════════════════ */ :root { /* ═════════════════════════════════════════════════════════════════════════ 1. PRIMITIVES (Raw Color Palettes) Do NOT use these directly in components. Use Semantic Tokens instead. ═════════════════════════════════════════════════════════════════════════ */ /* Neutral (Dark Scale) */ --primitive-neutral-0: #ffffff; --primitive-neutral-50: #fafafa; --primitive-neutral-100: #ADADB0; --primitive-neutral-200: #8B8B90; --primitive-neutral-300: #6B6B70; --primitive-neutral-400: #3A3A3E; --primitive-neutral-500: #2A2A2E; --primitive-neutral-600: #1F1F23; --primitive-neutral-700: #1A1A1D; --primitive-neutral-800: #111113; --primitive-neutral-900: #0A0A0B; --primitive-neutral-950: #050506; /* Accent (Orange) */ --primitive-accent-400: #FF8A4C; --primitive-accent-500: #FF5C00; --primitive-accent-600: #E05200; /* Success (Green) */ --primitive-success-500: #22C55E; /* Utility */ --primitive-white: #ffffff; --primitive-black: #000000; --primitive-overlay: rgba(0, 0, 0, 0.6); /* Typography */ --font-heading: 'Roboto', system-ui, sans-serif; --font-body: 'Roboto', system-ui, sans-serif; /* Spacing Scale */ --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; /* ═════════════════════════════════════════════════════════════════════════ 2. SEMANTIC TOKENS (Dark Mode Default - aPOS is always dark) Use these in your CSS. ═════════════════════════════════════════════════════════════════════════ */ /* Backgrounds */ --bg-page: #0A0A0B; --bg-surface: #111113; --bg-elevated: #1A1A1D; --bg-interactive: #2A2A2E; --bg-surface-hover: #1F1F23; --bg-overlay: rgba(10, 10, 11, 0.9); /* Gradients */ --brand-gradient: linear-gradient(135deg, #FF5C00 0%, #FF8A4C 100%); --surface-gradient: linear-gradient(180deg, #111113 0%, #0A0A0B 100%); /* Text */ --text-primary: #FFFFFF; --text-secondary: #ADADB0; --text-tertiary: #8B8B90; --text-disabled: #6B6B70; --text-muted: rgba(255, 255, 255, 0.8); --text-inverse: #0A0A0B; /* Accent */ --accent-primary: #FF5C00; --accent-light: #FF8A4C; --accent-glow: rgba(255, 92, 0, 0.15); --accent-glow-strong: rgba(255, 92, 0, 0.3); /* Borders */ --border-subtle: #1F1F23; --border-default: #2A2A2E; --border-strong: #3A3A3E; /* Actions */ --action-primary-bg: #FF5C00; --action-primary-bg-hover: #E05200; --action-primary-text: #FFFFFF; --action-secondary-bg: transparent; --action-secondary-bg-hover: rgba(255, 255, 255, 0.05); --action-secondary-text: #FFFFFF; --action-secondary-border: #2A2A2E; /* Status */ --success: #22C55E; --border-radius-base: 6px; --border-radius-lg: 10px; --border-radius-xl: 14px; --border-radius-2xl: 20px; } /* ═════════════════════════════════════════════════════════════════════════ 3. aPOS IS ALWAYS DARK — No light/dark toggle needed ═════════════════════════════════════════════════════════════════════════ */ /* ═════════════════════════════════════════════════════════════════════════ 4. GLOBAL RESET & BASE STYLES ═════════════════════════════════════════════════════════════════════════ */ *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; } html, body { margin: 0; padding: 0; font-family: var(--font-body); background-color: var(--bg-page) !important; color: var(--text-primary) !important; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-primary); margin-top: 0; } a { color: inherit; text-decoration: none; } .container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); } /* ═════════════════════════════════════════════════════════════════════════ 5. NAVIGATION (aPOS Header) ═════════════════════════════════════════════════════════════════════════ */ .tpos-navbar { position: sticky; top: 0; z-index: 1000; background: rgba(10, 10, 11, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); padding: var(--space-4) 0; } .tpos-navbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); display: flex; align-items: center; justify-content: space-between; } .tpos-logo { font-size: 1.5rem; font-weight: 800; color: var(--accent-primary); letter-spacing: -0.02em; } .tpos-nav-links { display: flex; gap: var(--space-8); align-items: center; } .tpos-nav-link { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s ease; } .tpos-nav-link:hover { color: var(--text-primary); } /* ═════════════════════════════════════════════════════════════════════════ 6. BUTTONS (aPOS) ═════════════════════════════════════════════════════════════════════════ */ .btn-accent { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); background: var(--accent-primary); color: #fff; padding: var(--space-3) var(--space-6); border-radius: var(--border-radius-lg); font-weight: 600; font-size: 0.9375rem; border: none; cursor: pointer; transition: all 0.2s ease; text-decoration: none; } .btn-accent:hover { background: var(--action-primary-bg-hover); transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow-strong); } .btn-accent-lg { padding: var(--space-4) var(--space-8); font-size: 1rem; border-radius: var(--border-radius-xl); } .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); background: transparent; color: var(--text-primary); padding: var(--space-3) var(--space-6); border-radius: var(--border-radius-lg); font-weight: 600; font-size: 0.9375rem; border: 1px solid var(--border-default); cursor: pointer; transition: all 0.2s ease; text-decoration: none; } .btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--border-strong); } .btn-outline-lg { padding: var(--space-4) var(--space-8); font-size: 1rem; border-radius: var(--border-radius-xl); } /* ═════════════════════════════════════════════════════════════════════════ 7. HERO SECTION ═════════════════════════════════════════════════════════════════════════ */ .hero-section { padding: var(--space-20) var(--space-6) var(--space-16); text-align: center; max-width: 900px; margin: 0 auto; } .hero-badge { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--accent-glow); border: 1px solid rgba(255, 92, 0, 0.25); color: var(--accent-light); padding: var(--space-2) var(--space-4); border-radius: 999px; font-size: 0.8125rem; font-weight: 600; margin-bottom: var(--space-8); letter-spacing: 0.02em; } .hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-primary); animation: pulse-dot 2s ease-in-out infinite; } @keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } .hero-headline { font-size: 3.5rem; font-weight: 800; line-height: 1.08; margin-bottom: var(--space-6); letter-spacing: -0.03em; background: linear-gradient(180deg, #FFFFFF 30%, #ADADB0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .hero-subtext { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto var(--space-10); line-height: 1.7; } .hero-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; } .hero-mockup { width: 100%; max-width: 1000px; margin: var(--space-16) auto 0; border: 1px solid var(--border-subtle); border-radius: var(--border-radius-2xl); overflow: hidden; box-shadow: 0 0 60px rgba(255, 92, 0, 0.08); } .hero-mockup-img { width: 100%; height: auto; display: block; } /* ═════════════════════════════════════════════════════════════════════════ 8. TRUST SECTION ═════════════════════════════════════════════════════════════════════════ */ .trust-section { padding: var(--space-12) 0; text-align: center; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); } .trust-label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); } .trust-stats { display: flex; justify-content: center; align-items: center; gap: var(--space-6); flex-wrap: wrap; } .trust-divider { width: 1px; height: 16px; background: var(--border-default); } .trust-stat { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); } /* ═════════════════════════════════════════════════════════════════════════ 9. SECTION HEADER (Badge + Title + Description) ═════════════════════════════════════════════════════════════════════════ */ .tpos-section { padding: var(--space-20) 0; } .tpos-section-header { text-align: center; margin-bottom: var(--space-12); } .tpos-badge { display: inline-block; background: var(--accent-glow); color: var(--accent-primary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: var(--space-1) var(--space-3); border-radius: var(--border-radius-base); margin-bottom: var(--space-4); } .tpos-section-title { font-size: 2.25rem; font-weight: 800; line-height: 1.15; margin-bottom: var(--space-4); letter-spacing: -0.02em; } .tpos-section-desc { font-size: 1.0625rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; } /* ═════════════════════════════════════════════════════════════════════════ 10. FEATURES GRID (6 feature cards) ═════════════════════════════════════════════════════════════════════════ */ .tpos-feature-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-6); max-width: 1200px; margin: 0 auto; } @media (min-width: 640px) { .tpos-feature-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .tpos-feature-grid { grid-template-columns: repeat(3, 1fr); } } .tpos-feature-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--border-radius-xl); padding: var(--space-8); transition: all 0.25s ease; } .tpos-feature-card:hover { border-color: var(--border-default); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); } .tpos-feature-icon { width: 48px; height: 48px; border-radius: var(--border-radius-lg); background: var(--accent-glow); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-5); color: var(--accent-primary); font-size: 1.25rem; } .tpos-feature-icon-bg { width: 48px; height: 48px; border-radius: var(--border-radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-5); font-size: 1.25rem; } .tpos-feature-title { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-2); } .tpos-feature-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; } /* ═════════════════════════════════════════════════════════════════════════ 11. INDUSTRIES GRID (6 industry cards) ═════════════════════════════════════════════════════════════════════════ */ .tpos-industry-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-6); max-width: 1200px; margin: 0 auto; } @media (min-width: 640px) { .tpos-industry-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .tpos-industry-grid { grid-template-columns: repeat(3, 1fr); } } .tpos-industry-card { background: var(--bg-page); border: 1px solid var(--border-subtle); border-radius: var(--border-radius-xl); position: relative; overflow: hidden; transition: all 0.25s ease; display: flex; flex-direction: column; } .tpos-industry-img { width: 100%; height: 200px; overflow: hidden; } .tpos-industry-img img { width: 100%; height: 100%; object-fit: cover; display: block; } .tpos-industry-content { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); } .tpos-industry-card:hover { border-color: var(--border-default); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); } .tpos-industry-title { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-3); } .tpos-industry-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 var(--space-4); } .tpos-chips { display: flex; gap: var(--space-2); flex-wrap: wrap; } .tpos-chip { display: inline-flex; align-items: center; gap: var(--space-1); background: var(--accent-glow); color: var(--accent-light); font-size: 0.75rem; font-weight: 600; padding: var(--space-1) var(--space-3); border-radius: 999px; border: 1px solid rgba(255, 92, 0, 0.2); } /* ═════════════════════════════════════════════════════════════════════════ 12. ONBOARDING STEPS (3 steps) ═════════════════════════════════════════════════════════════════════════ */ .tpos-steps { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-8); max-width: 1000px; margin: 0 auto; } @media (min-width: 768px) { .tpos-steps { grid-template-columns: repeat(3, 1fr); } } .tpos-step { text-align: center; padding: var(--space-8) var(--space-4); } .tpos-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-6); box-shadow: 0 0 30px var(--accent-glow-strong); } .tpos-step-title { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-3); } .tpos-step-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; } /* ═════════════════════════════════════════════════════════════════════════ 13. PRICING SECTION ═════════════════════════════════════════════════════════════════════════ */ .tpos-pricing-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-6); max-width: 1100px; margin: 0 auto; align-items: start; } @media (min-width: 768px) { .tpos-pricing-grid { grid-template-columns: repeat(3, 1fr); } } .tpos-pricing-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--border-radius-2xl); padding: var(--space-8); position: relative; transition: all 0.25s ease; } .tpos-pricing-card:hover { border-color: var(--border-default); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); } .tpos-pricing-card.featured { border-color: var(--accent-primary); box-shadow: 0 0 40px var(--accent-glow); transform: scale(1.02); } .tpos-pricing-badge { font-size: 0.6875rem; font-weight: 700; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-2); } .tpos-pricing-name { font-size: 1.375rem; font-weight: 800; letter-spacing: 0.05em; margin-bottom: var(--space-4); } .tpos-pricing-price { display: flex; align-items: baseline; gap: var(--space-1); margin-bottom: var(--space-2); } .tpos-pricing-amount { font-size: 2.5rem; font-weight: 800; color: var(--accent-primary); } .tpos-pricing-period { font-size: 0.875rem; color: var(--text-tertiary); } .tpos-pricing-desc { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--border-subtle); } .tpos-pricing-features { list-style: none; padding: 0; margin: 0 0 var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); } .tpos-pricing-feature { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 0.875rem; color: var(--text-secondary); } .tpos-pricing-feature .lucide-check { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; background-color: transparent !important; background: none !important; } .tpos-pricing-feature .lucide-check.green { color: var(--success) !important; stroke: var(--success); } .tpos-pricing-feature .lucide-check.accent { color: var(--accent-primary) !important; stroke: var(--accent-primary); } .tpos-pricing-divider { border: none; border-top: 1px solid var(--border-subtle); margin: var(--space-4) 0; } /* Addons Grid */ .tpos-addons { margin-top: var(--space-16); text-align: center; } .tpos-addons-title { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-8); color: var(--text-secondary); } .tpos-addons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); max-width: 800px; margin: 0 auto; } @media (min-width: 768px) { .tpos-addons-grid { grid-template-columns: repeat(3, 1fr); } } .tpos-addon-item { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--border-radius-lg); padding: var(--space-4) var(--space-5); display: flex; align-items: center; justify-content: space-between; } .tpos-addon-left { display: flex; align-items: center; gap: var(--space-3); } .tpos-addon-left i { font-size: 1.125rem; } .tpos-addon-name { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); } .tpos-addon-price { font-size: 0.75rem; color: var(--accent-light); font-weight: 500; } /* ═════════════════════════════════════════════════════════════════════════ 14. CTA SECTION ═════════════════════════════════════════════════════════════════════════ */ .tpos-cta { text-align: center; padding: var(--space-24) var(--space-6); position: relative; } .tpos-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%); pointer-events: none; } .tpos-cta-title { font-size: 2.5rem; font-weight: 800; line-height: 1.15; margin-bottom: var(--space-4); letter-spacing: -0.02em; position: relative; } .tpos-cta-sub { font-size: 1.0625rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto var(--space-10); line-height: 1.7; position: relative; } .tpos-cta-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-6); position: relative; } .tpos-cta-trust { font-size: 0.8125rem; color: var(--text-tertiary); position: relative; } /* ═════════════════════════════════════════════════════════════════════════ 15. FOOTER ═════════════════════════════════════════════════════════════════════════ */ .tpos-footer { border-top: 1px solid var(--border-subtle); padding: var(--space-16) 0 var(--space-8); } .tpos-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--space-12); max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); } .tpos-footer-brand .tpos-logo { margin-bottom: var(--space-4); display: block; } .tpos-footer-tagline { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.6; } .tpos-footer-col-title { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: var(--space-4); } .tpos-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); } .tpos-footer-link { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s ease; } .tpos-footer-link:hover { color: var(--text-primary); } .tpos-footer-copy { font-size: 0.8125rem; color: var(--text-disabled); } .tpos-footer-divider { border: none; border-top: 1px solid var(--border-subtle); margin: var(--space-8) 0 0; max-width: 1200px; margin-left: auto; margin-right: auto; } .tpos-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: var(--space-6) var(--space-6) 0; max-width: 1200px; margin: 0 auto; } .tpos-footer-socials { display: flex; gap: var(--space-4); } .tpos-social-link { color: var(--text-tertiary); font-size: 1.125rem; transition: color 0.2s ease; } .tpos-social-link:hover { color: var(--accent-primary); } /* ═════════════════════════════════════════════════════════════════════════ 16. AUTHENTICATION COMPONENTS (kept from base) ═════════════════════════════════════════════════════════════════════════ */ .auth-container { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 64px); padding: var(--space-6); } .auth-card { background-color: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--border-radius-xl); padding: var(--space-12); width: 100%; max-width: 480px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); } .auth-title { font-size: 2rem; font-weight: 700; margin-bottom: var(--space-2); color: var(--text-primary); } .auth-subtitle { color: var(--text-secondary); margin-bottom: var(--space-8); } .auth-footer { margin-top: var(--space-6); text-align: center; color: var(--text-secondary); display: flex; gap: var(--space-2); align-items: center; justify-content: center; } /* Form Components */ .form-group { margin-bottom: var(--space-6); } .form-group label { display: block; font-weight: 500; margin-bottom: var(--space-2); color: var(--text-primary); } .form-input { width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--border-default); border-radius: var(--border-radius-base); background-color: var(--bg-elevated); color: var(--text-primary); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .form-input:hover { border-color: var(--border-strong); } .form-input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-glow); } .form-input:disabled { background-color: var(--bg-interactive); cursor: not-allowed; opacity: 0.6; } .form-hint { display: block; margin-top: var(--space-1); font-size: 0.875rem; color: var(--text-tertiary); } .form-checkbox { width: 1rem; height: 1rem; border: 1px solid var(--border-strong); border-radius: 3px; cursor: pointer; } .checkbox-group { display: flex; align-items: center; gap: var(--space-2); } .checkbox-label { margin-bottom: 0; font-weight: 400; cursor: pointer; user-select: none; } .form-actions-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); } /* General Buttons */ .btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--border-radius-base); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.2s ease; border: none; font-family: var(--font-body); } .btn-primary { background-color: var(--accent-primary); color: #fff; } .btn-primary:hover:not(:disabled) { background-color: var(--action-primary-bg-hover); } .btn-secondary { background-color: transparent; color: var(--text-primary); border: 1px solid var(--border-default); } .btn-secondary:hover:not(:disabled) { background-color: rgba(255, 255, 255, 0.05); } .btn-primary:disabled, .btn-secondary:disabled { opacity: 0.6; cursor: not-allowed; } .btn-full { width: 100%; } .btn-group { display: flex; gap: var(--space-3); } /* Links */ .link-primary { color: var(--accent-primary); text-decoration: none; font-weight: 500; transition: opacity 0.2s ease; } .link-primary:hover { opacity: 0.8; text-decoration: underline; } .link-secondary { color: var(--text-secondary); text-decoration: none; font-size: 0.875rem; transition: color 0.2s ease; } .link-secondary:hover { color: var(--text-primary); text-decoration: underline; } /* Validation */ .validation-message { display: block; margin-top: var(--space-1); font-size: 0.875rem; color: #ef4444; } /* Alerts */ .alert { padding: var(--space-4); border-radius: var(--border-radius-base); margin-top: var(--space-6); font-size: 0.875rem; } .alert-success { background-color: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); } .alert-error { background-color: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); } /* Spinners */ .spinner { display: inline-block; width: 40px; height: 40px; border: 4px solid var(--border-subtle); border-top-color: var(--accent-primary); border-radius: 50%; animation: spin 0.8s linear infinite; } .spinner-small { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: currentColor; border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Loading & Success States */ .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-12); } .success-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-8); } .checkmark { color: var(--success); stroke-width: 3; } /* Profile Page */ .profile-container { max-width: 800px; margin: 0 auto; padding: var(--space-8) var(--space-6); } .profile-header { margin-bottom: var(--space-12); } .profile-title { font-size: 2.5rem; font-weight: 700; margin-bottom: var(--space-2); } .profile-subtitle { color: var(--text-secondary); font-size: 1.125rem; } .profile-content { display: flex; flex-direction: column; gap: var(--space-8); } .profile-section { background-color: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--border-radius-xl); padding: var(--space-8); } .section-title { font-size: 1.5rem; font-weight: 600; margin-bottom: var(--space-6); color: var(--text-primary); } .profile-actions { margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--border-subtle); } /* ═════════════════════════════════════════════════════════════════════════ 17. UTILITY CLASSES ═════════════════════════════════════════════════════════════════════════ */ .text-center { text-align: center; } .text-secondary { color: var(--text-secondary); } .text-lg { font-size: 1.125rem; } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mb-6 { margin-bottom: var(--space-6); } .mr-2 { margin-right: var(--space-2); } /* ═════════════════════════════════════════════════════════════════════════ 18. RESPONSIVE — Hamburger Menu + Mobile Drawer ═════════════════════════════════════════════════════════════════════════ */ /* Hamburger button — hidden on desktop, visible ≤ 768px */ .tpos-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1100; } .tpos-hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; } /* Hamburger → X animation */ .tpos-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .tpos-hamburger.active span:nth-child(2) { opacity: 0; } .tpos-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } /* Mobile overlay (backdrop) */ .tpos-mobile-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1050; backdrop-filter: blur(4px); animation: fadeIn 0.2s ease; } /* Mobile drawer */ .tpos-mobile-drawer { position: fixed; top: 0; right: 0; width: 280px; max-width: 85vw; height: 100vh; background: var(--bg-elevated); border-left: 1px solid var(--border-subtle); z-index: 1100; padding: var(--space-16) var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: var(--space-2); animation: slideIn 0.25s ease; overflow-y: auto; } .tpos-mobile-link { display: block; padding: var(--space-4) var(--space-4); color: var(--text-secondary); font-size: 1rem; font-weight: 500; border-radius: var(--border-radius-md); transition: all 0.2s ease; } .tpos-mobile-link:hover { color: var(--text-primary); background: var(--bg-surface); } .tpos-mobile-actions { margin-top: auto; padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: var(--space-4); } @keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* ═════════════════════════════════════════════════════════════════════════ 19. RESPONSIVE — Tablet (≤ 768px) ═════════════════════════════════════════════════════════════════════════ */ @media (max-width: 768px) { /* Show hamburger, hide desktop nav */ .tpos-hamburger { display: flex; } .tpos-nav-links { display: none; } /* Typography scaling */ .hero-headline { font-size: clamp(2rem, 6vw, 3rem); } .hero-subtext { font-size: 1rem; } .hero-section { padding: var(--space-12) var(--space-4) var(--space-10); } .hero-mockup { height: 260px; margin-top: var(--space-10); } /* Section titles */ .tpos-section-title { font-size: clamp(1.5rem, 5vw, 2.25rem); } .tpos-cta-title { font-size: clamp(1.5rem, 5vw, 2.25rem); } /* Trust stats — stack vertically */ .trust-stats { flex-direction: column; gap: var(--space-4); } /* Hero buttons — stack on smaller screens */ .hero-actions { flex-direction: column; align-items: center; } .hero-actions .btn-accent-lg, .hero-actions .btn-outline-lg { width: 100%; max-width: 320px; justify-content: center; } /* CTA actions — stack */ .tpos-cta-actions { flex-direction: column; align-items: center; } .tpos-cta-actions .btn-accent-lg, .tpos-cta-actions .btn-outline-lg { width: 100%; max-width: 320px; justify-content: center; } /* Features grid — 2 columns on tablet */ .tpos-features-grid { grid-template-columns: repeat(2, 1fr); } /* Industries grid — 2 columns */ .tpos-industries-grid { grid-template-columns: repeat(2, 1fr); } /* Footer — single column */ .tpos-footer-grid { grid-template-columns: 1fr; gap: var(--space-6); } /* Footer bottom */ .tpos-footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; } /* Addons — 2 columns */ .tpos-addons-grid { grid-template-columns: repeat(2, 1fr); } /* Pricing featured card — no scale */ .tpos-pricing-card.featured { transform: none; } } /* ═════════════════════════════════════════════════════════════════════════ 20. RESPONSIVE — Mobile (≤ 480px) ═════════════════════════════════════════════════════════════════════════ */ @media (max-width: 480px) { /* Hero */ .hero-headline { font-size: 1.875rem; } .hero-subtext { font-size: 0.9375rem; } .hero-section { padding: var(--space-8) var(--space-4) var(--space-8); } .hero-mockup { height: 200px; } /* Hero buttons — stack vertically */ .hero-actions { flex-direction: column; align-items: center; } .hero-actions .btn-accent-lg, .hero-actions .btn-outline-lg { width: 100%; justify-content: center; } /* Section titles */ .tpos-section-title { font-size: 1.5rem; } .tpos-section-desc { font-size: 0.875rem; } /* Trust stats — stack vertically */ .trust-stats { flex-direction: column; gap: var(--space-4); } .trust-stat { font-size: 0.9375rem; } /* Features grid — 1 column */ .tpos-features-grid { grid-template-columns: 1fr; } /* Industries grid — 1 column */ .tpos-industries-grid { grid-template-columns: 1fr; } /* Pricing — 1 column */ .tpos-pricing-grid { grid-template-columns: 1fr; } /* Addons — 2 columns */ .tpos-addons-grid { grid-template-columns: repeat(2, 1fr); } /* CTA actions — stack vertically */ .tpos-cta-actions { flex-direction: column; align-items: center; } .tpos-cta-actions .btn-accent-lg, .tpos-cta-actions .btn-outline-lg { width: 100%; justify-content: center; } .tpos-cta-title { font-size: 1.5rem; } /* Footer — 1 column */ .tpos-footer-grid { grid-template-columns: 1fr; gap: var(--space-6); } /* Footer bottom */ .tpos-footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; } /* Section padding reduction */ .tpos-section, .tpos-cta { padding-left: var(--space-4); padding-right: var(--space-4); } }