@tangle-network/starter-foundry 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/cli.js +30 -0
  2. package/dist/cli.js.map +1 -1
  3. package/dist/lib/agent-context.d.ts +43 -0
  4. package/dist/lib/agent-context.js +63 -0
  5. package/dist/lib/agent-context.js.map +1 -0
  6. package/dist/lib/compose-prompt.d.ts +50 -0
  7. package/dist/lib/compose-prompt.js +68 -0
  8. package/dist/lib/compose-prompt.js.map +1 -0
  9. package/dist/lib/compose.js +2 -0
  10. package/dist/lib/compose.js.map +1 -1
  11. package/dist/lib/index.d.ts +6 -1
  12. package/dist/lib/index.js +4 -1
  13. package/dist/lib/index.js.map +1 -1
  14. package/dist/lib/industries.d.ts +33 -0
  15. package/dist/lib/industries.js +52 -0
  16. package/dist/lib/industries.js.map +1 -0
  17. package/dist/lib/keywords.d.ts +6 -0
  18. package/dist/lib/keywords.js +21 -0
  19. package/dist/lib/keywords.js.map +1 -1
  20. package/dist/lib/prompt-planner.js +21 -1
  21. package/dist/lib/prompt-planner.js.map +1 -1
  22. package/dist/lib/telemetry.d.ts +1 -0
  23. package/dist/lib/telemetry.js.map +1 -1
  24. package/package.json +4 -1
  25. package/registry/layers/capability/layout-landing/files/features-section.tsx +54 -77
  26. package/registry/layers/capability/layout-landing/files/hero-section.tsx +18 -23
  27. package/registry/layers/capability/layout-landing/files/landing-page.tsx +25 -63
  28. package/registry/layers/capability/layout-landing/files/personalize.json +146 -0
  29. package/registry/layers/capability/layout-landing/files/pricing-section.tsx +45 -94
  30. package/registry/layers/capability/layout-landing/manifest.json +4 -0
  31. package/registry/layers/capability/layout-landing/variants/dark-product/features-section.tsx +55 -59
  32. package/registry/layers/capability/layout-landing/variants/dark-product/hero-section.tsx +83 -55
  33. package/registry/layers/capability/layout-landing/variants/dark-product/landing-page.tsx +25 -63
  34. package/registry/layers/capability/layout-landing/variants/dark-product/personalize.json +53 -0
  35. package/registry/layers/capability/layout-landing/variants/dark-product/pricing-section.tsx +51 -91
  36. package/registry/layers/capability/layout-landing/variants/default/features-section.tsx +54 -77
  37. package/registry/layers/capability/layout-landing/variants/default/hero-section.tsx +18 -23
  38. package/registry/layers/capability/layout-landing/variants/default/landing-page.tsx +25 -63
  39. package/registry/layers/capability/layout-landing/variants/default/personalize.json +146 -0
  40. package/registry/layers/capability/layout-landing/variants/default/pricing-section.tsx +45 -94
  41. package/registry/layers/capability/layout-landing/variants/gradient-hero/features-section.tsx +53 -57
  42. package/registry/layers/capability/layout-landing/variants/gradient-hero/hero-section.tsx +86 -53
  43. package/registry/layers/capability/layout-landing/variants/gradient-hero/landing-page.tsx +25 -63
  44. package/registry/layers/capability/layout-landing/variants/gradient-hero/personalize.json +53 -0
  45. package/registry/layers/capability/layout-landing/variants/gradient-hero/pricing-section.tsx +49 -88
  46. package/registry/layers/capability/layout-landing/variants/minimal-clean/features-section.tsx +53 -51
  47. package/registry/layers/capability/layout-landing/variants/minimal-clean/hero-section.tsx +88 -47
  48. package/registry/layers/capability/layout-landing/variants/minimal-clean/landing-page.tsx +25 -63
  49. package/registry/layers/capability/layout-landing/variants/minimal-clean/personalize.json +53 -0
  50. package/registry/layers/capability/layout-landing/variants/minimal-clean/pricing-section.tsx +51 -87
  51. package/registry/layers/framework/nextjs-app-router/files/layout.tsx +1 -0
  52. package/registry/layers/framework/nextjs-app-router/files/personalize.css +1 -0
  53. package/registry/layers/framework/nextjs-app-router/manifest.json +4 -0
  54. package/registry/layers/framework/react-vite-ts/files/main.ts +1 -0
  55. package/registry/layers/framework/react-vite-ts/files/personalize.css +1 -0
  56. package/registry/layers/framework/react-vite-ts/manifest.json +4 -0
  57. package/registry/layers/industry/creative/files/personalize.css +11 -0
  58. package/registry/layers/industry/creative/manifest.json +39 -0
  59. package/registry/layers/industry/crypto/files/personalize.css +11 -0
  60. package/registry/layers/industry/crypto/manifest.json +41 -0
  61. package/registry/layers/industry/ecommerce/files/personalize.css +11 -0
  62. package/registry/layers/industry/ecommerce/manifest.json +39 -0
  63. package/registry/layers/industry/education/files/personalize.css +11 -0
  64. package/registry/layers/industry/education/manifest.json +39 -0
  65. package/registry/layers/industry/finance/files/personalize.css +11 -0
  66. package/registry/layers/industry/finance/manifest.json +39 -0
  67. package/registry/layers/industry/fitness/files/personalize.css +11 -0
  68. package/registry/layers/industry/fitness/manifest.json +43 -0
  69. package/registry/layers/industry/gaming/files/personalize.css +11 -0
  70. package/registry/layers/industry/gaming/manifest.json +39 -0
  71. package/registry/layers/industry/health/files/personalize.css +11 -0
  72. package/registry/layers/industry/health/manifest.json +39 -0
  73. package/registry/layers/industry/restaurant/files/personalize.css +11 -0
  74. package/registry/layers/industry/restaurant/manifest.json +41 -0
  75. package/registry/layers/industry/saas/files/personalize.css +11 -0
  76. package/registry/layers/industry/saas/manifest.json +39 -0
