go-duck-cli 1.0.8 → 1.1.1

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 (70) hide show
  1. package/README.md +30 -15
  2. package/generators/ai_docs.js +130 -0
  3. package/generators/broker.js +63 -0
  4. package/generators/config.js +149 -7
  5. package/generators/devops.js +210 -43
  6. package/generators/docs.js +23 -4
  7. package/generators/elasticsearch.js +263 -0
  8. package/generators/kratos.js +229 -41
  9. package/generators/metering.js +280 -48
  10. package/generators/migrations.js +92 -198
  11. package/generators/mqtt.js +2 -39
  12. package/generators/multitenancy.js +274 -71
  13. package/generators/nats.js +39 -0
  14. package/generators/outbox.js +171 -0
  15. package/generators/postgrest.js +7 -3
  16. package/generators/postman.js +405 -0
  17. package/generators/repository.js +27 -0
  18. package/generators/router.js +27 -0
  19. package/generators/security.js +95 -14
  20. package/generators/serverless.js +147 -0
  21. package/generators/storage.js +589 -0
  22. package/generators/swagger.js +84 -60
  23. package/generators/telemetry.js +23 -32
  24. package/generators/websocket.js +55 -21
  25. package/index.js +481 -116
  26. package/package.json +6 -4
  27. package/parser/gdl.js +163 -24
  28. package/templates/docs/index.html.hbs +5 -5
  29. package/templates/docs/layout.hbs +221 -62
  30. package/templates/docs/pages/audit.hbs +83 -35
  31. package/templates/docs/pages/cli.hbs +18 -0
  32. package/templates/docs/pages/configuration.hbs +241 -0
  33. package/templates/docs/pages/datadog.hbs +46 -0
  34. package/templates/docs/pages/elasticsearch.hbs +121 -0
  35. package/templates/docs/pages/federation.hbs +241 -0
  36. package/templates/docs/pages/gdl-advanced.hbs +91 -0
  37. package/templates/docs/pages/gdl-annotations.hbs +137 -0
  38. package/templates/docs/pages/gdl-entities.hbs +134 -0
  39. package/templates/docs/pages/gdl-relationships.hbs +80 -0
  40. package/templates/docs/pages/gdl.hbs +60 -204
  41. package/templates/docs/pages/graphql.hbs +58 -44
  42. package/templates/docs/pages/grpc.hbs +53 -90
  43. package/templates/docs/pages/hybrid-store.hbs +127 -0
  44. package/templates/docs/pages/index.hbs +418 -149
  45. package/templates/docs/pages/keycloak.hbs +43 -0
  46. package/templates/docs/pages/legend.hbs +116 -0
  47. package/templates/docs/pages/mosquitto.hbs +39 -0
  48. package/templates/docs/pages/multitenancy.hbs +139 -71
  49. package/templates/docs/pages/otel.hbs +40 -0
  50. package/templates/docs/pages/realtime.hbs +38 -12
  51. package/templates/docs/pages/redis.hbs +40 -0
  52. package/templates/docs/pages/rest.hbs +120 -202
  53. package/templates/docs/pages/saga.hbs +94 -0
  54. package/templates/docs/pages/security.hbs +150 -44
  55. package/templates/docs/pages/serverless.hbs +157 -0
  56. package/templates/docs/pages/storage.hbs +127 -0
  57. package/templates/docs/pages/wizard.hbs +683 -0
  58. package/templates/docs/triple_identity_registry.png +0 -0
  59. package/templates/go/controller.go.hbs +287 -283
  60. package/templates/go/entity.go.hbs +17 -15
  61. package/templates/go/main.go.hbs +47 -180
  62. package/templates/go/migrator.go.hbs +65 -0
  63. package/templates/go/router.go.hbs +272 -0
  64. package/templates/graphql/resolver.go.hbs +53 -34
  65. package/templates/graphql/schema.graphql.hbs +17 -5
  66. package/templates/kratos/service.go.hbs +169 -34
  67. package/templates/proto/entity.proto.hbs +10 -14
  68. package/test_nested.gdl +21 -0
  69. package/templates/docs/intro.mp4 +0 -0
  70. package/test_parser.js +0 -9
@@ -1,181 +1,450 @@
1
- <div class="mb-16 text-center lg:text-left relative">
2
- <div class="flex flex-col lg:flex-row items-center justify-center lg:justify-start mb-8 gap-8">
3
- <div class="relative group">
4
- <div class="absolute -inset-1 bg-gradient-to-r from-indigo-500 to-purple-600 rounded-2xl blur opacity-25 group-hover:opacity-50 transition duration-1000 group-hover:duration-200"></div>
5
- <img src="logo.png" alt="GO-DUCK" class="h-28 w-auto drop-shadow-2xl relative bg-white/50 backdrop-blur-sm rounded-2xl p-2 border border-white/50 animate-bounce-slow">
6
- </div>
7
- <div>
8
- <h1 class="text-6xl lg:text-8xl font-extrabold text-slate-900 tracking-tighter leading-tight mb-2">GO-DUCK</h1>
9
- <p class="text-2xl text-transparent bg-clip-text bg-gradient-to-r from-indigo-600 to-purple-600 font-bold tracking-widest uppercase">The Evolutionary Architecture Factory</p>
1
+ <div class="max-w-none text-slate-900 font-sans selection:bg-indigo-100 selection:text-indigo-900">
2
+
3
+ <!-- Section 1: The Sovereign Hero (Next Level) -->
4
+ <section class="relative min-h-[90vh] flex items-center justify-center pt-20 pb-32 overflow-hidden bg-[#ffffff]">
5
+ <!-- High-End Background Dynamics -->
6
+ <div class="absolute inset-0 pointer-events-none">
7
+ <div class="absolute top-0 left-1/4 w-[1000px] h-[1000px] bg-indigo-50/60 rounded-full blur-[140px] -translate-x-1/2 -translate-y-1/2 animate-pulse" style="animation-duration: 8s;"></div>
8
+ <div class="absolute bottom-0 right-1/4 w-[800px] h-[800px] bg-purple-50/40 rounded-full blur-[120px] translate-x-1/2 translate-y-1/2"></div>
9
+ <div class="absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/cubes.png')] opacity-[0.03] pointer-events-none"></div>
10
10
  </div>
11
- </div>
12
- <p class="text-xl lg:text-3xl text-slate-600 max-w-4xl leading-relaxed font-light">Where high-velocity <strong>Gophers</strong> meet the versatile wisdom of the <strong>Duck</strong> to scaffold microservices that thrive in chaos.</p>
13
- </div>
14
11
 
