| |
| .navbar { |
| position: sticky; |
| top: 0; |
| z-index: 100; |
| background: rgba(255, 255, 255, 0.85); |
| backdrop-filter: blur(12px); |
| border-bottom: 1px solid rgba(203, 213, 225, 0.5); |
| padding: 1rem 0; |
| transition: all var(--transition-normal); |
| } |
|
|
| .navbar .container { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| } |
|
|
| .navbar-brand a { |
| font-size: 1.5rem; |
| font-weight: 800; |
| color: var(--color-primary); |
| display: flex; |
| align-items: center; |
| gap: 0.5rem; |
| letter-spacing: -0.025em; |
| } |
|
|
| .navbar-nav { |
| display: flex; |
| gap: 2.5rem; |
| list-style: none; |
| align-items: center; |
| } |
|
|
| .nav-link { |
| color: var(--color-text-muted); |
| font-weight: 600; |
| font-size: 0.95rem; |
| position: relative; |
| padding-bottom: 0.25rem; |
| } |
|
|
| .nav-link::after { |
| content: ''; |
| position: absolute; |
| bottom: 0; |
| left: 0; |
| width: 0; |
| height: 2px; |
| background-color: var(--color-primary); |
| transition: width var(--transition-fast); |
| border-radius: 2px; |
| } |
|
|
| .nav-link:hover { |
| color: var(--color-text-main); |
| } |
|
|
| .nav-link:hover::after, .nav-link.active::after { |
| width: 100%; |
| } |
|
|
| .nav-link.active { |
| color: var(--color-primary); |
| } |
|
|
| .navbar-icons { |
| display: flex; |
| gap: 1.25rem; |
| font-size: 1.25rem; |
| color: var(--color-text-muted); |
| } |
|
|
| .navbar-icons i { |
| cursor: pointer; |
| transition: color var(--transition-fast), transform var(--transition-fast); |
| } |
|
|
| .navbar-icons i:hover { |
| color: var(--color-primary); |
| transform: scale(1.1); |
| } |
|
|
| |
| .card { |
| background-color: var(--color-background); |
| border-radius: var(--radius-xl); |
| box-shadow: var(--shadow-lg); |
| padding: 2.5rem; |
| border: 1px solid rgba(203, 213, 225, 0.4); |
| transition: transform var(--transition-normal), box-shadow var(--transition-normal); |
| } |
|
|
| .card:hover { |
| transform: translateY(-4px); |
| box-shadow: var(--shadow-xl); |
| } |
|
|
| |
| .hero { |
| display: flex; |
| align-items: center; |
| gap: 4rem; |
| background: linear-gradient(120deg, var(--color-secondary) 0%, rgba(248, 250, 252, 0.4) 100%); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| |
| .hero::before { |
| content: ''; |
| position: absolute; |
| top: -10%; |
| right: -5%; |
| width: 40%; |
| height: 80%; |
| background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, rgba(255,255,255,0) 70%); |
| border-radius: 50%; |
| z-index: 0; |
| } |
|
|
| .hero-content { |
| flex: 1.2; |
| z-index: 1; |
| } |
|
|
| .hero h1 { |
| font-size: 3.5rem; |
| margin-bottom: 1.5rem; |
| background: linear-gradient(135deg, var(--color-text-main) 0%, var(--color-primary-dark) 100%); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| line-height: 1.15; |
| } |
|
|
| .hero p { |
| font-size: 1.125rem; |
| color: var(--color-text-muted); |
| margin-bottom: 2.5rem; |
| max-width: 600px; |
| line-height: 1.8; |
| } |
|
|
| .hero-image { |
| flex: 1; |
| display: flex; |
| justify-content: center; |
| z-index: 1; |
| position: relative; |
| } |
|
|
| .hero-image::after { |
| content: ''; |
| position: absolute; |
| bottom: -20px; |
| left: 10%; |
| width: 80%; |
| height: 40px; |
| background: rgba(79, 70, 229, 0.15); |
| filter: blur(20px); |
| border-radius: 50%; |
| z-index: -1; |
| } |
|
|
| .hero-image img { |
| max-width: 100%; |
| border-radius: var(--radius-xl); |
| box-shadow: var(--shadow-xl); |
| object-fit: cover; |
| } |
|
|
| |
| .features-grid { |
| display: grid; |
| grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); |
| gap: 2.5rem; |
| margin: 2rem 0; |
| } |
|
|
| .feature-card { |
| text-align: left; |
| padding: 2.5rem; |
| background: linear-gradient(145deg, #ffffff, var(--color-surface)); |
| border: none; |
| } |
|
|
| .feature-icon { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| width: 64px; |
| height: 64px; |
| border-radius: var(--radius-lg); |
| background: rgba(79, 70, 229, 0.1); |
| font-size: 1.75rem; |
| color: var(--color-primary); |
| margin-bottom: 1.5rem; |
| } |
|
|
| |
| .generator-layout { |
| display: grid; |
| grid-template-columns: 350px 1fr; |
| gap: 3rem; |
| margin-top: 1rem; |
| align-items: start; |
| } |
|
|
| .sidebar { |
| background: var(--color-background); |
| padding: 2rem; |
| border-radius: var(--radius-xl); |
| border: 1px solid rgba(203, 213, 225, 0.4); |
| box-shadow: var(--shadow-lg); |
| position: sticky; |
| top: 100px; |
| } |
|
|
| .sidebar h3 { |
| margin-bottom: 1.5rem; |
| font-size: 1.5rem; |
| color: var(--color-text-main); |
| } |
|
|
| .form-group { |
| margin-bottom: 1.5rem; |
| } |
|
|
| .main-area { |
| display: flex; |
| flex-direction: column; |
| gap: 2rem; |
| } |
|
|
| |
| .result-card { |
| text-align: center; |
| padding: 4rem 3rem; |
| background: linear-gradient(135deg, var(--color-background), var(--color-surface)); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .result-card::before { |
| content: '"'; |
| position: absolute; |
| top: 1rem; |
| left: 2rem; |
| font-size: 8rem; |
| color: rgba(79, 70, 229, 0.05); |
| font-family: serif; |
| line-height: 1; |
| } |
|
|
| .badge { |
| display: inline-block; |
| padding: 0.375rem 1rem; |
| background-color: rgba(244, 63, 94, 0.1); |
| color: var(--color-accent); |
| border-radius: var(--radius-full); |
| font-size: 0.875rem; |
| font-weight: 700; |
| margin-bottom: 2rem; |
| letter-spacing: 0.025em; |
| text-transform: uppercase; |
| } |
|
|
| .pantun-text { |
| font-size: 1.75rem; |
| font-weight: 600; |
| line-height: 1.8; |
| color: var(--color-text-main); |
| margin-bottom: 2rem; |
| white-space: pre-line; |
| position: relative; |
| z-index: 1; |
| } |
|
|
| |
| .metrics-grid { |
| display: grid; |
| grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); |
| gap: 2rem; |
| } |
|
|
| .metric-card { |
| text-align: center; |
| padding: 2rem; |
| background: var(--color-background); |
| border: 1px solid rgba(203, 213, 225, 0.4); |
| } |
|
|
| .metric-value { |
| font-size: 2.5rem; |
| font-weight: 800; |
| color: var(--color-primary); |
| margin-bottom: 0.5rem; |
| letter-spacing: -0.05em; |
| } |
|
|
| .metric-label { |
| color: var(--color-text-muted); |
| font-size: 1rem; |
| font-weight: 500; |
| } |
|
|
| |
| @keyframes fadeIn { |
| from { opacity: 0; transform: translateY(15px); } |
| to { opacity: 1; transform: translateY(0); } |
| } |
|
|
| .fade-in { |
| animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; |
| } |
|
|
| |
| .spinner { |
| border: 3px solid rgba(255,255,255,0.3); |
| border-radius: 50%; |
| border-top: 3px solid white; |
| width: 20px; |
| height: 20px; |
| -webkit-animation: spin 1s linear infinite; |
| animation: spin 1s linear infinite; |
| display: inline-block; |
| vertical-align: middle; |
| margin-right: 0.5rem; |
| } |
|
|
| @keyframes spin { |
| 0% { transform: rotate(0deg); } |
| 100% { transform: rotate(360deg); } |
| } |
|
|
| .hidden { |
| display: none !important; |
| } |
|
|
| |
| .toast-container { |
| position: fixed; |
| bottom: 2rem; |
| right: 2rem; |
| z-index: 1000; |
| display: flex; |
| flex-direction: column; |
| gap: 1rem; |
| } |
|
|
| .toast { |
| background-color: var(--color-text-main); |
| color: white; |
| padding: 1.25rem 2rem; |
| border-radius: var(--radius-lg); |
| box-shadow: var(--shadow-xl); |
| display: flex; |
| align-items: center; |
| gap: 1rem; |
| animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; |
| font-weight: 500; |
| } |
|
|
| |
| @media (max-width: 992px) { |
| .generator-layout { |
| grid-template-columns: 1fr; |
| } |
| |
| .sidebar { |
| position: static; |
| } |
| } |
|
|
| @media (max-width: 768px) { |
| .hero { |
| flex-direction: column; |
| text-align: center; |
| padding: 4rem 5vw; |
| } |
| |
| .hero h1 { |
| font-size: 2.5rem; |
| } |
| |
| .hero p { |
| margin: 0 auto 2.5rem; |
| } |
| |
| .navbar-nav { |
| display: none; |
| } |
| |
| .pantun-text { |
| font-size: 1.25rem; |
| } |
| } |
|
|