Files
sam-sales/helper/style.css
2025-12-30 21:34:17 +09:00

538 lines
9.6 KiB
CSS

:root {
--bg-color: #0B0E14;
--card-bg: rgba(255, 255, 255, 0.03);
--card-border: rgba(255, 255, 255, 0.08);
--primary: #7B61FF;
--primary-glow: rgba(123, 97, 255, 0.4);
--secondary: #00D1FF;
--text-main: #E2E8F0;
--text-muted: #94A3B8;
--white: #FFFFFF;
--gradient: linear-gradient(135deg, var(--primary), var(--secondary));
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
line-height: 1.6;
overflow-x: hidden;
}
h1,
h2,
h3,
h4,
.gradient-text {
font-family: 'Outfit', sans-serif;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Background Animation */
.stars-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0B0E14 100%);
overflow: hidden;
}
/* Navigation */
.top-nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(11, 14, 20, 0.8);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--card-border);
padding: 1rem 0;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.5rem;
font-weight: 800;
background: var(--gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.nav-links {
display: flex;
gap: 1rem;
}
.nav-btn {
background: none;
border: none;
color: var(--text-muted);
padding: 0.5rem 1.5rem;
cursor: pointer;
font-weight: 600;
font-size: 1rem;
border-radius: 99px;
transition: var(--transition);
}
.nav-btn:hover {
color: var(--white);
background: rgba(255, 255, 255, 0.05);
}
.nav-btn.active {
background: var(--primary);
color: var(--white);
box-shadow: 0 4px 15px var(--primary-glow);
}
/* Tab Content Logic */
.tab-content {
display: none;
animation: fadeIn 0.5s ease;
}
.tab-content.active {
display: block;
}
/* Hero Section */
.hero {
height: 60vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
padding-top: 2rem;
}
.badge {
display: inline-block;
padding: 0.5rem 1.2rem;
background: rgba(123, 97, 255, 0.1);
border: 1px solid var(--primary);
border-radius: 99px;
color: var(--primary);
font-weight: 600;
font-size: 0.875rem;
margin-bottom: 1.5rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.hero h1 {
font-size: clamp(2.5rem, 8vw, 4.5rem);
font-weight: 800;
line-height: 1.1;
margin-bottom: 1.5rem;
}
.gradient-text {
background: var(--gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.subtitle {
font-size: 1.25rem;
color: var(--text-muted);
max-width: 700px;
margin: 0 auto 2.5rem;
}
/* Glass Card */
.glass-card {
background: var(--card-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--card-border);
border-radius: 24px;
padding: 2.5rem;
transition: var(--transition);
}
.glass-card:hover {
border-color: rgba(123, 97, 255, 0.3);
background: rgba(255, 255, 255, 0.05);
}
/* Sections */
.section {
padding: 6rem 0;
}
.alt-bg {
background: rgba(123, 97, 255, 0.02);
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-tag {
color: var(--secondary);
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 700;
font-size: 0.75rem;
display: block;
margin-bottom: 0.5rem;
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
/* Summary Grid */
.summary-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.summary-item {
text-align: left;
}
.summary-item .icon {
font-size: 2rem;
margin-bottom: 1rem;
}
.summary-item h3 {
font-size: 1.2rem;
color: var(--secondary);
margin-bottom: 0.5rem;
}
.summary-item p {
font-size: 0.95rem;
color: var(--text-muted);
}
/* Strategy Table */
.table-container {
overflow-x: auto;
margin-bottom: 3rem;
}
.strategy-table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
.strategy-table th,
.strategy-table td {
padding: 1.5rem;
border-bottom: 1px solid var(--card-border);
}
.strategy-table th {
color: var(--secondary);
font-weight: 700;
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 1px;
}
.strategy-table td:first-child {
font-weight: 600;
color: var(--white);
}
/* Metaphor Box */
.metaphor-box {
text-align: center;
max-width: 800px;
margin: 0 auto;
border-left: 4px solid var(--primary);
}
.metaphor-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
/* Workflow Steps */
.workflow-steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.workflow-card {
position: relative;
}
.step-badge {
position: absolute;
top: 1.5rem;
right: 1.5rem;
font-weight: 800;
color: var(--primary);
opacity: 0.5;
}
.step-list {
list-style: none;
margin-top: 1rem;
}
.step-list li {
padding-left: 1.5rem;
position: relative;
margin-bottom: 0.5rem;
font-size: 0.9rem;
color: var(--text-muted);
}
.step-list li::before {
content: "•";
color: var(--secondary);
position: absolute;
left: 0;
font-weight: bold;
}
/* Tool Grid */
.tool-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.tool-card.full-width {
grid-column: 1 / -1;
}
.tool-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.tool-logo {
width: 40px;
height: 40px;
background: var(--gradient);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
color: white;
}
.tool-role {
font-weight: 700;
color: var(--secondary);
margin-bottom: 0.5rem;
}
.tool-detail-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-top: 1rem;
}
.setup-steps h4 {
color: var(--white);
margin-bottom: 0.75rem;
font-size: 1rem;
}
.setup-steps ul {
list-style: none;
}
.setup-steps li {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
/* Outcomes */
.outcome-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 3rem;
}
.outcome-card {
text-align: center;
}
.outcome-card.highlight {
background: rgba(123, 97, 255, 0.1);
border-color: var(--primary);
}
.outcome-icon {
font-size: 3rem;
margin-bottom: 1.5rem;
}
.testimonial {
text-align: center;
font-style: italic;
}
.testimonial blockquote {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--white);
}
.testimonial cite {
font-size: 0.9rem;
color: var(--text-muted);
}
/* Quiz & Glossary Styles (Inherited and Refined) */
.quiz-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 1.5rem;
}
.quiz-card {
perspective: 1000px;
height: 240px;
cursor: pointer;
}
.quiz-card-inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
transform-style: preserve-3d;
}
.quiz-card.flipped .quiz-card-inner {
transform: rotateY(180deg);
}
.quiz-card-front,
.quiz-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
padding: 2rem;
border-radius: 20px;
display: flex;
flex-direction: column;
justify-content: center;
border: 1px solid var(--card-border);
}
.quiz-card-front {
background: rgba(255, 255, 255, 0.04);
}
.quiz-card-back {
background: var(--primary);
color: white;
transform: rotateY(180deg);
}
.quiz-number {
position: absolute;
top: 1.5rem;
right: 1.5rem;
font-size: 0.75rem;
font-weight: 800;
opacity: 0.3;
}
/* Glossary Section */
.glossary-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.glossary-card {
padding: 2rem;
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 16px;
transition: var(--transition);
}
.glossary-card h3 {
font-size: 1.1rem;
margin-bottom: 0.75rem;
color: var(--secondary);
}
/* Footer */
.footer {
padding: 4rem 0;
text-align: center;
border-top: 1px solid var(--card-border);
color: var(--text-muted);
}
/* Animations */
@keyframes slideUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.animate-slide-up { animation: slideUp 0.8s ease forwards; }
.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-fade-in-delay { opacity: 0; animation: fadeIn 1s ease 0.3s forwards; }
/* Responsive */
@media (max-width: 1024px) {
.tool-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.hero h1 { font-size: 2.5rem; }
.hero { height: auto; padding: 6rem 0; }
.section { padding: 4rem 0; }
.outcome-grid { grid-template-columns: 1fr; }
.nav-container { flex-direction: column; gap: 1rem; }
}