|
1 | 1 | "use client"; |
2 | 2 | import { motion } from 'framer-motion'; |
3 | 3 | import { useI18n } from '../../i18n/context'; |
| 4 | +import Section from '../Section'; |
4 | 5 |
|
5 | 6 | interface MysticismItem { |
6 | 7 | title: string; |
@@ -30,91 +31,71 @@ export default function MysticismSection() { |
30 | 31 | formula: 'φ² + 1/φ² = 3 = TRINITY' |
31 | 32 | }, |
32 | 33 | { |
33 | | - title: 'Phoenix Number', |
34 | | - description: 'The self-referential constant that emerges from ternary recursion.', |
35 | | - formula: 'Φ = lim(n→∞) T(n)/T(n-1) ≈ 1.618...' |
| 34 | + title: 'Optimal Radix Theorem', |
| 35 | + description: 'Information theory proves: optimal base is e ≈ 2.718, nearest integer = 3.', |
| 36 | + formula: 'Optimal base = e ≈ 2.718 → nearest integer = 3' |
36 | 37 | } |
37 | 38 | ]; |
38 | 39 |
|
39 | 40 | const items: MysticismItem[] = m?.items || defaultItems; |
40 | 41 |
|
41 | 42 | return ( |
42 | | - <section id="mysticism" style={{ padding: '4rem 2rem', background: 'rgba(0,0,0,0.3)' }}> |
43 | | - <div style={{ maxWidth: '1200px', margin: '0 auto' }}> |
44 | | - <motion.h2 |
45 | | - initial={{ opacity: 0, y: 20 }} |
46 | | - whileInView={{ opacity: 1, y: 0 }} |
47 | | - viewport={{ once: true }} |
48 | | - style={{ textAlign: 'center', marginBottom: '3rem', fontSize: '2rem' }} |
49 | | - > |
50 | | - {m?.title || 'Mathematical Foundations'} |
51 | | - </motion.h2> |
52 | | - |
53 | | - <div style={{ |
54 | | - display: 'grid', |
55 | | - gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))', |
56 | | - gap: '1.5rem' |
57 | | - }}> |
58 | | - {items.map((item: MysticismItem, index: number) => ( |
59 | | - <motion.div |
60 | | - key={item.title} |
61 | | - initial={{ opacity: 0, y: 30 }} |
62 | | - whileInView={{ opacity: 1, y: 0 }} |
63 | | - viewport={{ once: true }} |
64 | | - transition={{ delay: index * 0.1 }} |
65 | | - style={{ |
66 | | - background: 'rgba(255,255,255,0.02)', |
67 | | - border: '1px solid var(--border)', |
68 | | - borderRadius: '8px', |
69 | | - padding: '1.5rem', |
70 | | - transition: 'border-color 0.3s' |
71 | | - }} |
72 | | - whileHover={{ borderColor: 'var(--accent)' }} |
73 | | - > |
74 | | - <h3 style={{ |
75 | | - color: 'var(--accent)', |
76 | | - marginBottom: '0.75rem', |
77 | | - fontSize: '1.1rem' |
78 | | - }}> |
79 | | - {item.title} |
80 | | - </h3> |
81 | | - <p style={{ |
82 | | - color: 'var(--muted)', |
83 | | - fontSize: '0.9rem', |
84 | | - lineHeight: 1.6, |
85 | | - marginBottom: '1rem' |
86 | | - }}> |
87 | | - {item.description} |
88 | | - </p> |
89 | | - <code style={{ |
90 | | - display: 'block', |
91 | | - background: 'rgba(0,0,0,0.3)', |
92 | | - padding: '0.5rem', |
93 | | - borderRadius: '4px', |
94 | | - fontSize: '0.8rem', |
95 | | - color: 'var(--accent)', |
96 | | - fontFamily: 'monospace' |
97 | | - }}> |
98 | | - {item.formula} |
99 | | - </code> |
100 | | - </motion.div> |
101 | | - ))} |
102 | | - </div> |
103 | | - |
104 | | - <motion.p |
105 | | - initial={{ opacity: 0 }} |
106 | | - whileInView={{ opacity: 0.5 }} |
107 | | - viewport={{ once: true }} |
108 | | - style={{ |
109 | | - textAlign: 'center', |
110 | | - marginTop: '2rem', |
111 | | - fontSize: '0.85rem', |
112 | | - fontStyle: 'italic' |
113 | | - }} |
114 | | - > |
115 | | - {m?.subtitle || 'These mathematical structures provide theoretical grounding for ternary computing advantages.'} |
116 | | - </motion.p> |
| 43 | + <Section id="science"> |
| 44 | + <div className="tight fade"> |
| 45 | + <h2>{m?.title || 'Mathematical Foundations'}</h2> |
| 46 | + <p style={{ maxWidth: '800px', margin: '0 auto 3rem', opacity: 0.7, lineHeight: 1.7 }}> |
| 47 | + {m?.subtitle || 'Why 3? Inside every proton and neutron, quarks have exactly 3 colors — this is SU(3) symmetry that holds atoms together. Our ternary system {-1, 0, +1} mirrors this natural pattern.'} |
| 48 | + </p> |
117 | 49 | </div> |
118 | | - </section> |
| 50 | + |
| 51 | + <div className="fade" style={{ |
| 52 | + display: 'grid', |
| 53 | + gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))', |
| 54 | + gap: '1.5rem', |
| 55 | + maxWidth: '1200px', |
| 56 | + margin: '0 auto' |
| 57 | + }}> |
| 58 | + {items.map((item: MysticismItem, index: number) => ( |
| 59 | + <motion.div |
| 60 | + key={item.title} |
| 61 | + className="premium-card" |
| 62 | + initial={{ opacity: 0, y: 30 }} |
| 63 | + whileInView={{ opacity: 1, y: 0 }} |
| 64 | + viewport={{ once: true }} |
| 65 | + transition={{ delay: index * 0.1 }} |
| 66 | + style={{ padding: '1.5rem' }} |
| 67 | + whileHover={{ borderColor: 'var(--accent)' }} |
| 68 | + > |
| 69 | + <h3 style={{ |
| 70 | + color: 'var(--accent)', |
| 71 | + marginBottom: '0.75rem', |
| 72 | + fontSize: '1.1rem' |
| 73 | + }}> |
| 74 | + {item.title} |
| 75 | + </h3> |
| 76 | + <p style={{ |
| 77 | + color: 'var(--muted)', |
| 78 | + fontSize: '0.9rem', |
| 79 | + lineHeight: 1.6, |
| 80 | + marginBottom: '1rem' |
| 81 | + }}> |
| 82 | + {item.description} |
| 83 | + </p> |
| 84 | + <code style={{ |
| 85 | + display: 'block', |
| 86 | + background: 'rgba(0,229,153,0.08)', |
| 87 | + padding: '0.75rem', |
| 88 | + borderRadius: '6px', |
| 89 | + fontSize: '0.85rem', |
| 90 | + color: 'var(--accent)', |
| 91 | + fontFamily: 'monospace', |
| 92 | + border: '1px solid rgba(0,229,153,0.2)' |
| 93 | + }}> |
| 94 | + {item.formula} |
| 95 | + </code> |
| 96 | + </motion.div> |
| 97 | + ))} |
| 98 | + </div> |
| 99 | + </Section> |
119 | 100 | ); |
120 | 101 | } |
0 commit comments