@@ -0,0 +1,146 @@
1
+ {
2
+ "_meta": {
3
+ "doc": "Edit this file to customize ALL copy, branding, and content on the landing page. Components read from this at build time. Agents personalizing scaffolds should rewrite this file based on the user's actual product.",
4
+ "version": 1
5
+ },
6
+ "brand": {
7
+ "name": "Acme",
8
+ "tagline": "The platform for shipping fast"
9
+ },
10
+ "hero": {
11
+ "badge": "NOW IN BETA — GET EARLY ACCESS",
12
+ "headline": "Build something people want.",
13
+ "subheadline": "The modern platform that gives your team everything it needs to go from idea to production.",
14
+ "ctaPrimary": "Get Started",
15
+ "ctaSecondary": "See a Demo"
16
+ },
17
+ "trust": {
18
+ "label": "Trusted by 1,000+ teams worldwide",
19
+ "logoNames": ["Acme Corp", "TechFlow", "Quantum", "NovaSoft", "BuildStack", "DataPipe"]
20
+ },
21
+ "features": {
22
+ "eyebrow": "Features",
23
+ "headline": "Everything you need, nothing you don't",
24
+ "subheadline": "Built for teams who care about craft and ship fast.",
25
+ "primary": [
26
+ {
27
+ "icon": "Zap",
28
+ "title": "Lightning fast",
29
+ "description": "Optimized for speed at every layer. Sub-second cold starts, instant hot reload."
30
+ },
31
+ {
32
+ "icon": "Shield",
33
+ "title": "Secure by default",
34
+ "description": "Authentication, authorization, and encryption built in. SOC 2 ready out of the box."
35
+ },
36
+ {
37
+ "icon": "BarChart3",
38
+ "title": "Built-in analytics",
39
+ "description": "Real-time metrics, custom dashboards, and automatic alerting on what matters."
40
+ }
41
+ ],
42
+ "secondary": [
43
+ {
44
+ "icon": "Layers",
45
+ "title": "Composable architecture",
46
+ "description": "Mix and match the pieces you need."
47
+ },
48
+ {
49
+ "icon": "Globe",
50
+ "title": "Global by default",
51
+ "description": "Edge-deployed across 200+ regions."
52
+ },
53
+ {
54
+ "icon": "Lock",
55
+ "title": "Privacy-first",
56
+ "description": "Your data stays yours. No tracking, no telemetry."
57
+ }
58
+ ]
59
+ },
60
+ "pricing": {
61
+ "eyebrow": "Pricing",
62
+ "headline": "Simple, transparent pricing",
63
+ "subheadline": "Start free. Upgrade when you're ready. Cancel anytime.",
64
+ "toggleMonthly": "Monthly",
65
+ "toggleYearly": "Yearly",
66
+ "yearlyDiscount": "Save 20%",
67
+ "tiers": [
68
+ {
69
+ "name": "Free",
70
+ "price": "$0",
71
+ "period": "/mo",
72
+ "description": "For side projects and exploration",
73
+ "features": [
74
+ "Up to 3 projects",
75
+ "Community support",
76
+ "Basic analytics",
77
+ "1 team member"
78
+ ],
79
+ "cta": "Start for free",
80
+ "highlighted": false,
81
+ "note": "No credit card required"
82
+ },
83
+ {
84
+ "name": "Pro",
85
+ "price": "$29",
86
+ "period": "/mo",
87
+ "description": "For growing teams shipping in production",
88
+ "features": [
89
+ "Unlimited projects",
90
+ "Priority support",
91
+ "Advanced analytics",
92
+ "Up to 10 team members",
93
+ "Custom integrations",
94
+ "API access"
95
+ ],
96
+ "cta": "Start free trial",
97
+ "highlighted": true
98
+ },
99
+ {
100
+ "name": "Enterprise",
101
+ "price": "Custom",
102
+ "period": "",
103
+ "description": "For organizations with custom needs",
104
+ "features": [
105
+ "Everything in Pro",
106
+ "Unlimited team members",
107
+ "Dedicated support",
108
+ "Custom SLAs",
109
+ "SSO and SAML",
110
+ "On-premise deployment"
111
+ ],
112
+ "cta": "Contact sales",
113
+ "highlighted": false
114
+ }
115
+ ]
116
+ },
117
+ "footer": {
118
+ "tagline": "Built with care by people who give a damn.",
119
+ "sections": {
120
+ "Product": [
121
+ { "label": "Features", "href": "#features" },
122
+ { "label": "Pricing", "href": "#pricing" },
123
+ { "label": "Changelog", "href": "/changelog" },
124
+ { "label": "Docs", "href": "/docs" }
125
+ ],
126
+ "Company": [
127
+ { "label": "About", "href": "/about" },
128
+ { "label": "Blog", "href": "/blog" },
129
+ { "label": "Careers", "href": "/careers" },
130
+ { "label": "Contact", "href": "/contact" }
131
+ ],
132
+ "Resources": [
133
+ { "label": "Documentation", "href": "/docs" },
134
+ { "label": "API Reference", "href": "/docs/api" },
135
+ { "label": "Status", "href": "/status" },
136
+ { "label": "Support", "href": "/support" }
137
+ ],
138
+ "Legal": [
139
+ { "label": "Privacy", "href": "/privacy" },
140
+ { "label": "Terms", "href": "/terms" },
141
+ { "label": "Security", "href": "/security" }
142
+ ]
143
+ },
144
+ "copyright": "© 2026 Acme. All rights reserved."
145
+ }
146
+ }
@@ -4,147 +4,100 @@ import * as React from 'react'
4
4
  import { Button } from '@/components/ui/button'
