/* ===== MIDNIGHT AURORA THEME VARIABLES ===== */ :root { /* Theme-specific color palette */ --aurora-bg: #0a0f23; --aurora-accent: #00ffaa; --aurora-highlight: #80e0ff; --aurora-midnight: #1a2038; --aurora-starlight: #ffffff; /* Text colors */ --aurora-text-primary: #e0f2ff; --aurora-text-secondary: #80e0ff; --aurora-text-tertiary: #4a8fba; /* Border colors */ --aurora-border: rgba(0, 255, 170, 0.2); /* Transitions */ --aurora-transition-fast: 0.2s ease; --aurora-transition-normal: 0.3s ease; --aurora-transition-slow: 0.5s ease; /* Shadows */ --aurora-shadow-sm: 0 2px 8px rgba(0, 255, 170, 0.1); --aurora-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 170, 0.1); --aurora-shadow-md: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 170, 0.15); --aurora-glow: 0 0 20px rgba(0, 255, 170, 0.3); /* Border radius */ --aurora-radius-sm: 0.25rem; --aurora-radius: 0.5rem; --aurora-radius-lg: 1rem; } /* Light mode overrides */ @media (prefers-color-scheme: light) { :root { --aurora-bg: #f0f5ff; --aurora-accent: #00aa77; --aurora-highlight: #0088cc; --aurora-midnight: #d0e5ff; --aurora-starlight: #333333; --aurora-text-primary: #102040; --aurora-text-secondary: #1a5080; --aurora-text-tertiary: #5a90c0; --aurora-border: rgba(0, 170, 120, 0.2); --aurora-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 170, 120, 0.1); --aurora-shadow-md: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 170, 120, 0.1); --aurora-glow: 0 0 20px rgba(0, 170, 120, 0.2); } } @media(prefers-color-scheme: dark) { :root { --aurora-bg: #0a0f23; --aurora-accent: #00ffaa; --aurora-highlight: #80e0ff; --aurora-midnight: #1a2038; --aurora-starlight: #ffffff; --aurora-text-primary: #e0f2ff; --aurora-text-secondary: #80e0ff; --aurora-text-tertiary: #4a8fba; --aurora-border: rgba(0, 255, 170, 0.2); --aurora-shadow-sm: 0 2px 8px rgba(0, 255, 170, 0.1); --aurora-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 170, 0.1); --aurora-shadow-md: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 170, 0.15); --aurora-glow: 0 0 20px rgba(0, 255, 170, 0.3); } } /* ===== HERO SECTION ===== */ .aurora-hero { position: relative; overflow: hidden; padding: 4rem 2rem; margin-bottom: 2rem; border-radius: var(--aurora-radius); color: var(--aurora-text-primary); } .aurora-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background-color: var(--aurora-bg); } .aurora-hero-container { display: flex; flex-direction: column; align-items: center; gap: 3rem; position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; } @media (min-width: 768px) { .aurora-hero-container { flex-direction: row; justify-content: space-between; } .aurora-hero { padding: 5rem 3rem; } } .aurora-hero-content { max-width: 600px; } .aurora-hero-badge { display: inline-block; background-color: rgba(0, 255, 170, 0.2); color: var(--aurora-accent); padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.8rem; margin-bottom: 1rem; font-weight: 500; letter-spacing: 0.5px; box-shadow: var(--aurora-shadow-sm); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); } .aurora-hero-title { font-size: 2.5rem; margin-bottom: 1rem; font-weight: bold; color: var(--aurora-accent); text-shadow: var(--aurora-glow); } .aurora-hero-subtitle { font-size: 1.25rem; margin-bottom: 1rem; color: var(--aurora-text-secondary); line-height: 1.5; } .aurora-hero-description { margin-bottom: 2rem; line-height: 1.6; color: var(--aurora-text-primary); } .cta-container { display: flex; gap: 1rem; } .aurora-cta { display: inline-block; background-color: var(--aurora-accent); color: var(--aurora-bg); padding: 0.75rem 1.5rem; border-radius: var(--aurora-radius-sm); text-decoration: none; font-weight: bold; margin-right: 1rem; transition: all var(--aurora-transition-normal); box-shadow: var(--aurora-shadow-sm); position: relative; overflow: hidden; } .aurora-cta:hover { background-color: rgba(0, 255, 170, 0.9); transform: translateY(-2px); box-shadow: var(--aurora-shadow); } .aurora-cta:active { transform: translateY(0); box-shadow: var(--aurora-shadow-sm); } .aurora-secondary-cta { display: inline-flex; align-items: center; gap: 0.5rem; background-color: transparent; color: var(--aurora-highlight); padding: 0.75rem 1.5rem; border-radius: var(--aurora-radius-sm); text-decoration: none; border: 1px solid var(--aurora-highlight); transition: all var(--aurora-transition-normal); } .aurora-secondary-cta:hover { background-color: rgba(128, 224, 255, 0.1); transform: translateY(-2px); } .aurora-secondary-cta:active { transform: translateY(0); } .github-icon { margin-right: 0.25rem; } /* ===== BROWSER WINDOW MOCKUP ===== */ .aurora-hero-browser { width: 100%; max-width: 450px; } .browser-window { width: 100%; border-radius: var(--aurora-radius); overflow: hidden; box-shadow: var(--aurora-shadow), var(--aurora-glow); border: 1px solid var(--aurora-border); transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); transition: all var(--aurora-transition-slow); background-color: var(--aurora-bg); } .browser-window:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); box-shadow: var(--aurora-shadow-md); } .browser-toolbar { padding: 0.5rem; background-color: rgba(26, 32, 56, 0.9); border-bottom: 1px solid var(--aurora-border); } .browser-tabs { display: flex; margin-bottom: 0.5rem; } .browser-tab { padding: 0.5rem 1rem; border-radius: 0.25rem 0.25rem 0 0; font-size: 0.8rem; background-color: rgba(10, 15, 35, 0.9); color: var(--aurora-text-tertiary); margin-right: 0.25rem; transition: all var(--aurora-transition-fast); } .browser-tab.active { background-color: rgba(10, 15, 35, 0.7); color: var(--aurora-text-primary); border-top: 2px solid var(--aurora-accent); } .browser-address-bar { height: 2rem; border-radius: var(--aurora-radius-sm); background-color: rgba(10, 15, 35, 0.7); position: relative; } .browser-address-bar:before { content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background-color: var(--aurora-accent); box-shadow: 0 0 10px var(--aurora-accent); } .browser-content { height: 250px; background-color: rgba(10, 15, 35, 0.9); overflow: hidden; position: relative; } .aurora-preview { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } /* ===== FEATURES SECTION ===== */ .aurora-features { margin: 4rem 0; } .aurora-features-list { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; } .aurora-feature { flex: 1; min-width: 250px; max-width: 300px; text-align: center; padding: 2rem; /* background-color: rgba(10, 15, 35, 0.5); */ border-radius: var(--aurora-radius); border: 1px solid var(--aurora-border); box-shadow: var(--aurora-shadow-sm); transition: all var(--aurora-transition-normal); } .aurora-feature:hover { transform: translateY(-10px); box-shadow: var(--aurora-shadow), var(--aurora-glow); } .feature-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; transition: transform var(--aurora-transition-normal); } .aurora-feature:hover .feature-icon { transform: scale(1.1) rotate(5deg); } .aurora-feature h3 { color: var(--aurora-accent); margin-bottom: 1rem; font-size: 1.25rem; } .aurora-feature p { color: var(--aurora-text-primary); } /* ===== COLOR PALETTE DISPLAY ===== */ .aurora-palette-section { margin: 4rem 0; } .color-palette { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin: 2rem 0; } .color-swatch { width: 150px; height: 100px; display: flex; align-items: center; justify-content: center; border-radius: var(--aurora-radius); position: relative; text-align: center; font-size: 0.9rem; box-shadow: var(--aurora-shadow-sm); transition: all var(--aurora-transition-normal); color: var(--aurora-text-primary); overflow: hidden; } .color-swatch:hover { transform: translateY(-5px); box-shadow: var(--aurora-shadow); } .color-swatch::before { content: attr(data-name); position: absolute; top: -30px; left: 0; right: 0; text-align: center; font-weight: bold; transition: all var(--aurora-transition-normal); } .color-swatch:hover::before { top: 15px; } .color-space { background-color: rgb(10, 15, 35); } .color-teal { background-color: rgb(0, 255, 170); color: rgb(10, 15, 35) !important; } .color-blue { background-color: rgb(128, 224, 255); color: rgb(10, 15, 35) !important; } .color-midnight { background-color: rgb(26, 32, 56); } .color-starlight { background-color: rgb(255, 255, 255); color: rgb(10, 15, 35) !important; } /* ===== MAIN CONTENT AREA ===== */ .aurora-content { max-width: 900px; margin: 0 auto; color: var(--aurora-text-primary); /* padding: 0 1.5rem; */ border-radius: var(--border-radius-lg); } .aurora-content h2 { margin-top: 2.5rem; margin-bottom: 1.25rem; position: relative; padding-bottom: 0.5rem; color: var(--aurora-accent); } .aurora-content h2::after { content: ""; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: linear-gradient(90deg, var(--aurora-accent), var(--aurora-highlight)); border-radius: 3px; } .aurora-content p { line-height: 1.7; margin-bottom: 1.5rem; } .aurora-content ul { margin-bottom: 2rem; list-style: none; } .aurora-content li { margin-bottom: 0.5rem; position: relative; padding-left: 1.5rem; } .aurora-content li::before { content: ""; position: absolute; left: 5px; top: 0.6rem; width: 6px; height: 6px; border-radius: 50%; background-color: var(--aurora-accent); box-shadow: 0 0 5px var(--aurora-accent); } [dir=rtl] .aurora-content li::before { left: auto; right: 5px; } [dir=rtl] .aurora-content ul { padding-right: 0; padding-left: 1.5rem; } .aurora-content a { color: var(--aurora-highlight); text-decoration: none; transition: color var(--aurora-transition-fast); } .aurora-content a:hover { color: var(--aurora-accent); text-decoration: underline; } .aurora-content strong:not(a > strong) { color: var(--aurora-text-secondary); font-weight: 600; } /* ===== CALL TO ACTION BUTTON IN CONTENT ===== */ .aurora-content a[href*="chrome.google.com"], .aurora-content a[href*="addons.mozilla.org"], .aurora-content a[href*="github.com"] { display: inline-block; background-color: var(--aurora-accent); color: var(--aurora-bg); padding: 0.75rem 1.5rem; border-radius: var(--aurora-radius-sm); text-decoration: none; font-weight: bold; margin: 1.5rem 0; transition: all var(--aurora-transition-normal); box-shadow: var(--aurora-shadow-sm); } .aurora-content a[href*="chrome.google.com"]:hover, .aurora-content a[href*="addons.mozilla.org"]:hover, .aurora-content a[href*="github.com"]:hover { background-color: var(--aurora-highlight); transform: translateY(-2px); box-shadow: var(--aurora-shadow); text-decoration: none; } /* ===== FOOTER SECTION ===== */ .aurora-content hr { margin: 3rem 0 2rem; border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--aurora-accent), transparent); } /* ===== ANIMATIONS ===== */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 1s ease forwards; } .delay-100 { animation-delay: 0.1s; } .delay-200 { animation-delay: 0.2s; } .delay-300 { animation-delay: 0.3s; } /* ===== RESPONSIVE ADJUSTMENTS ===== */ @media (max-width: 768px) { .aurora-hero-title { font-size: 2rem; } .cta-container { flex-direction: column; gap: 0; } .color-palette { justify-content: center; } .browser-window { max-width: 100%; transform: none; } .browser-window:hover { transform: none; } .aurora-hero-container { gap: 2rem; } .aurora-feature { min-width: 100%; } } @media (max-width: 576px) { .aurora-hero { padding: 3rem 1.5rem; } .aurora-hero-title { font-size: 1.8rem; } .aurora-cta, .aurora-secondary-cta { display: block; width: 100%; margin: .5rem 0; text-align: center; } } [dir=rtl] .aurora-content ul { padding-right: 1.5rem; padding-left: 0; } [dir=rtl] .aurora-content li::before { left: auto; right: -1.5rem; } [dir=rtl] .aurora-content a[href*="chrome.google.com"], [dir=rtl] .aurora-content a[href*="addons.mozilla.org"], [dir=rtl] .aurora-content a[href*="github.com"] { margin-left: 0; margin-right: 0; } [dir=rtl] .aurora-content h2::after { left: auto; right: 0; background: linear-gradient(270deg, var(--aurora-accent), var(--aurora-highlight)); }
