Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --accent-color: #3498db;
+ --background-color: #f8f9fa;
+ --text-color: #2c3e50;
+ --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background: var(--background-color);
+ }
+
+ header {
+ background: var(--primary-color);
+ padding: 1rem;
+ position: fixed;
+ width: 100%;
+ top: 0;
+ z-index: 1000;
+ }
+
+ nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .logo {
+ color: white;
+ font-size: 1.5rem;
+ font-weight: bold;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ margin-left: 2rem;
+ transition: color 0.3s;
+ }
+
+ .nav-links a:hover {
+ color: var(--accent-color);
+ }
+
+ main {
+ margin-top: 4rem;
+ padding: 2rem;
+ }
+
+ .hero {
+ text-align: center;
+ padding: 4rem 0;
+ background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
+ color: white;
+ border-radius: 10px;
+ margin-bottom: 3rem;
+ }
+
+ .hero h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ }
+
+ .calculator-section {
+ max-width: 800px;
+ margin: 0 auto 3rem;
+ padding: 2rem;
+ background: white;
+ border-radius: 10px;
+ box-shadow: var(--card-shadow);
+ }
+
+ .calculator-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 1.5rem;
+ margin: 2rem 0;
+ }
+
+ .input-group {
+ display: flex;
+ flex-direction: column;
+ }
+
+ input {
+ padding: 0.5rem;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ font-size: 1rem;
+ }
+
+ .calculate-btn {
+ background: var(--accent-color);
+ color: white;
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: 4px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background 0.3s;
+ }
+
+ .calculate-btn:hover {
+ background: #2980b9;
+ }
+
+ .result-card {
+ margin-top: 2rem;
+ padding: 1rem;
+ border-radius: 4px;
+ background: #f8f9fa;
+ }
+
+ .strategy-cards {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .strategy-card {
+ background: white;
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: var(--card-shadow);
+ }
+
+ .allocation {
+ margin-top: 1rem;
+ background: #f8f9fa;
+ border-radius: 4px;
+ overflow: hidden;
+ }
+
+ .bonds, .stocks {
+ padding: 0.5rem;
+ color: white;
+ display: inline-block;
+ }
+
+ .bonds {
+ background: #e74c3c;
+ }
+
+ .stocks {
+ background: #27ae60;
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: var(--primary-color);
+ color: white;
+ margin-top: 3rem;
+ }
+
+ @media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ .hero h1 {
+ font-size: 2rem;
+ }
+
+ main {
+ padding: 1rem;
+ }
+ }