This commit is contained in:
kediritechnopark
2025-08-22 18:27:47 +07:00
parent e356aabc31
commit c03cf59f86
7 changed files with 806 additions and 1360 deletions

View File

@@ -1,614 +1,37 @@
/* Direktif Tailwind */
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
font-family: 'Manrope', sans-serif;
background-color: #f8fafc; /* Background utama, mirip dengan brand guide */
color: #282930; /* Teks gelap utama */
margin: 0;
overflow-x: hidden; /* Mencegah scroll horizontal */
}
/* Custom styles for sections and elements */
.header-bg {
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.hero-section {
background-color: #ffffff;
/* padding: 4rem 2rem; */
text-align: center;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr)); /* 1 kolom di layar kecil */
gap: 1.5rem;
margin-top: 3rem;
}
@media (min-width: 640px) { /* sm breakpoint */
.stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 kolom di layar sedang */
}
}
@media (min-width: 1024px) { /* lg breakpoint */
.stats-grid {
grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 kolom di layar besar */
}
}
.stat-card {
background-color: #ffffff;
border-radius: 1rem;
text-align: left;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease-in-out;
}
.stat-card.dark-bg {
background-color: #282930; /* Menggunakan warna gelap dari brand guide */
color: #e2e8f0;
}
.stat-card.light-green-bg {
background-color: #E5FFCC; /* Menggunakan warna hijau terang dari brand guide */
color: #142F32; /* Teks gelap di atas hijau terang */
}
.stat-card:hover {
transform: translateY(-5px);
}
.bottom-section {
background-color: #282930; /* Menggunakan warna gelap dari brand guide */
padding: 4rem 2rem;
color: #e2e8f0;
text-align: center;
}
.bottom-grid {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr)); /* 1 kolom di layar kecil */
gap: 1.5rem;
margin-top: 3rem;
}
@media (min-width: 768px) { /* md breakpoint */
.bottom-grid {
grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 kolom di layar sedang */
}
}
.bottom-card {
background-color: #142F32; /* Menggunakan warna hijau gelap dari brand guide */
border-radius: 1rem;
padding: 2rem;
text-align: left;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease-in-out;
}
.bottom-card:hover {
transform: translateY(-5px);
}
.button-primary {
background-color: #142F32; /* Menggunakan warna hijau gelap dari brand guide */
color: white;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.button-primary:hover {
background-color: #0d1e20; /* Hijau gelap lebih gelap */
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.button-secondary {
background-color: transparent;
border: 1px solid #9ca3af; /* Gray border */
color: #4b5563; /* Dark gray text */
transition: all 0.3s ease;
}
.button-secondary:hover {
background-color: #f3f4f6; /* Light gray background */
transform: translateY(-2px);
}
.button-sign-up {
background-color: #142F32; /* Menggunakan warna hijau gelap dari brand guide */
color: white;
transition: all 0.3s ease;
}
.button-sign-up:hover {
background-color: #0d1e20; /* Hijau gelap lebih gelap */
}
/* Responsive image for the first card */
.card-image {
width: 100%;
height: auto;
border-radius: 0.75rem; /* Sudut membulat untuk gambar */
object-fit: cover; /* Memastikan gambar menutupi area */
}
/* Styles for Key Benefits Section */
.key-benefits-section {
background-color: #f8fafc;
padding: 4rem 2rem;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
@media (min-width: 768px) {
.key-benefits-section {
flex-direction: row;
text-align: left;
justify-content: center;
gap: 4rem;
}
}
.benefits-content {
flex: 1;
max-width: 600px;
}
.benefits-image-card {
flex: 1;
background-color: #ffffff;
border-radius: 1rem;
padding: 1.5rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
margin-top: 2rem;
max-width: 400px;
}
@media (min-width: 768px) {
.benefits-image-card {
margin-top: 0;
}
}
.benefit-item {
display: flex;
align-items: flex-start;
margin-bottom: 1rem;
}
.benefit-item i {
color: #22c55e; /* Hijau centang */
margin-right: 0.75rem;
font-size: 1.25rem;
margin-top: 0.25rem;
}
/* Styles for Tailored Plans Section */
.tailored-plans-section {
background-color: #282930; /* Menggunakan warna gelap dari brand guide */
padding: 4rem 2rem;
color: #e2e8f0;
text-align: center;
}
.pricing-grid {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 2rem;
margin-top: 3rem;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}
@media (min-width: 768px) {
.pricing-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.pricing-card {
background-color: #142F32; /* Menggunakan warna hijau gelap dari brand guide */
border-radius: 1rem;
padding: 2.5rem;
text-align: left;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}
.pricing-card .price {
font-size: 3rem;
font-weight: 800;
color: #ffffff;
margin-bottom: 0.5rem;
}
.pricing-card .price-per-month {
color: #9ca3af;
font-size: 1rem;
}
.pricing-card .feature-list {
margin-top: 1.5rem;
margin-bottom: 2rem;
}
.pricing-card .feature-item {
display: flex;
align-items: center;
margin-bottom: 0.75rem;
color: #cbd5e0;
}
.pricing-card .feature-item i {
color: #22c55e; /* Hijau centang */
margin-right: 0.5rem;
}
/* New styles for Seamless Integrations Section */
.integrations-section {
background-color: #f8fafc;
padding: 4rem 2rem;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
@media (min-width: 768px) {
.integrations-section {
flex-direction: row;
text-align: left;
justify-content: center;
gap: 4rem;
}
}
.integrations-content {
flex: 1;
max-width: 600px;
}
.integrations-visual {
flex: 1;
background-color: #E5FFCC; /* Menggunakan warna hijau terang dari brand guide */
border-radius: 1rem;
padding: 2rem;
margin-top: 2rem;
max-width: 500px;
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
min-height: 300px;
}
@media (min-width: 768px) {
.integrations-visual {
margin-top: 0;
}
}
.integration-icon-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
width: 100%;
height: 100%;
position: relative;
justify-items: center;
align-items: center;
}
.integration-icon {
background-color: #ffffff;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
font-size: 1.5rem;
color: #4a5568;
}
/* From Idea to Production Section */
.idea-to-production-section {
background-color: #282930; /* Menggunakan warna gelap dari brand guide */
padding: 4rem 2rem;
color: #e2e8f0;
text-align: center;
}
/* Footer Section */
.footer-section {
background-color: #282930; /* Menggunakan warna gelap dari brand guide */
padding: 4rem 2rem;
color: #a0aec0; /* Teks abu-abu lebih terang */
font-size: 0.9rem;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 2rem;
}
@media (min-width: 640px) {
.footer-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (min-width: 1024px) {
.footer-grid {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
}
.footer-col h3 {
font-weight: 600;
color: #ffffff;
margin-bottom: 1rem;
}
.footer-col ul li {
margin-bottom: 0.5rem;
}
.footer-col ul li a {
color: #a0aec0;
transition: color 0.2s ease;
}
.footer-col ul li a:hover {
color: #ffffff;
}
.social-icons a {
color: #a0aec0;
font-size: 1.25rem;
margin-right: 1rem;
transition: color 0.2s ease;
}
.social-icons a:hover {
color: #ffffff;
}
/* Modal Styles */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.show {
opacity: 1;
visibility: visible;
}
.modal-content {
background-color: #ffffff;
padding: 2.5rem;
border-radius: 1rem;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
max-width: 450px;
width: 90%;
text-align: center;
position: relative;
transform: translateY(-20px);
transition: transform 0.3s ease;
}
.modal.show .modal-content {
transform: translateY(0);
}
.close-button {
position: absolute;
top: 1rem;
right: 1rem;
font-size: 1.5rem;
cursor: pointer;
color: #4b5563;
}
/* Dashboard Styles */
.dashboard-container {
display: none; /* Hidden by default */
grid-template-columns: 250px 1fr; /* Sidebar fixed width, content fills */
min-height: 100vh;
background-color: #f8fafc;
color: #282930;
}
@media (max-width: 768px) {
.dashboard-container {
grid-template-columns: 1fr; /* Stack on small screens */
}
.dashboard-sidebar {
width: 100%;
position: relative;
box-shadow: none;
}
}
.dashboard-sidebar {
background-color: #142F32; /* Hijau gelap */
color: #E5FFCC;
padding: 2rem 1rem;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}
.dashboard-sidebar-item {
width: 100%;
padding: 0.75rem 1rem;
margin-bottom: 0.5rem;
border-radius: 0.5rem;
display: flex;
align-items: center;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}
.dashboard-sidebar-item:hover {
background-color: rgba(229, 255, 204, 0.1); /* Hijau terang transparan */
color: #E5FFCC;
}
.dashboard-sidebar-item.active {
background-color: #E5FFCC;
color: #142F32;
font-weight: 600;
}
.dashboard-main-content {
padding: 2rem;
background-color: #f8fafc;
overflow-y: auto;
}
.chat-container {
display: flex;
flex-direction: column;
height: calc(100vh - 4rem); /* Adjust for padding */
background-color: #ffffff;
border-radius: 1rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
overflow: hidden;
}
.chat-messages {
flex-grow: 1;
padding: 1.5rem;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 1rem;
}
.chat-message {
max-width: 80%;
padding: 0.75rem 1rem;
border-radius: 0.75rem;
word-wrap: break-word;
}
.chat-message.user {
background-color: #E5FFCC;
align-self: flex-end;
color: #142F32;
}
.chat-message.bot {
background-color: #f1f5f9;
align-self: flex-start;
color: #282930;
}
.chat-input-area {
display: flex;
padding: 1rem;
border-top: 1px solid #e2e8f0;
background-color: #ffffff;
}
.chat-input-area input {
flex-grow: 1;
padding: 0.75rem 1rem;
border: 1px solid #cbd5e0;
border-radius: 0.5rem;
margin-right: 0.75rem;
font-size: 1rem;
}
.chat-input-area button {
background-color: #142F32;
color: white;
padding: 0.75rem 1.25rem;
border-radius: 0.5rem;
transition: background-color 0.2s ease;
}
.chat-input-area button:hover {
background-color: #0d1e20;
}
.loading-indicator {
display: none;
text-align: center;
padding: 1rem;
color: #777C90;
}
.loading-indicator.show {
display: block;
}
.image-gen-preview {
max-width: 100%;
height: auto;
border-radius: 0.75rem;
margin-top: 1.5rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.dashboard-section-content {
background-color: #ffffff;
padding: 2rem;
border-radius: 1rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
min-height: calc(100vh - 8rem); /* Adjust for header/footer/padding */
}
.dashboard-section-content h2 {
font-size: 2.25rem;
font-weight: 800;
margin-bottom: 1.5rem;
color: #282930;
}
.dashboard-section-content p {
color: #4b5563;
margin-bottom: 1rem;
}
.dashboard-section-content ul {
list-style: none;
padding: 0;
}
.dashboard-section-content ul li {
background-color: #f1f5f9;
padding: 1rem;
border-radius: 0.75rem;
margin-bottom: 0.75rem;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Tambahan untuk font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* Custom Theme Overrides */
:root {
--color-brand-dark: #0D1117;
--color-brand-card: #161B22;
--color-brand-accent: #10B981;
--color-brand-accent-hover: #059669;
--color-brand-subtle: #30363D;
}
body {
@apply bg-[var(--color-brand-dark)] text-gray-300 font-sans antialiased;
}
/* Font override for Inter */
* {
font-family: 'Inter', sans-serif;
}
@keyframes marquee {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-50%);
}
}
.animate-marquee {
animation: marquee 40s linear infinite;
}