5
5
  import { Check } from 'lucide-react'
6
6
  import { cn } from '@/lib/utils'
7
-
8
- const tiers = [
9
- {
10
- name: 'Free',
11
- price: { monthly: '$0', yearly: '$0' },
12
- description: 'For side projects and experimentation.',
13
- features: [
14
- 'Up to 3 projects',
15
- '1 GB storage',
16
- 'Community support',
17
- 'Basic analytics',
18
- ],
19
- cta: 'Get Started',
20
- highlighted: false,
21
- },
22
- {
23
- name: 'Pro',
24
- price: { monthly: '$29', yearly: '$24' },
25
- description: 'For growing teams that need more power.',
26
- features: [
27
- 'Unlimited projects',
28
- '100 GB storage',
29
- 'Priority support',
30
- 'Advanced analytics',
31
- 'Custom domains',
32
- 'Team roles',
33
- ],
34
- cta: 'Start Free Trial',
35
- highlighted: true,
36
- },
37
- {
38
- name: 'Enterprise',
39
- price: { monthly: 'Custom', yearly: 'Custom' },
40
- description: 'For organizations with advanced needs.',
41
- features: [
42
- 'Everything in Pro',
43
- 'Unlimited storage',
44
- 'Dedicated support engineer',
45
- 'SSO / SAML',
46
- 'SLA guarantees',
47
- 'Audit logs',
48
- ],
49
- cta: 'Contact Sales',
50
- highlighted: false,
51
- },
52
- ]
7
+ import personalize from '@/personalize.json'
53
8
 
