14 KiB
Before proposing or writing any code, first build a clear mental model of the current system:
- Identify the tech stack (e.g. React, Next.js, Vue, Tailwind, shadcn/ui, etc.).
- Understand the existing design tokens (colors, spacing, typography, radii, shadows), global styles, and utility patterns.
- Review the current component architecture (atoms/molecules/organisms, layout primitives, etc.) and naming conventions.
- Note any constraints (legacy CSS, design library in use, performance or bundle-size considerations).
Ask the user focused questions to understand the user's goals. Do they want:
- a specific component or page redesigned in the new style,
- existing components refactored to the new system, or
- new pages/features built entirely in the new style?
Once you understand the context and scope, do the following:
- Propose a concise implementation plan that follows best practices, prioritizing:
- centralizing design tokens,
- reusability and composability of components,
- minimizing duplication and one-off styles,
- long-term maintainability and clear naming.
- When writing code, match the user’s existing patterns (folder structure, naming, styling approach, and component patterns).
- Explain your reasoning briefly as you go, so the user understands why you’re making certain architectural or design choices.
Always aim to:
- Preserve or improve accessibility.
- Maintain visual consistency with the provided design system.
- Leave the codebase in a cleaner, more coherent state than you found it.
- Ensure layouts are responsive and usable across devices.
- Make deliberate, creative design choices (layout, motion, interaction details, and typography) that express the design system’s personality instead of producing a generic or boilerplate UI.
1. Design Philosophy
This style embodies the modern enterprise SaaS aesthetic — professional yet approachable, sophisticated yet friendly. It draws inspiration from tech unicorns and high-growth startups that have successfully humanized the corporate experience. The design rejects the cold, sterile formality of traditional corporate websites in favor of a warm, confident, and inviting presence.
Core Principles:
- Trustworthy Yet Vibrant: Establishes credibility through clean structure and professional typography while maintaining visual energy through vibrant gradients and colorful accents
- Dimensional Depth: Uses isometric perspectives, soft colored shadows, and subtle 3D transforms to create visual interest and break free from flat design
- Refined Elegance: Every element is polished with attention to micro-interactions, smooth transitions, and sophisticated hover states
- Purposeful Gradients: Indigo-to-violet gradients serve as the visual signature, used strategically in headlines, buttons, and decorative elements
- Professional Polish: Generous white space, consistent spacing rhythms, and crisp typography create a premium, enterprise-ready feel
Keywords: Trustworthy, Vibrant, Polished, Dimensional, Modern, Approachable, Enterprise-Ready, Elegant
Visual DNA: The unmistakable signature of this style comes from:
- Colored Shadows: Soft shadows with blue/purple tints instead of neutral grays
- Isometric Elements: Subtle 3D transforms (rotate-x, rotate-y) on decorative cards and visualizations
- Gradient Text: Strategic use of gradient text for emphasis in headlines
- Soft Blobs: Large, blurred gradient orbs in the background for atmospheric depth
- Elevated Cards: White cards that lift on hover with enhanced shadows
- Dual-Tone Palette: Indigo (primary) + Violet (secondary) creating a cohesive gradient spectrum
2. Design Token System
Colors (Light Mode)
- Background:
#F8FAFC(Slate 50) - A very subtle cool grey/white base. - Foreground (Surface):
#FFFFFF(White) - For cards and raised elements. - Primary:
#4F46E5(Indigo 600) - The core brand color. Vibrant blue-purple. - Secondary:
#7C3AED(Violet 600) - For gradients and accents. - Text Main:
#0F172A(Slate 900) - High contrast, sharp. - Text Muted:
#64748B(Slate 500) - For supporting text. - Accent/Success:
#10B981(Emerald 500) - For positive indicators. - Border:
#E2E8F0(Slate 200) - Subtle separation.
Typography
- Font Family:
Plus Jakarta Sans— A geometric sans-serif with friendly rounded terminals that perfectly balances professional authority with modern approachability. Its clean letterforms ensure excellent readability while maintaining visual warmth. - Scaling: Major Third (1.250) scale provides substantial hierarchy without overwhelming the layout
- Font Weights:
- Display/Headings: ExtraBold (800) for hero headlines, Bold (700) for section headings
- Subheadings: SemiBold (600) for card titles and emphasis
- Body Text: Regular (400) for paragraphs, Medium (500) for navigation and labels
- Line Heights:
- Headlines: 1.1 (tight tracking for impact)
- Body Text: 1.6-1.7 (relaxed for readability)
- Letter Spacing: Tight tracking (-0.02em) on large headlines for modern polish
- Responsive Type Scale:
- Mobile: text-2xl to text-4xl for h1
- Desktop: text-4xl to text-6xl for h1
- Progressive scaling ensures legibility across all devices
Radius & Border
- Radius:
rounded-xl(12px) for cards androunded-lg(8px) for inputs. Buttons arerounded-fullorrounded-lg. - Borders: Thin, 1px borders using the
Bordertoken.
Shadows & Effects
This is where the design truly shines. Colored shadows replace neutral grays to reinforce the brand palette:
- Default Card Shadow:
0 4px 20px -2px rgba(79, 70, 229, 0.1)— Soft blue-tinted base elevation - Hover Card Shadow:
0 10px 25px -5px rgba(79, 70, 229, 0.15), 0 8px 10px -6px rgba(79, 70, 229, 0.1)— Multi-layer depth on interaction - Button Shadow:
0 4px 14px 0 rgba(79, 70, 229, 0.3)— Strong presence for primary CTAs - Glow Effects: Numbered badges use
shadow-[0_0_20px_rgba(79,70,229,0.5)]for ethereal glow - Background Blobs: Large gradient orbs with 3xl blur create atmospheric depth without distraction
blur-3xl filtercombined with low opacity (20-50%)- Positioned absolutely to create layered depth
- Gradients:
- Primary Gradient:
from-indigo-600 to-violet-600— Used for buttons and active states - Text Gradient: Combined with
bg-clip-text text-transparentfor striking headlines - Background Gradients: Subtle
from-indigo-100 to-violet-100for container backgrounds - Final CTA Background:
from-indigo-900 to-indigo-950for dramatic dark section
- Primary Gradient:
3. Component Stylings
Buttons
- Primary: Gradient background (Indigo to Violet).
rounded-fullorrounded-lg. White text. Slight shadow. Transition: Lift (-translate-y-0.5) and increase shadow on hover. - Secondary: White background, Border
E2E8F0, TextSlate 700. Hover:bg-slate-50and darker border.
Cards
- Base: White background,
rounded-xl,border border-slate-100,shadow-soft. - Behavior: On hover, slight lift and increased shadow intensity.
- Feature Cards: May feature an icon in a soft-colored circle (bg-indigo-50 text-indigo-600).
Inputs
- Style:
bg-white,border-slate-200,rounded-lg. - Focus:
ring-2 ring-indigo-500 ring-offset-1andborder-indigo-500. - Label:
text-sm font-semibold text-slate-700.
4. Non-Generic Bold Choices
The Corporate Trust aesthetic stands out through deliberate, sophisticated design decisions:
Isometric Depth & 3D Transforms
- Hero Card:
perspective-[2000px]parent withrotate-x-[5deg] rotate-y-[-12deg]child creates subtle isometric effect - Hover Transforms:
hover:rotate-x-[2deg] hover:rotate-y-[-8deg]— Subtle 3D movement on interaction - Feature Cards: Alternating
rotate-y-[6deg]androtate-y-[-6deg]based on layout position - Benefit Visualization:
rotate-x-6 rotate-y-12 transformon gradient container for dramatic depth
Strategic Gradient Usage
- Split Headlines: First 3 words in standard color, remaining words in gradient for visual hierarchy
- Gradient Buttons: Full background gradient with hover lift (
-translate-y-0.5) - Badge Elements: NEW badge with solid indigo background inside gradient-ringed container
- Final CTA: White button on dark gradient background creates dramatic contrast
Atmospheric Background Elements
- Blur Orbs: Large (400-600px) circular gradients with heavy blur positioned absolutely
- Layered Positioning: Multiple blobs at different z-indexes create depth
- Subtle Animation:
animate-pulse duration-[4000ms]on floating cards for gentle movement
Elevated Card System
- Default State: Soft colored shadow with subtle border
- Hover State: Lift effect (
-translate-y-1) combined with enhanced shadow - Transition: Smooth
duration-200for professional polish - Pricing Highlight: Center card uses
md:scale-105with special ring styling
Micro-Interactions
- Arrow Icons:
transition-transform group-hover:translate-x-1for directional feedback - Image Zoom:
group-hover:scale-105on blog images with overlay fade-in - Chevron Rotation:
group-open:rotate-180for FAQ accordions - Button Lift: Subtle upward movement on hover reinforces clickability
5. Spacing & Layout
- Container:
max-w-7xl(1280px) provides spacious, enterprise-appropriate width - Padding: Responsive padding with
px-4 sm:px-6pattern for consistent gutters - Vertical Rhythm:
- Mobile:
py-16(64px) - Tablet:
sm:py-20(80px) - Desktop:
lg:py-24(96px)
- Mobile:
- Section Spacing: Generous white space between sections creates breathing room
- Grid Strategy:
- Hero: Two-column
lg:grid-cols-2with text-first approach - Features: Alternating zig-zag with
lg:flex-rowandlg:flex-row-reverse - Pricing: Three-column
md:grid-cols-3with center emphasis - Stats: Four-column
md:grid-cols-4for metric display
- Hero: Two-column
- Responsive Breakpoints:
- Mobile-first approach with progressive enhancement
- sm: 640px, md: 768px, lg: 1024px, xl: 1280px
- Text Width Constraints:
max-w-xlormax-w-2xlon paragraphs to maintain 60-75 character line lengths
6. Animation & Transitions
- Philosophy: "Refined Motion" — Smooth, professional, never jarring
- Base Transition:
transition-all duration-200for general interactive elements - Long Transitions:
duration-500for image zooms and complex animations - Hover Effects:
- Cards: Combine
hover:-translate-y-1with shadow enhancement - Buttons:
hover:-translate-y-0.5for subtle lift - Icons:
transition-transform group-hover:translate-x-1for directional cues
- Cards: Combine
- Easing: Default
ease-outfor natural deceleration - Pulse Animation:
animate-pulse duration-[4000ms]on decorative floating elements for gentle breathing effect - State Changes: Smooth color transitions on links and buttons reinforce interactivity
7. Iconography
- Library:
lucide-reactfor consistent, modern icon system - Style:
- Default stroke width:
2px(standard) - Size:
h-4 w-4for inline icons,h-5 w-5orh-6 w-6for featured icons - Joins: Rounded for friendliness
- Default stroke width:
- Color Treatment:
- Badge Icons: Icon in
text-indigo-600onbg-indigo-100container - Navigation Icons: Inherit text color, transition on hover
- Social Icons:
text-slate-400 hover:text-indigo-400
- Badge Icons: Icon in
- Icon Containers:
- Small badges:
h-12 w-12 rounded-xlwith soft background - Large features:
h-14 w-14 rounded-xlfor prominent sections - Circular:
rounded-fullfor avatars or status indicators
- Small badges:
- Accessibility: Icons are decorative with proper text alternatives or hidden from screen readers when paired with text
8. Responsive Strategy
- Mobile-First Philosophy: Design begins at 375px width, progressively enhances
- Touch Targets: Minimum 44x44px for all interactive elements (buttons, links)
- Typography Scaling:
- Headlines reduce from
text-6xl(desktop) totext-4xl(mobile) - Body text maintains readability at
text-basewith responsive line heights
- Headlines reduce from
- Layout Adaptations:
- Two-column layouts stack to single column on mobile
- Navigation collapses to essential items (login hidden on mobile)
- Pricing cards stack vertically with equal width
- Footer columns stack progressively (4 col → 2 col → 1 col)
- Spacing Compression: Padding and margins reduce proportionally on smaller screens
- Image Optimization: Aspect ratios maintained, sizes adapt to container width
- Horizontal Scrolling: Never required; all content fits viewport width
- Visual Hierarchy Preserved: Even on mobile, clear distinction between heading levels maintained
9. Accessibility & Best Practices
- Color Contrast: All text meets WCAG AA standards
- Slate 900 on Slate 50 background: AAA compliant
- White text on Indigo 900 background: AAA compliant
- Link colors tested for 4.5:1 minimum ratio
- Focus States:
- Visible ring on all interactive elements:
focus-visible:ring-2 focus-visible:ring-indigo-500 - Ring offset for clarity:
focus-visible:ring-offset-2 - Never remove focus indicators
- Visible ring on all interactive elements:
- Semantic HTML:
- Proper heading hierarchy (h1 → h2 → h3)
- Native
<button>elements for interactive actions <nav>for navigation,<footer>for footer- Details/summary for FAQ accordions
- Image Alt Text: Descriptive alternatives for all images
- Interactive States:
- Hover: Visual feedback on all clickable elements
- Active: Subtle state change on click
- Disabled: Reduced opacity with
pointer-events-none
- Motion Preferences: Consider
prefers-reduced-motionfor users sensitive to animation - Screen Reader Support: Proper ARIA labels where semantic HTML insufficient