15
- <section id="the-story" class="mb-24 relative">
16
- <div class="bg-white rounded-[2.5rem] p-10 md:p-16 border border-slate-200 shadow-2xl shadow-indigo-100/50 relative overflow-hidden">
17
- <!-- Background Accents -->
18
- <div class="absolute top-0 right-0 w-[40rem] h-[40rem] bg-indigo-50/50 rounded-full blur-[100px] -mr-48 -mt-48"></div>
19
- <div class="absolute bottom-0 left-0 w-[30rem] h-[30rem] bg-purple-50/50 rounded-full blur-[100px] -ml-32 -mb-32"></div>
20
-
21
- <div class="relative z-10">
22
- <h2 class="text-4xl font-extrabold text-slate-900 mb-6 flex items-center tracking-tight">
23
- <span class="w-12 h-12 rounded-2xl bg-gradient-to-tr from-orange-400 to-rose-400 text-white flex items-center justify-center mr-5 shadow-lg animate-pulse">🦆</span>
24
- The Legend of the Century
25
- </h2>
26
-
27
- <!-- Cinematic Introduction -->
28
- <div class="mb-16 relative group">
29
- <div class="absolute -inset-2 bg-gradient-to-r from-indigo-500 to-purple-600 rounded-[2rem] blur opacity-15 group-hover:opacity-25 transition duration-1000"></div>
30
- <div class="relative bg-black rounded-[1.5rem] overflow-hidden shadow-2xl border border-white/10 aspect-video">
31
- <video controls class="w-full h-full object-cover">
32
- <source src="intro.mp4" type="video/mp4">
33
- Your browser does not support the video tag.
34
- </video>
35
- <div class="absolute bottom-0 left-0 right-0 p-6 bg-gradient-to-t from-black/80 to-transparent pointer-events-none">
36
- <span class="text-white/70 text-sm font-medium tracking-widest uppercase">Cinematic Introduction</span>
37
- <h4 class="text-white text-xl font-bold">The Trailer of the Epic</h4>
38
- </div>
12
+ <div class="relative z-10 max-w-7xl mx-auto px-6 text-center">
13
+ <!-- Glassmorphic Global Badge -->
14
+ <div class="inline-flex items-center gap-3 px-6 py-2.5 bg-white/40 backdrop-blur-xl border border-white/60 rounded-full shadow-xl shadow-indigo-100/20 mb-12 animate-fade-in group hover:scale-105 transition-all duration-500 cursor-help">
15
+ <span class="flex h-3 w-3 relative">
16
+ <span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"></span>
17
+ <span class="relative inline-flex rounded-full h-3 w-3 bg-emerald-500"></span>
18
+ </span>
19
+ <p class="text-[11px] font-black text-indigo-900 uppercase tracking-[0.25em]">The 361% Elite Milestone Surpassed</p>
20
+ </div>
21
+
22
+ <!-- Heroic Logo Anchor (Enhanced) -->
23
+ <div class="relative group mt-4 mb-20">
24
+ <div class="absolute -inset-20 bg-gradient-to-tr from-indigo-500/10 via-purple-500/5 to-emerald-500/10 rounded-full blur-[100px] opacity-20 group-hover:opacity-40 animate-pulse transition-all duration-[3000ms]"></div>
25
+ <div class="relative transform group-hover:scale-110 group-hover:rotate-3 transition-all duration-1000 cursor-zoom-in">
26
+ <img src="logo.png" alt="GO-DUCK Logo" class="relative w-48 md:w-64 h-auto drop-shadow-[0_40px_70px_rgba(99,102,241,0.25)] animate-float">
27
+ <div class="absolute -bottom-8 left-1/2 -translate-x-1/2 px-4 py-2 bg-slate-900 text-white text-[10px] font-black rounded-lg opacity-0 group-hover:opacity-100 transition-opacity transform translate-y-4 group-hover:translate-y-0 tracking-widest uppercase">The Sovereign Duck</div>
39
28
  </div>
40
29
  </div>
41
30
 
42
- <div class="space-y-16">
43
- <!-- Chapter 1 -->
44
- <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
45
- <div class="order-2 lg:order-1">
46
- <h3 class="text-2xl font-bold text-slate-800 mb-4 font-serif italic text-indigo-700">Chapter I: The Encounter at the Crossroads</h3>
47
- <p class="text-slate-600 leading-relaxed text-lg">In the legendary Silicon Valley of Code, a nomadic <strong>Gopher</strong>—lightning-fast and known for his tireless concurrency—crossed paths with a <strong>Duck</strong> from the Great Persistence Bayou. The Duck held the wisdom of adaptability and the secret to navigating ever-shifting business tides. They realized that while the Gopher built fast, the Duck built to survive. Together, they forged a pact to create the <strong>Generator of Kings</strong>.</p>
48
- </div>
49
- <div class="order-1 lg:order-2 flex justify-center">
50
- <img src="logo.png" alt="Partnership" class="w-64 h-64 object-contain filter drop-shadow-2xl hover:scale-105 transition-transform duration-500">
31
+ <h1 class="text-7xl md:text-[120px] font-black tracking-tighter leading-[0.8] mb-12 text-slate-900 max-w-[1200px] mx-auto filter drop-shadow-sm">
32
+ Orchestrate <span class="bg-gradient-to-r from-indigo-600 via-indigo-500 to-indigo-400 bg-clip-text text-transparent italic">Limitless</span> <br> Global Empires.
33
+ </h1>
34
+
35
+ <p class="text-xl md:text-3xl text-slate-400 leading-relaxed max-w-4xl mx-auto mb-16 font-medium tracking-tight">
36
+ The absolute pinnacle of Go microservice engineering. <br class="hidden md:block">
37
+ Precision-harvesting, hybrid-persistence, and zero-trust by default.
38
+ </p>
39
+
40
+ <div class="flex flex-col md:flex-row items-center justify-center gap-6">
41
+ <a href="wizard.html" class="group relative w-full md:w-auto overflow-hidden px-12 py-6 bg-indigo-600 text-white font-black rounded-[2rem] hover:bg-indigo-700 hover:-translate-y-1 transition-all shadow-2xl shadow-indigo-200 text-xs uppercase tracking-[0.3em]">
42
+ <span class="relative z-10">Launch Mission Control</span>
43
+ <div class="absolute inset-0 bg-gradient-to-r from-white/0 via-white/20 to-white/0 -translate-x-full group-hover:translate-x-full transition-transform duration-1000"></div>
44
+ </a>
45
+ <a href="#elite-features" class="w-full md:w-auto px-12 py-6 bg-white text-slate-900 font-black rounded-[2rem] border border-slate-200 hover:bg-slate-50 hover:-translate-y-1 transition-all text-xs uppercase tracking-[0.3em] shadow-lg shadow-slate-100/50">
46
+ Sovereign Core Deck
47
+ </a>
48
+ </div>
49
+ </div>
50
+ </section>
51
+
52
+ <!-- Section 2: Elite Status Dashboard (Bento Version) -->
53
+ <section class="py-32 bg-slate-50 border-y border-slate-100 relative overflow-hidden">
54
+ <div class="max-w-7xl mx-auto px-6">
55
+ <div class="grid grid-cols-1 lg:grid-cols-12 gap-8 items-stretch">
56
+ <!-- Achievement Card -->
57
+ <div class="lg:col-span-12 bg-white rounded-[3rem] p-12 border border-slate-200 shadow-2xl shadow-indigo-100/20 relative overflow-hidden group">
58
+ <div class="absolute top-0 right-0 w-1/3 h-full bg-gradient-to-l from-indigo-50/50 to-transparent pointer-events-none"></div>
59
+ <div class="relative z-10 flex flex-col lg:flex-row items-center justify-between gap-12">
60
+ <div class="max-w-xl text-center lg:text-left">
61
+ <h3 class="text-[11px] font-black text-indigo-500 uppercase tracking-[0.4em] mb-4 text-center lg:text-left">Operational Readiness</h3>
62
+ <h2 class="text-5xl font-black text-slate-900 tracking-tighter mb-6 italic">The 361% Paradigm Status.</h2>
63
+ <p class="text-slate-500 leading-relaxed font-medium">GO-DUCK has evolved from a simple generator into a high-performance distributed orchestrator, achieving industrial compliance across all silo ecosystems.</p>
64
+ </div>
65
+ <div class="grid grid-cols-2 gap-8 text-center bg-slate-50 p-8 rounded-[2rem] border border-slate-100 shadow-inner">
66
+ <div>
67
+ <p class="text-6xl font-black text-indigo-600 tracking-tighter">361<span class="text-3xl">%</span></p>
68
+ <p class="text-[9px] font-bold text-slate-400 uppercase tracking-widest mt-1">Global Status</p>
69
+ </div>
70
+ <div>
71
+ <p class="text-6xl font-black text-emerald-600 tracking-tighter">100<span class="text-3xl">%</span></p>
72
+ <p class="text-[9px] font-bold text-slate-400 uppercase tracking-widest mt-1">Store Parity</p>
73
+ </div>
74
+ </div>
51
75
  </div>