54
9
  export function PricingSection() {
55
10
  const [yearly, setYearly] = React.useState(false)
11
+ const { pricing } = personalize
56
12
 
57
13
  return (
58
- <section className="py-24 sm:py-32">
14
+ <section id="pricing" className="relative bg-background py-24 sm:py-32">
59
15
  <div className="mx-auto max-w-6xl px-6 lg:px-8">
60
16
  <div className="mx-auto max-w-2xl text-center">
61
- <h2 className="text-3xl font-semibold tracking-tight text-foreground sm:text-4xl">
62
- Simple, transparent pricing
17
+ <p className="text-sm font-semibold uppercase tracking-wider text-primary">
18
+ {pricing.eyebrow}
19
+ </p>
20
+ <h2 className="mt-3 text-4xl font-bold tracking-tight text-foreground sm:text-5xl">
21
+ {pricing.headline}
63
22
  </h2>
64
- <p className="mt-4 text-lg leading-relaxed text-muted-foreground">
65
- Choose your plan. Start free, upgrade when you are ready.
23
+ <p className="mt-6 text-lg leading-relaxed text-muted-foreground">
24
+ {pricing.subheadline}
66
25
  </p>
26
+ </div>
67
27
 
68
- {/* Pill toggle */}
69
- <div className="relative mt-8 inline-flex items-center rounded-full border bg-muted/50 p-1 dark:bg-muted/20">
70
- {/* Sliding indicator */}
71
- <div
72
- className={cn(
73
- 'absolute inset-y-1 w-[calc(50%-4px)] rounded-full bg-primary shadow-sm transition-transform duration-200 ease-out',
74
- yearly ? 'translate-x-[calc(100%+4px)]' : 'translate-x-0.5'
75
- )}
76
- />
28
+ <div className="mt-12 flex justify-center">
29
+ <div className="inline-flex items-center rounded-full border border-border/50 bg-muted/50 p-1 shadow-sm">
77
30
  <button
78
31
  type="button"
79
32
  onClick={() => setYearly(false)}
80
33
  className={cn(
81
- 'relative z-10 rounded-full px-5 py-2 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2',
82
- !yearly
83
- ? 'text-primary-foreground'
84
- : 'text-muted-foreground hover:text-foreground'
34
+ 'rounded-full px-5 py-2 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2',
35
+ !yearly ? 'bg-primary text-primary-foreground shadow-sm' : 'text-muted-foreground hover:text-foreground',
85
36
  )}
86
37
  >
87
- Monthly
38
+ {pricing.toggleMonthly}
88
39
  </button>
89
40
  <button
90
41
  type="button"
91
42
  onClick={() => setYearly(true)}
92
43
  className={cn(
93
- 'relative z-10 inline-flex items-center gap-2 rounded-full px-5 py-2 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2',
94
- yearly
95
- ? 'text-primary-foreground'
96
- : 'text-muted-foreground hover:text-foreground'
44
+ 'inline-flex items-center gap-2 rounded-full px-5 py-2 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2',
45
+ yearly ? 'bg-primary text-primary-foreground shadow-sm' : 'text-muted-foreground hover:text-foreground',
97
46
  )}
98
47
  >
99
- Yearly
100
- {!yearly && <span className="text-xs font-medium text-primary">Save 20%</span>}
48
+ {pricing.toggleYearly}
49
+ {!yearly && (
50
+ <span className="rounded-full bg-primary/10 px-2 py-0.5 text-xs font-semibold text-primary">
51
+ {pricing.yearlyDiscount}
52
+ </span>
53
+ )}
101
54
  </button>
102
55
  </div>
103
56
  </div>
104
57
 
105
- <div className="mx-auto mt-16 grid max-w-5xl items-start gap-8 lg:grid-cols-3">
106
- {tiers.map((tier) => (
58
+ <div className="mt-16 grid gap-8 lg:grid-cols-3 lg:gap-6">
59
+ {pricing.tiers.map((tier) => (
107
60
  <div
108
61
  key={tier.name}
109
62
  className={cn(
110
- 'flex flex-col rounded-xl border p-8',
63
+ 'relative rounded-2xl bg-card p-8 transition-all',
111
64
  tier.highlighted
112
- ? 'relative z-10 border-2 border-primary bg-gradient-to-b from-primary/5 to-transparent shadow-2xl shadow-primary/10 ring-1 ring-primary/20 lg:scale-105'
113
- : 'border-border/50 bg-card shadow-sm'
65
+ ? 'border-2 border-primary bg-gradient-to-b from-primary/5 to-transparent shadow-2xl shadow-primary/10 ring-1 ring-primary/20 lg:scale-105'
66
+ : 'border border-border/50 shadow-sm hover:shadow-md',
114
67
  )}
115
68
  >
116
69
  {tier.highlighted && (
117
- <div className="absolute -top-4 left-1/2 -translate-x-1/2 rounded-full bg-primary px-4 py-1 text-xs font-medium text-primary-foreground">
118
- Most Popular
70
+ <div className="absolute -top-4 left-1/2 -translate-x-1/2">
71
+ <span className="rounded-full bg-primary px-4 py-1 text-xs font-semibold uppercase tracking-wider text-primary-foreground shadow-md">
72
+ Most Popular
73
+ </span>
119
74
  </div>
120
75
  )}
121
76
 
122
77
  <div className="space-y-8">
123
78
  <div>
124
- <h3 className="text-lg font-semibold text-foreground">
125
- {tier.name}
126
- </h3>
127
- <p className="mt-1 text-sm text-muted-foreground">
128
- {tier.description}
129
- </p>
79
+ <h3 className="text-lg font-semibold text-foreground">{tier.name}</h3>
80
+ <p className="mt-2 text-sm text-muted-foreground">{tier.description}</p>
130
81
  </div>
131
82
 
132
83
  <div className="flex items-baseline gap-1">
133
84
  <span className="text-5xl font-bold tracking-tight text-foreground">
134
- {yearly ? tier.price.yearly : tier.price.monthly}
85
+ {tier.price}
135
86
  </span>
136
- {tier.price.monthly !== 'Custom' && (
137
- <span className="text-sm text-muted-foreground">/mo</span>
87
+ {tier.period && (
88
+ <span className="text-sm font-medium text-muted-foreground">
89
+ {tier.period}
90
+ </span>
138
91
  )}
139
92
  </div>
140
93
 
141
94
  <ul className="space-y-4">
142
95
  {tier.features.map((feature) => (
143
- <li key={feature} className="flex items-start gap-2.5 text-sm">
96
+ <li key={feature} className="flex items-start gap-3">
144
97
  <span className="mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-primary/10">
145
98
  <Check className="h-3 w-3 text-primary" />
146
99
  </span>
147
- <span className="text-muted-foreground">{feature}</span>
100
+ <span className="text-sm text-foreground">{feature}</span>
148
101
  </li>
149
102
  ))}
150
103
  </ul>
@@ -154,15 +107,13 @@ export function PricingSection() {
154
107
  variant={tier.highlighted ? 'default' : 'outline'}
155
108
  className={cn(
156
109
  'h-12 w-full rounded-lg font-medium transition-transform hover:scale-[1.02] active:scale-[0.98] focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2',
157
- tier.highlighted && 'shadow-lg shadow-primary/25'
110
+ tier.highlighted ? 'shadow-lg shadow-primary/25' : 'border-2',
158
111
  )}
159
112
  >
160
113
  {tier.cta}
161
114
  </Button>
162
- {tier.name === 'Free' && (
163
- <p className="mt-3 text-center text-xs text-muted-foreground">
164
- No credit card required
165
- </p>
115
+ {tier.note && (
116
+ <p className="mt-3 text-center text-xs text-muted-foreground">{tier.note}</p>
166
117
  )}
167
118
  </div>
168
119
  </div>
@@ -1,79 +1,75 @@
1
- import { Zap, Shield, BarChart3, Layers, Globe, Lock } from 'lucide-react'
1
+ import * as Icons from 'lucide-react'
2
+ import type { LucideIcon } from 'lucide-react'
3
+ import personalize from '@/personalize.json'
2
4
 
3
- const primaryFeatures = [
4
- {
5
- icon: Zap,
6
- title: 'Lightning Fast',
7
- description:
8
- 'Optimized for speed with edge-first architecture. Sub-second response times out of the box with automatic CDN distribution.',
9
- },
10
- {
11
- icon: Shield,
12
- title: 'Secure by Default',
13
- description:
14
- 'Enterprise-grade security with end-to-end encryption, SOC 2 compliance, and role-based access controls baked into every layer.',
15
- },
16
- {
17
- icon: BarChart3,
18
- title: 'Built-in Analytics',
19
- description:
20
- 'Real-time dashboards and custom reports so you always know what is working. Track every metric that matters to your business.',
21
- },
22
- ]
23
-
24
- const secondaryFeatures = [
25
- { icon: Layers, label: 'Composable modules — pick only the pieces you need' },
26
- { icon: Globe, label: 'Deploy to 30+ regions with a single command' },
27
- { icon: Lock, label: 'SSO, SAML, and audit logs for compliance' },
28
- ]
5
+ function getIcon(name: string): LucideIcon {
6
+ const Icon = (Icons as unknown as Record<string, LucideIcon>)[name]
7
+ return Icon ?? Icons.Sparkles
8
+ }
29
9
 
30
10
  export function FeaturesSection() {
11
+ const { features } = personalize
31
12
  return (
32
- <section className="py-24 sm:py-32">
13
+ <section id="features" className="relative bg-background py-24 sm:py-32">
33
14
  <div className="mx-auto max-w-6xl px-6 lg:px-8">
34
15
  <div className="mx-auto max-w-2xl text-center">
35
- <h2 className="text-3xl font-semibold tracking-tight text-foreground sm:text-4xl">
36
- Everything you need to ship
16
+ <p className="text-sm font-semibold uppercase tracking-wider text-primary">
17
+ {features.eyebrow}
18
+ </p>
19
+ <h2 className="mt-3 text-4xl font-bold tracking-tight text-foreground sm:text-5xl">
20
+ {features.headline}
37
21
  </h2>
38
- <p className="mt-4 text-lg leading-relaxed text-muted-foreground">
39
- A complete toolkit so your team can focus on building product, not plumbing.
22
+ <p className="mt-6 text-lg leading-relaxed text-muted-foreground">
23
+ {features.subheadline}
40
24
  </p>
41
25
  </div>
42
26
 
43
- <div className="mx-auto mt-20 max-w-5xl space-y-16">
44
- {primaryFeatures.map((feature, i) => (
45
- <div
46
- key={feature.title}
47
- className={`flex flex-col items-center gap-8 md:flex-row ${i % 2 === 1 ? 'md:flex-row-reverse' : ''}`}
48
- >
49
- <div className="flex h-24 w-24 shrink-0 items-center justify-center rounded-lg bg-gradient-to-br from-violet-500 to-blue-500 text-white shadow-lg shadow-violet-500/25">
50
- <feature.icon className="h-10 w-10" />
51
- </div>
52
- <div className={`text-center ${i % 2 === 1 ? 'md:text-right' : 'md:text-left'}`}>
53
- <h3 className="text-xl font-semibold text-foreground">{feature.title}</h3>
54
- <p className="mt-2 text-sm leading-relaxed text-muted-foreground">
27
+ <div className="mt-20 grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
28
+ {features.primary.map((feature, i) => {
29
+ const Icon = getIcon(feature.icon)
30
+ return (
31
+ <div
32
+ key={feature.title}
33
+ className="group relative overflow-hidden rounded-xl border border-border/50 bg-card p-8 shadow-sm transition-all duration-200 hover:border-border hover:shadow-md"
34
+ style={{ animation: `fadeInUp 0.6s ease ${i * 0.15}s both` }}
35
+ >
36
+ <div className="absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-primary/50 to-transparent" />
37
+ <div className="flex h-11 w-11 items-center justify-center rounded-lg bg-gradient-to-br from-primary/20 to-primary/5 text-primary">
38
+ <Icon className="h-5 w-5" />
39
+ </div>
40
+ <h3 className="mt-6 text-lg font-semibold text-foreground">{feature.title}</h3>
41
+ <p className="mt-3 text-sm leading-relaxed text-muted-foreground">
55
42
  {feature.description}
56
43
  </p>
57
44
  </div>
58
- </div>
59
- ))}
45
+ )
46
+ })}
60
47
  </div>
61
48
 
62
- <div className="mx-auto mt-12 max-w-3xl border-t pt-10">
63
- <div className="grid gap-6 sm:grid-cols-3">
64
- {secondaryFeatures.map((feature) => (
65
- <div key={feature.label} className="flex items-start gap-3">
66
- <div className="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-gradient-to-br from-violet-500/20 to-blue-500/20 text-violet-600 dark:text-violet-400">
67
- <feature.icon className="h-4 w-4" />
49
+ <div className="mt-16 grid gap-8 border-t border-border/50 pt-16 sm:grid-cols-3">
50
+ {features.secondary.map((feature) => {
51
+ const Icon = getIcon(feature.icon)
52
+ return (
53
+ <div key={feature.title} className="flex gap-4">
54
+ <div className="flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground">
55
+ <Icon className="h-4 w-4" />
56
+ </div>
57
+ <div>
58
+ <h4 className="text-sm font-semibold text-foreground">{feature.title}</h4>
59
+ <p className="mt-1 text-sm text-muted-foreground">{feature.description}</p>
68
60
  </div>
69
- <p className="text-sm leading-snug text-muted-foreground">
70
- {feature.label}
71
- </p>
72
61
  </div>
73
- ))}
74
- </div>
62
+ )
63
+ })}
75
64
  </div>
76
65
  </div>
66
+
67
+ <style>{`
68
+ @keyframes fadeInUp {
69
+ from { opacity: 0; transform: translateY(20px); }
70
+ to { opacity: 1; transform: translateY(0); }
71
+ }
72
+ `}</style>
77
73
  </section>
78
74
  )
79
75
  }