52
76
  </div>
53
77
 
54
- <!-- Chapter 2 -->
55
- <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
56
- <div class="flex justify-center">
57
- <div class="relative group cursor-zoom-in" onclick="openLightbox('gin_bottle.png')">
58
- <img src="gin_bottle.png" alt="The Brew" class="w-80 h-80 object-contain filter drop-shadow-2xl group-hover:rotate-6 transition-transform duration-500">
59
- <div class="absolute -bottom-4 -right-4 bg-white px-4 py-2 rounded-xl shadow-lg border border-slate-100 font-bold text-indigo-600 text-sm">Gin Gonic Tonic</div>
78
+ <!-- Milestone Grid -->
79
+ {{#each achievementItems}}
80
+ <div class="lg:col-span-3 bg-white p-10 rounded-[2.5rem] border border-slate-200 shadow-sm hover:shadow-2xl transition-all group relative overflow-hidden cursor-crosshair">
81
+ <p class="text-[9px] font-bold text-slate-400 uppercase tracking-widest mb-4 group-hover:text-indigo-500 transition-colors">Verified Milestone</p>
82
+ <h4 class="text-xl font-black text-slate-900 mb-3 tracking-tight italic">{{name}}</h4>
83
+ <p class="text-slate-500 text-sm leading-relaxed mb-6">{{description}}</p>
84
+ <div class="flex items-center gap-2">
85
+ <div class="flex-grow h-1.5 bg-slate-50 rounded-full overflow-hidden">
86
+ <div class="h-full bg-indigo-500 w-full animate-pulse-width"></div>
60
87
  </div>
88
+ <span class="text-[10px] font-black text-indigo-600">CONFIRMED</span>
61
89
  </div>
62
- <div>
63
- <h3 class="text-2xl font-bold text-slate-800 mb-4 font-serif italic text-fuchsia-700">Chapter II: The Refreshment of Performance</h3>
64
- <p class="text-slate-600 leading-relaxed text-lg">To fuel their grand design, they sought the <strong>Legendary Bottle of Gin</strong>. This magical brew wasn't just for hydration; it transformed their web routing into a crystalline, high-performance flow. Routes became fast, middleware became transparent, and the developer experience became as refreshing as a cold tonic on a summer's day. This gave GO-DUCK its distinctive, lightweight spirit.</p>
90
+ </div>
91
+ {{/each}}
92
+
93
+ <!-- Latest Industrial Milestones -->
94
+ <div class="lg:col-span-6 bg-white p-10 rounded-[2.5rem] border border-emerald-100 shadow-sm hover:shadow-2xl transition-all group relative overflow-hidden cursor-crosshair bg-gradient-to-br from-white to-emerald-50/30">
95
+ <p class="text-[9px] font-bold text-emerald-600 uppercase tracking-widest mb-4">Elite Extension (+11%)</p>
96
+ <h4 class="text-2xl font-black text-slate-900 mb-3 tracking-tight italic">Hybrid-Store (MongoDB) Parity</h4>
97
+ <p class="text-slate-600 leading-relaxed mb-8">Native document-store support with recursive BSON parsing and gRPC dynamic ID typing. Commands PostgreSQL and MongoDB simultaneously with 100% structural integrity.</p>
98
+ <div class="flex gap-3">
99
+ <span class="px-4 py-1.5 bg-emerald-100 text-emerald-700 text-[9px] font-black rounded-lg">BSON NATIVE</span>
100
+ <span class="px-4 py-1.5 bg-emerald-100 text-emerald-700 text-[9px] font-black rounded-lg">CROSS-DB RELATIONSHIPS</span>
65
101
  </div>
66
102
  </div>
67
103
 
68
- <!-- Chapter 3 -->
69
- <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center animate-fade-in-up">
70
- <div class="order-2 lg:order-1">
71
- <h3 class="text-2xl font-bold text-slate-800 mb-4 font-serif italic text-emerald-700">Chapter III: The Armor of the Divine</h3>
72
- <p class="text-slate-600 leading-relaxed text-lg text-pretty">But speed without strength is a house made of cards. In the digital forge of the underworld, they recovered the <strong>Mark of Kratos</strong>. By stamping this sigil onto their internal services, they achieved gRPC industrial resilience. Every service became armored with strict Protocol Buffer contracts, ensuring that no matter how hard the system scaled, it would never break under the divine weight of technical debt.</p>
73
- </div>
74
- <div class="order-1 lg:order-2 flex justify-center">
75
- <div class="relative group cursor-zoom-in" onclick="openLightbox('kratos_mark.png')">
76
- <div class="absolute inset-0 bg-emerald-400 blur-3xl opacity-20 group-hover:opacity-40 transition-opacity"></div>
77
- <img src="kratos_mark.png" alt="The Sigil" class="w-80 h-80 object-contain relative z-10 group-hover:scale-110 transition-transform duration-700">
78
- </div>
104
+ <div class="lg:col-span-6 bg-white p-10 rounded-[2.5rem] border border-blue-100 shadow-sm hover:shadow-2xl transition-all group relative overflow-hidden cursor-crosshair bg-gradient-to-br from-white to-blue-50/30">
105
+ <p class="text-[9px] font-bold text-blue-600 uppercase tracking-widest mb-4">Elite Extension (+10%)</p>
106
+ <h4 class="text-2xl font-black text-slate-900 mb-3 tracking-tight italic">Silo Discovery API</h4>
107
+ <p class="text-slate-600 leading-relaxed mb-8">Physically isolated silo discovery with identity masking. Prevents infrastructure leaks by using the Triple-Identity Opaque Registry to protect database paths.</p>
108
+ <div class="flex gap-3">
109
+ <span class="px-4 py-1.5 bg-blue-100 text-blue-700 text-[9px] font-black rounded-lg">ID MASKING</span>
110
+ <span class="px-4 py-1.5 bg-blue-100 text-blue-700 text-[9px] font-black rounded-lg">ZERO-LEAK PROXY</span>
79
111
  </div>
80
112
  </div>
113
+ </div>
114
+ </div>
115
+ </section>
81
116
 
82
- <!-- Chapter 4 -->
83
- <div class="bg-slate-50 rounded-[2rem] p-8 md:p-12 border border-slate-100 text-center max-w-4xl mx-auto shadow-inner">
84
- <h3 class="text-3xl font-extrabold text-slate-900 mb-6">Chapter IV: The GDL Genesis</h3>
85
- <p class="text-slate-600 leading-relaxed text-xl mb-8">Thus, the <strong>GDL (Go-Duck Language)</strong> was hatched. A single, simple tongue that could command entire legions of code. From that day forth, every developer who whispered GDL into the CLI would see their architecture <strong>evolve</strong>—bringing the Gopher's speed, the Duck's wisdom, the Gin's clarity, and the Kratos' strength into a single, unified masterpiece.</p>
86
- <div class="flex justify-center gap-6">
87
- <img src="logo.png" class="h-12 w-auto opacity-50 grayscale hover:grayscale-0 transition-all cursor-help" title="Adaptability">
88
- <img src="gin_bottle.png" class="h-12 w-auto opacity-50 grayscale hover:grayscale-0 transition-all cursor-help" title="Clarity">
89
- <img src="kratos_mark.png" class="h-12 w-auto opacity-50 grayscale hover:grayscale-0 transition-all cursor-help" title="Resilience">
90
- </div>
117
+ <!-- Section 3: The Sovereign Core (FUS Power-Grid) -->
118
+ <section id="elite-features" class="py-32 bg-white relative overflow-hidden">
119
+ <div class="max-w-7xl mx-auto px-6 relative z-10">
120
+ <div class="text-center mb-32">
121
+ <div class="mb-6 inline-flex px-6 py-2 bg-indigo-50 rounded-full text-[11px] font-black text-indigo-700 uppercase tracking-[0.4em] border border-indigo-100">FUS Orchestration Engine</div>
122
+ <h2 class="text-6xl font-black text-slate-900 tracking-tighter mb-8 italic uppercase">The Power-Grid of the Empire.</h2>
123
+ <p class="text-2xl text-slate-400 max-w-4xl mx-auto font-medium">Eight industrial-grade pillars forging the high-velocity core of your microservice ecosystems.</p>
124
+ </div>
125
+
126
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12">
127
+ <!-- Pillar 1 -->
128
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-indigo-200 hover:shadow-2xl hover:shadow-indigo-100/50 transition-all group cursor-help">
129
+ <div class="w-16 h-16 bg-slate-900 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">2.0</div>
130
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Parallel Harvesting</h5>
131
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">Advanced goroutine-based logic executing surgical, multi-silo data retrieval in a single, high-speed operation.</p>
132
+ </div>
133
+ <!-- Pillar 2 -->
134
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-emerald-200 hover:shadow-2xl hover:shadow-emerald-100/50 transition-all group cursor-help">
135
+ <div class="w-16 h-16 bg-emerald-600 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">HYB</div>
136
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Hybrid-Store</h5>
137
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">100% structural parity between PostgreSQL and MongoDB. Automatic cross-database relationships with dynamic ID typing.</p>
138
+ </div>
139
+ <!-- Pillar 3 -->
140
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-purple-200 hover:shadow-2xl hover:shadow-purple-100/50 transition-all group cursor-help">
141
+ <div class="w-16 h-16 bg-purple-600 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">SEC</div>
142
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Triple-Identity</h5>
143
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">Engineering the Identity ↔ Opaque ↔ Physical registry to hide infrastructure paths and eliminate ID enumeration.</p>
144
+ </div>
145
+ <!-- Pillar 4 -->
146
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-amber-200 hover:shadow-2xl hover:shadow-amber-100/50 transition-all group cursor-help">
147
+ <div class="w-16 h-16 bg-amber-500 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">SGA</div>
148
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Outbox Saga</h5>
149
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">Distributed Saga patterns via transactional outbox guaranteeing eventual consistency across the entire empire.</p>
150
+ </div>
151
+ <!-- Pillar 5 -->
152
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-blue-200 hover:shadow-2xl hover:shadow-blue-100/50 transition-all group cursor-help">
153
+ <div class="w-16 h-16 bg-blue-600 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">RPC</div>
154
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Dual-Protocol</h5>
155
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">Industrial bridge between Gin-based REST and Kratos-powered gRPC. Secure, identity-aware communication across boundaries.</p>
156
+ </div>
157
+ <!-- Pillar 6 -->
158
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-orange-200 hover:shadow-2xl hover:shadow-orange-100/50 transition-all group cursor-help">
159
+ <div class="w-16 h-16 bg-orange-600 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">HUB</div>
160
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Messaging Hub</h5>
161
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">Simultaneous broadcast to MQTT for UI synchronization and streaming to NATS for internal high-performance CQRS.</p>
162
+ </div>
163
+ <!-- Pillar 7 -->
164
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-rose-200 hover:shadow-2xl hover:shadow-rose-100/50 transition-all group cursor-help">
165
+ <div class="w-16 h-16 bg-rose-600 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">MAX</div>
166
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Singleton Intel</h5>
167
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">Sophisticated Silo-Connection-Cache preventing port exhaustion across hundreds of isolated tenant databases.</p>
168
+ </div>
169
+ <!-- Pillar 8 -->
170
+ <div class="p-10 bg-white rounded-[3rem] border border-slate-100 hover:border-teal-200 hover:shadow-2xl hover:shadow-teal-100/50 transition-all group cursor-help">
171
+ <div class="w-16 h-16 bg-teal-600 rounded-[1.5rem] flex items-center justify-center text-white font-black shadow-2xl mb-8 group-hover:scale-110 transition-transform">7X</div>
172
+ <h5 class="text-2xl font-black text-slate-900 tracking-tight italic mb-4 uppercase">Universal Bridge</h5>
173
+ <p class="text-slate-500 text-sm leading-relaxed font-medium">Native abstraction for AWS S3, GCS, MinIO, and GitHub. Ephemeral secrets via Remote GitHub Bootstrapping.</p>
91
174
  </div>
92
175
  </div>
93
176
  </div>
94
- </div>
95
- </section>
96
-
97
- <section id="installation" class="mb-20">
98
- <div class="flex flex-col lg:flex-row gap-10">
99
- <div class="lg:w-1/2">
100
- <h2 class="text-3xl font-bold text-slate-800 mb-8 flex items-center tracking-tight">
101
- <span class="w-10 h-10 rounded-xl bg-slate-900 text-white flex items-center justify-center mr-4 shadow-md text-sm">💾</span>
102
- Global Installation
103
- </h2>
104
- <div class="group relative">
105
- <div class="absolute -inset-1 bg-gradient-to-r from-emerald-400 to-indigo-500 rounded-2xl blur opacity-25 group-hover:opacity-40 transition duration-1000"></div>
106
- <div class="relative bg-slate-900 rounded-2xl overflow-hidden shadow-2xl border border-slate-800">
107
- <div class="bg-slate-800/80 px-6 py-4 flex items-center justify-between border-b border-slate-700/50">
108
- <div class="flex items-center space-x-2">
109
- <div class="w-2.5 h-2.5 rounded-full bg-rose-500/50"></div>
110
- <div class="w-2.5 h-2.5 rounded-full bg-amber-500/50"></div>
111
- <div class="w-2.5 h-2.5 rounded-full bg-emerald-500/50"></div>
177
+ </section>
178
+
179
+ <!-- Section 4: Deep Insight - The Sovereign Security (New Spotlight) -->
180
+ <section class="py-40 bg-slate-900 text-white relative overflow-hidden">
181
+ <!-- Digital Grid Background -->
182
+ <div class="absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/p6-dark.png')] opacity-20"></div>
183
+ <div class="absolute top-0 right-0 w-[500px] h-[500px] bg-blue-600/10 rounded-full blur-[120px]"></div>
184
+
185
+ <div class="max-w-7xl mx-auto px-6 relative z-10">
186
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-32 items-center">
187
+ <div>
188
+ <p class="text-[11px] font-black text-blue-400 uppercase tracking-[0.5em] mb-6">Security & Identity Control</p>
189
+ <h2 class="text-6xl font-black tracking-tighter mb-10 leading-tight">Opaque. Zero-Trust. <br> <span class="text-blue-400 italic">Total Secrecy.</span></h2>
190
+ <p class="text-xl text-slate-400 leading-relaxed mb-12">
191
+ Your microservice is armored with an industrial-grade security boundary. We decouple business logic from infrastructure using the <strong>Triple-Identity Registry</strong>, ensuring internal paths are never visible.
192
+ </p>
193
+
194
+ <div class="space-y-12">
195
+ <div class="flex gap-8 group cursor-pointer">
196
+ <div class="w-16 h-16 rounded-2xl border border-white/10 flex items-center justify-center text-blue-400 font-bold group-hover:bg-blue-400 group-hover:text-white transition-all">01</div>
197
+ <div>
198
+ <h4 class="text-2xl font-bold mb-2">Keycloak OIDC Validation</h4>
199
+ <p class="text-slate-500 text-sm leading-relaxed">Security-hardened context verification with anti-spoofing logic for every request.</p>
200
+ </div>
201
+ </div>
202
+ <div class="flex gap-8 group cursor-pointer">
203
+ <div class="w-16 h-16 rounded-2xl border border-white/10 flex items-center justify-center text-blue-400 font-bold group-hover:bg-blue-400 group-hover:text-white transition-all">02</div>
204
+ <div>
205
+ <h4 class="text-2xl font-bold mb-2">HMAC Digital Signatures</h4>
206
+ <p class="text-slate-500 text-sm leading-relaxed">High-integrity payload verification for REST-over-WS envelopes, ensuring zero-trust messaging.</p>
207
+ </div>
208
+ </div>
209
+ <div class="flex gap-8 group cursor-pointer">
210
+ <div class="w-16 h-16 rounded-2xl border border-white/10 flex items-center justify-center text-blue-400 font-bold group-hover:bg-blue-400 group-hover:text-white transition-all">03</div>
211
+ <div>
212
+ <h4 class="text-2xl font-bold mb-2">Super Admin Boundary</h4>
213
+ <p class="text-slate-500 text-sm leading-relaxed">Hard isolation between Standard Business APIs and Infrastructure Control planes.</p>
214
+ </div>
112
215
  </div>
113
- <span class="text-xs text-slate-500 font-mono tracking-widest uppercase">npm-registry</span>
114
216
  </div>
115
- <div class="p-8 font-mono text-lg">
116
- <div class="flex items-center">
117
- <span class="text-emerald-400 mr-4 select-none">❯</span>
118
- <span class="text-slate-100">npm install -g <span class="text-indigo-400">go-duck-cli</span></span>
217
+ </div>
218
+
219
+ <div class="relative">
220
+ <!-- Triple Identity visual representation -->
221
+ <div class="relative bg-white/5 border border-white/10 rounded-[3rem] p-12 backdrop-blur-3xl overflow-hidden group">
222
+ <div class="absolute inset-0 bg-gradient-to-tr from-blue-500/10 to-transparent pointer-events-none"></div>
223
+ <h4 class="text-lg font-black text-white/40 uppercase tracking-[0.2em] mb-12 italic">Identity Registry Flow</h4>
224
+
225
+ <div class="space-y-8">
226
+ <div class="p-6 bg-white/5 rounded-2xl border border-white/10 text-center animate-fade-in">
227
+ <p class="text-[10px] font-black text-slate-500 uppercase tracking-widest mb-2 italic">Client View</p>
228
+ <p class="text-xl font-mono text-emerald-400 tracking-widest">bc72-a180-468bfc...</p>
229
+ <p class="text-[10px] font-bold text-slate-600 mt-2">X-Tenant-ID Header</p>
230
+ </div>
231
+ <div class="flex justify-center py-2">
232
+ <svg class="w-6 h-6 text-blue-400 animate-bounce" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 14l-7 7m0 0l-7-7m7 7V3"></path></svg>
233
+ </div>
234
+ <div class="p-6 bg-white/5 rounded-2xl border border-white/10 text-center animate-fade-in" style="animation-delay: 0.2s">
235
+ <p class="text-[10px] font-black text-slate-500 uppercase tracking-widest mb-2 italic">Physical Silo</p>
236
+ <p class="text-xl font-mono text-indigo-400 tracking-widest">dealer_tokyo_prod_v2</p>
237
+ <p class="text-[10px] font-bold text-slate-600 mt-2">GORM Connection Mask</p>
238
+ </div>
119
239
  </div>
240
+
241
+ <div class="mt-12 text-center text-[10px] font-black text-slate-500 italic uppercase tracking-widest">Architecture: 100% ID Enumeration Protection Enforced</div>
120
242
  </div>
121
243
  </div>
122
244
  </div>
123
245
  </div>
124
- <div class="lg:w-1/2 flex flex-col justify-center space-y-4 pt-10 lg:pt-0">
125
- <div class="p-8 rounded-3xl bg-white border border-slate-200 shadow-sm transition-all hover:shadow-md hover:border-slate-300">
126
- <h4 class="font-bold text-slate-900 mb-4 flex items-center text-lg leading-none">
127
- <svg class="w-6 h-6 text-emerald-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
128
- Environment Specs
129
- </h4>
130
- <div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
131
- <div class="p-3 bg-slate-50 rounded-xl flex items-center"><span class="w-2 h-2 bg-indigo-500 rounded-full mr-3 shrink-0"></span><span class="text-slate-600 font-medium">Node.js 18+</span></div>
132
- <div class="p-3 bg-slate-50 rounded-xl flex items-center"><span class="w-2 h-2 bg-indigo-500 rounded-full mr-3 shrink-0"></span><span class="text-slate-600 font-medium">Go 1.21+</span></div>
133
- <div class="p-3 bg-slate-50 rounded-xl flex items-center"><span class="w-2 h-2 bg-indigo-500 rounded-full mr-3 shrink-0"></span><span class="text-slate-600 font-medium">Docker v20+</span></div>
134
- <div class="p-3 bg-slate-50 rounded-xl flex items-center"><span class="w-2 h-2 bg-indigo-500 rounded-full mr-3 shrink-0"></span><span class="text-slate-600 font-medium">Composability v2+</span></div>
246
+ </section>
247
+
248
+ <!-- Section 5: The Elite Tech Box (Next Level Bento) -->
249
+ <section class="py-40 bg-white">
250
+ <div class="max-w-7xl mx-auto px-6">
251
+ <div class="text-center mb-32">
252
+ <div class="mb-6 inline-flex px-6 py-2 bg-slate-50 rounded-full text-[11px] font-black text-slate-500 uppercase tracking-[0.4em] border border-slate-200">The Technology Deck</div>
253
+ <h2 class="text-6xl font-black text-slate-900 tracking-tighter mb-8 italic uppercase">The periodic table of <span class="bg-indigo-600 px-4 py-1 text-white skew-x-[-10deg] inline-block">Elite Performance.</span></h2>
254
+ </div>
255
+
256
+ <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-8">
257
+ <!-- Gin -->
258
+ <div class="p-10 bg-slate-50 rounded-[2.5rem] border border-slate-100 flex flex-col items-center justify-center gap-6 grayscale hover:grayscale-0 transition-all duration-700 hover:shadow-2xl hover:shadow-emerald-100/50 group cursor-help">
259
+ <span class="text-4xl font-black text-emerald-700 transform group-hover:scale-125 transition-transform duration-700">Gin</span>
260
+ <div class="text-center">
261
+ <span class="text-[9px] font-black text-slate-400 uppercase tracking-widest group-hover:text-emerald-600 transition-colors">HTTP Router</span>
262
+ </div>
263
+ </div>
264
+ <!-- Kratos -->
265
+ <div class="p-10 bg-slate-50 rounded-[2.5rem] border border-slate-100 flex flex-col items-center justify-center gap-6 grayscale hover:grayscale-0 transition-all duration-700 hover:shadow-2xl hover:shadow-purple-100/50 group cursor-help">
266
+ <span class="text-4xl font-black text-purple-700 transform group-hover:scale-125 transition-transform duration-700">gRPC</span>
267
+ <div class="text-center">
268
+ <span class="text-[9px] font-black text-slate-400 uppercase tracking-widest group-hover:text-purple-600 transition-colors">Kratos Stack</span>
269
+ </div>
270
+ </div>
271
+ <!-- GORM -->
272
+ <div class="p-10 bg-slate-50 rounded-[2.5rem] border border-slate-100 flex flex-col items-center justify-center gap-6 grayscale hover:grayscale-0 transition-all duration-700 hover:shadow-2xl hover:shadow-blue-100/50 group cursor-help">
273
+ <span class="text-4xl font-black text-blue-700 transform group-hover:scale-125 transition-transform duration-700">GORM</span>
274
+ <div class="text-center">
275
+ <span class="text-[9px] font-black text-slate-400 uppercase tracking-widest group-hover:text-blue-600 transition-colors">SQL Engine</span>
276
+ </div>
277
+ </div>
278
+ <!-- Redis -->
279
+ <div class="p-10 bg-slate-50 rounded-[2.5rem] border border-slate-100 flex flex-col items-center justify-center gap-6 grayscale hover:grayscale-0 transition-all duration-700 hover:shadow-2xl hover:shadow-red-100/50 group cursor-help">
280
+ <span class="text-4xl font-black text-red-600 transform group-hover:scale-125 transition-transform duration-700">Redis</span>
281
+ <div class="text-center">
282
+ <span class="text-[9px] font-black text-slate-400 uppercase tracking-widest group-hover:text-red-600 transition-colors">Distr. Cache</span>
283
+ </div>
284
+ </div>
285
+ <!-- Mongo -->
286
+ <div class="p-10 bg-slate-50 rounded-[2.5rem] border border-slate-100 flex flex-col items-center justify-center gap-6 grayscale hover:grayscale-0 transition-all duration-700 hover:shadow-2xl hover:shadow-emerald-100/50 group cursor-help">
287
+ <span class="text-4xl font-black text-emerald-500 transform group-hover:scale-125 transition-transform duration-700">BSON</span>
288
+ <div class="text-center">
289
+ <span class="text-[9px] font-black text-slate-400 uppercase tracking-widest group-hover:text-emerald-500 transition-colors">MongoDB</span>
290
+ </div>
291
+ </div>
292
+ <!-- OTel -->
293
+ <div class="p-10 bg-slate-50 rounded-[2.5rem] border border-slate-100 flex flex-col items-center justify-center gap-6 grayscale hover:grayscale-0 transition-all duration-700 hover:shadow-2xl hover:shadow-teal-100/50 group cursor-help">
294
+ <span class="text-4xl font-black text-teal-600 transform group-hover:scale-125 transition-transform duration-700">OTel</span>
295
+ <div class="text-center">
296
+ <span class="text-[9px] font-black text-slate-400 uppercase tracking-widest group-hover:text-teal-600 transition-colors">Full-Stack Tracing</span>
297
+ </div>
135
298
  </div>
136
299
  </div>
300
+
301
+ <!-- Secondary Tech Grid -->
302
+ <div class="grid grid-cols-2 lg:grid-cols-4 gap-8 mt-8">
303
+ <div class="p-8 bg-white border border-slate-100 rounded-[2rem] flex flex-col items-center justify-center gap-4 hover:border-slate-200 transition-all group">
304
+ <span class="text-xl font-bold text-slate-700 italic">MQTT Broker</span>
305
+ <p class="text-[10px] text-slate-400 uppercase tracking-widest font-black">Real-time WebSocket Sync</p>
306
+ </div>
307
+ <div class="p-8 bg-white border border-slate-100 rounded-[2rem] flex flex-col items-center justify-center gap-4 hover:border-slate-200 transition-all group">
308
+ <span class="text-xl font-bold text-slate-700 italic">NATS Stream</span>
309
+ <p class="text-[10px] text-slate-400 uppercase tracking-widest font-black">Internal Architecture CQRS</p>
310
+ </div>
311
+ <div class="p-8 bg-white border border-slate-100 rounded-[2rem] flex flex-col items-center justify-center gap-4 hover:border-slate-200 transition-all group">
312
+ <span class="text-xl font-bold text-slate-700 italic">Universal S3</span>
313
+ <p class="text-[10px] text-slate-400 uppercase tracking-widest font-black">7 Cloud Bridge Providers</p>
314
+ </div>
315
+ <div class="p-8 bg-white border border-slate-100 rounded-[2rem] flex flex-col items-center justify-center gap-4 hover:border-slate-200 transition-all group">
316
+ <span class="text-xl font-bold text-slate-700 italic">Goose SQL</span>
317
+ <p class="text-[10px] text-slate-400 uppercase tracking-widest font-black">Go-Native Zero-Dep Migrations</p>
318
+ </div>
319
+ </div>
137
320
  </div>
138
- </div>
139
- </section>
140
-
141
- <section id="quick-start" class="mb-12">
142
- <h2 class="text-2xl font-bold text-slate-800 mb-6 flex items-center">
143
- <span class="w-8 h-8 rounded-lg bg-indigo-100 text-indigo-600 flex items-center justify-center mr-3 text-sm">🚀</span>
144
- Scaffold & Run
145
- </h2>
146
-
147
- <div class="bg-slate-800 rounded-xl overflow-hidden shadow-lg mb-10">
148
- <div class="bg-slate-900/50 px-4 py-3 border-b border-slate-700/50 flex items-center">
149
- <div class="flex space-x-1.5 mr-4">
150
- <div class="w-3 h-3 rounded-full bg-rose-500"></div>
151
- <div class="w-3 h-3 rounded-full bg-amber-500"></div>
152
- <div class="w-3 h-3 rounded-full bg-emerald-500"></div>
321
+ </section>
322
+
323
+ <!-- Section 6: Functional Overview (GDL Live Example) -->
324
+ <section class="py-40 bg-slate-50 border-y border-slate-100 relative overflow-hidden">
325
+ <div class="max-w-7xl mx-auto px-6 relative z-10">
326
+ <div class="text-center mb-32">
327
+ <div class="mb-4 inline-flex px-4 py-1.5 bg-indigo-50 rounded-full text-xs font-black text-indigo-700 uppercase tracking-[0.2em] border border-indigo-100 italic">The Blueprint Language</div>
328
+ <h2 class="text-5xl font-black text-slate-900 tracking-tighter mb-8">Evolve through GDL Code.</h2>
329
+ <p class="text-xl text-slate-500 max-w-3xl mx-auto">From a single human-readable blueprint, we forge thousands of lines of industrial-grade code across 12+ layers.</p>
330
+ </div>
331
+
332
+ <div class="grid grid-cols-1 lg:grid-cols-12 gap-16 items-center">
333
+ <div class="lg:col-span-7 bg-slate-900 rounded-[3rem] p-4 shadow-2xl shadow-indigo-100 group">
334
+ <div class="bg-black/40 rounded-[2.5rem] overflow-hidden">
335
+ <div class="px-8 py-6 bg-slate-800 flex items-center justify-between border-b border-white/5">
336
+ <div class="flex items-center gap-3">
337
+ <div class="w-3 h-3 rounded-full bg-rose-500/80"></div>
338
+ <div class="w-3 h-3 rounded-full bg-amber-500/80"></div>
339
+ <div class="w-3 h-3 rounded-full bg-emerald-500/80"></div>
340
+ <span class="text-xs text-slate-500 font-mono ml-4 uppercase tracking-[0.5em] font-black italic">blueprint.gdl</span>
341
+ </div>
342
+ <span class="text-[10px] font-black text-indigo-400 uppercase tracking-widest italic">GO-DUCK Engine v3.0</span>
343
+ </div>
344
+ <div class="p-12">
345
+ <pre><code class="font-mono text-sm leading-relaxed text-slate-300"><span class="text-indigo-400">enum</span> Status <span class="text-slate-500">{</span> PENDING, ACTIVE, ARCHIVED <span class="text-slate-500">}</span>
346
+
347
+ <span class="text-emerald-400">@Audited</span> <span class="text-emerald-400">@Federated</span> <span class="text-emerald-400">@Searchable</span>
348
+ <span class="text-indigo-400">entity</span> Account <span class="text-slate-500">{</span>
349
+ string(255) Name <span class="text-indigo-400">required</span>
350
+ string(255) Domain <span class="text-indigo-400">unique</span>
351
+ Status Active
352
+
353
+ <span class="text-purple-400">open</span> (read, list)
354
+ <span class="text-slate-500">}</span>
355
+
356
+ <span class="text-emerald-400">@isDocument</span> <span class="text-emerald-400">@Audited</span>
357
+ <span class="text-indigo-400">entity</span> Document <span class="text-slate-500">{</span>
358
+ <span class="text-emerald-400">@Version</span> int v
359
+ text Title <span class="text-indigo-400">required</span>
360
+ jsonb Metadata
361
+ bigdecimal Price
362
+ <span class="text-slate-500">}</span>
363
+
364
+ <span class="text-indigo-400">relationship</span> OneToMany <span class="text-slate-500">{</span>
365
+ Account{data} <span class="text-indigo-400">to</span> Document{org}
366
+ <span class="text-slate-500">}</span></code></pre>
367
+ </div>
368
+ </div>
369
+ </div>
370
+
371
+ <div class="lg:col-span-5 space-y-8">
372
+ <div class="p-10 bg-white border border-slate-200 rounded-[3rem] shadow-sm hover:shadow-xl transition-all group">
373
+ <p class="text-[10px] font-black text-indigo-600 uppercase tracking-widest mb-6 italic">Evolutionary Logic</p>
374
+ <h4 class="text-3xl font-black text-slate-900 tracking-tight mb-4 italic leading-tight">Zero-Bake, Atomic Scaffolding.</h4>
375
+ <p class="text-slate-500 leading-relaxed italic border-l-4 border-indigo-100 pl-6 mb-10 font-medium">When you evolve your GDL, we calculate the exact delta using the .go-duck snapshot engine, generating only what's necessary.</p>
376
+
377
+ <div class="space-y-4">
378
+ <div class="flex items-center gap-4 text-sm font-bold text-slate-700">
379
+ <span class="w-2 h-2 bg-indigo-500 rounded-full animate-pulse"></span>
380
+ REST, GraphQL & gRPC Parity
381
+ </div>
382
+ <div class="flex items-center gap-4 text-sm font-bold text-slate-700">
383
+ <span class="w-2 h-2 bg-indigo-500 rounded-full animate-pulse"></span>
384
+ Recursive BSON Mapping
385
+ </div>
386
+ <div class="flex items-center gap-4 text-sm font-bold text-slate-700">
387
+ <span class="w-2 h-2 bg-indigo-500 rounded-full animate-pulse"></span>
388
+ Atomic Goose SQL Migrations
389
+ </div>
390
+ </div>
391
+ </div>
392
+
393
+ <a href="gdl.html" class="block p-10 bg-slate-900 rounded-[3rem] shadow-2xl text-center group hover:bg-black transition-all">
394
+ <span class="text-xs font-black text-indigo-400 uppercase tracking-[0.4em] mb-4 block">Ready to scale?</span>
395
+ <span class="text-2xl font-black text-white italic uppercase tracking-tighter">Learn the Language →</span>
396
+ </a>
397
+ </div>
153
398
  </div>
154
- <span class="text-xs text-slate-400 font-mono">Scaffolding Command</span>
155
- </div>
156
- <div class="p-5">
157
- <pre><code class="language-bash text-sm"># 1. Create a new microservice
158
- go-duck create -o ./my-app -c config.yaml
159
-
160
- # 2. Enter and run
161
- cd my-app
162
- docker-compose up -d
163
- go run main.go</code></pre>
164
- </div>
165
- </div>
166
-
167
- <h2 class="text-2xl font-bold text-slate-800 mb-6 mt-12 flex items-center">
168
- <span class="w-8 h-8 rounded-lg bg-purple-100 text-purple-600 flex items-center justify-center mr-3 text-sm">✨</span>
169
- Features Overview
170
- </h2>
171
- <div class="grid grid-cols-1 md:grid-cols-2 gap-5 mb-8">
172
- <div class="p-5 rounded-2xl border border-slate-200 bg-white hover:shadow-md transition-all duration-200 group">
173
- <h3 class="font-bold text-slate-900 mb-2 flex items-center"><svg class="w-5 h-5 text-indigo-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"></path></svg>REST & Search</h3>
174
- <p class="text-sm text-slate-600 leading-relaxed">Standard CRUD routes alongside a high-performance PostgREST-style RPC system.</p>
175
399
  </div>
176
- <div class="p-5 rounded-2xl border border-slate-200 bg-white hover:shadow-md transition-all duration-200 group">
177
- <h3 class="font-bold text-slate-900 mb-2 flex items-center"><svg class="w-5 h-5 text-fuchsia-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 10l-2 1m0 0l-2-1m2 1v2.5M20 7l-2 1m2-1l-2-1m2 1v2.5M14 4l-2-1-2 1M4 7l2-1M4 7l2 1M4 7v2.5M12 21l-2-1m2 1l2-1m-2 1v-2.5M6 18l-2-1v-2.5M18 18l2-1v-2.5"></path></svg>GraphQL</h3>
178
- <p class="text-sm text-slate-600 leading-relaxed">A complete Graph schema integrated natively with GORM data relations.</p>
400
+ </section>
401
+
402
+ <!-- Section 7: Final Sovereign CTA (Next Level) -->
403
+ <section class="py-40 bg-white">
404
+ <div class="max-w-7xl mx-auto px-6">
405
+ <div class="bg-gradient-to-br from-[#0f172a] via-[#1e1b4b] to-[#0f172a] rounded-[4rem] p-16 md:p-32 text-center text-white relative overflow-hidden shadow-[0_60px_100px_-20px_rgba(30,27,75,0.4)]">
406
+ <!-- Advanced Texture Overlays -->
407
+ <div class="absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/carbon-fibre.png')] opacity-10 pointer-events-none"></div>
408
+ <div class="absolute inset-0 bg-gradient-to-tr from-white/5 to-transparent pointer-events-none"></div>
409
+
410
+ <p class="text-[11px] font-black text-indigo-400 uppercase tracking-[0.5em] mb-12 relative z-10 italic">Achievement Status: Elite Status Confirmed 👑</p>
411
+ <h2 class="text-6xl md:text-9xl font-black tracking-tighter mb-16 relative z-10 italic uppercase leading-[0.8] filter drop-shadow-2xl">Secure Your <br> <span class="text-indigo-400">Empire.</span></h2>
412
+
413
+ <div class="flex flex-col md:flex-row items-center justify-center gap-8 relative z-10">
414
+ <a href="gdl.html" class="w-full md:w-auto px-16 py-7 bg-white text-[#1e1b4b] font-black rounded-[2.5rem] hover:scale-105 transition-all uppercase tracking-[0.2em] text-[11px] shadow-2xl">Start Blueprint</a>
415
+ <a href="multitenancy.html" class="w-full md:w-auto px-16 py-7 bg-transparent border border-white/20 text-white font-black rounded-[2.5rem] hover:bg-white/10 transition-all uppercase tracking-[0.2em] text-[11px] backdrop-blur-xl">Federation Hub</a>
416
+ </div>
417
+
418
+ <div class="mt-24 text-slate-500 font-mono text-[10px] uppercase tracking-[0.6em] font-black relative z-10">
419
+ GO-DUCK &bull; THE 361% ELITE MILESTONE &bull; SOVEREIGN CODE ORCHESTRATION
420
+ </div>
179
421
  </div>
180
- </div>
181
- </section>
422
+ </section>
423
+
424
+ </div>
425
+
426
+ <style>
427
+ @keyframes pulse-width {
428
+ 0%, 100% { width: 30%; opacity: 0.5; }
429
+ 50% { width: 100%; opacity: 1; }
430
+ }
431
+ .animate-pulse-width {
432
+ animation: pulse-width 4s ease-in-out infinite;
433
+ }
434
+ @keyframes fade-in {
435
+ from { opacity: 0; transform: translateY(20px); }
436
+ to { opacity: 1; transform: translateY(0); }
437
+ }
438
+ .animate-fade-in {
439
+ animation: fade-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
440
+ }
441
+ @keyframes float {
442
+ 0% { transform: translateY(0) rotate(0deg); }
443
+ 33% { transform: translateY(-20px) rotate(2deg); }
444
+ 66% { transform: translateY(-10px) rotate(-1deg); }
445
+ 100% { transform: translateY(0) rotate(0deg); }
446
+ }
447
+ .animate-float {
448
+ animation: float 10s ease-in-out infinite;
449
+ }
450
+ </style>