:root {
    --primary-black: #e53e3e;
    --primary-white: #ffffff;
    --accent-purple: #c41a1a;
    --accent-orange: #2f855a;
    --accent-green: transparent;
    --accent-cream: #f2f2e8;
    --gray-text: #4a4a4a;
    --gray-light: #dcdcdc;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'IBM Plex Mono', monospace;
line-height: 1.6;
color: var(--primary-black);
background: linear-gradient(135deg, var(--accent-cream), #e8e4dc, #2f855a);
}

/* Container */
.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 40px;
}

.right-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;              /* full height of container */
    width: 100%;                /* take 40% width */
    display: flex;
    justify-content: center;   /* center contents horizontally */
    align-items: center;       /* center contents vertically */
    border-left: 1px solid rgba(45, 45, 45, 0.5);
    background: rgba(45, 45, 45, 0.98);
    overflow: hidden;          /* fully clip contents */
}

/* Announcement Bar */
.announcement-bar {
background: #2f855a;
color: var(--primary-white);
text-align: center;
padding: 12px 20px;
font-size: 14px;
}
.announcement-bar a {
color: var(--primary-white);
text-decoration: underline;
margin-left: 6px;
}

/* Header */
header {
background: var(--primary-white);
padding: 20px 0;
position: relative;
z-index: 100;
border-bottom: 1px solid #f0f0f0;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}
.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.logo-circle {
width: 28px;
height: 28px;
background: var(--accent-green);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-white);
font-size: 14px;
font-weight: bold;
}
.logo-text {
font-size: 20px;
font-weight: 600;
}

/* Nav links */
.nav-links {
display: flex;
list-style: none;
gap: 28px;
align-items: center;
}
.nav-links a {
text-decoration: none;
color: #4a5568;
font-size: 14px;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: var(--accent-orange);
}
.try-now-btn {
background: var(--primary-black);
color: #4a5568;
padding: 3px 5px;
border-radius: 1px;
text-decoration: none;
font-size: 14px;
font-weight: 600;
background: transparent;
border: none;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(10px);
}
.try-now-btn:hover {
color: var(--accent-orange);
}

/* Hero Section */
.hero-section {
background: transparent;
height: calc(100vh - 99px);
display: flex;
align-items: center;
position: relative;
overflow: hidden;
}
.hero-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: center;
width: 100%;
position: relative;
z-index: 2;
}
.hero-content h1 {
font-size: 3.5rem;
font-weight: 600;
line-height: 1.2;
height: 4.5rem; /* lock height so it doesn’t jump */
overflow: hidden;
position: relative;
}

.hero-line {
position: absolute;
top: 0;
left: 0;
opacity: 0;
transform: translateY(100%);
animation: slideUp 9s infinite;
align-items: center;
}

.hero-line:nth-child(1) {
animation-delay: 0s;
}
.hero-line:nth-child(2) {
animation-delay: 3s;
}
.hero-line:nth-child(3) {
animation-delay: 6s;
}

@keyframes slideUp {
0% { opacity: 0; transform: translateY(100%); }
5% { opacity: 1; transform: translateY(0); }
30% { opacity: 1; transform: translateY(0); }
35% { opacity: 0; transform: translateY(-100%); }
100% { opacity: 0; transform: translateY(-100%); }
}
.hero-subtitle {
font-size: 18px;
font-weight: 400;
color: var(--gray-text);
margin-bottom: 12px;
}
.hero-description {
font-size: 16px;
color: #555;
line-height: 1.7;
margin-bottom: 32px;
max-width: 500px;
}
.hero-buttons {
display: flex;
gap: 16px;
margin-bottom: 40px;
}

/* Buttons */
.btn-contact {
background: var(--primary-black);
color: var(--primary-white);
padding: 14px 28px;
border-radius: 1px;
font-size: 14px;
font-weight: 500;
text-decoration: none;
transition: background 0.3s ease;
}
.btn-contact:hover {
background: #333;
}
.btn-playground {
background: var(--primary-white);
border: 1px solid var(--gray-light);
color: var(--primary-black);
padding: 14px 28px;
border-radius: 1px;
font-size: 14px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s ease;
}
.btn-playground:hover {
background: #fafafa;
border-color: #bbb;
}

/* Hero Visual - abstract blobs */
.hero-visual {
position: relative;
height: 600px;
display: flex;
justify-content: center;
align-items: center;
}
.abstract-3d-shape {
position: absolute;
border-radius: 50%;
filter: blur(30px);
opacity: 0.9;
}
/* Purple blob */
.shape-main {
width: 380px;
height: 320px;
background: radial-gradient(circle at 30% 30%, #d1b894, #6ba6a1);
top: 10%;
right: 8%;
z-index: 2;
}
/* Orange blob */
.shape-accent {
width: 240px;
height: 200px;
background: radial-gradient(circle at 40% 40%, #ff9500, #e8e8e8);
bottom: 15%;
right: 22%;
z-index: 3;
}
/* Green blob */
.shape-green {
width: 220px;
height: 180px;
background: radial-gradient(circle at 40% 60%, #7fafb0, #3c3c3c);
top: 40%;
left: 10%;
z-index: 1;
}
/* Purple pastel */
.shape-purple {
width: 200px;
height: 160px;
background: radial-gradient(circle at 40% 60%, #c4b5fd, #e8e8e8);
top: 5%;
left: 20%;
z-index: 0;
}

/* Left side - everything except results */
.left-panel {
    left: 0;
    top :72px;
    width: 30%;
    overflow-y: auto;
    height: calc(100vh - 72px);
    position: fixed;
    z-index: 1002; 
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    /*background: rgba(60, 60, 60, 0.95);*/
    background: linear-gradient(
        135deg,
        rgba(242, 242, 232, 0.85),  /* var(--accent-cream) */
        rgba(232, 228, 220, 0.85),  /* #e8e4dc */
        rgba(47, 133, 90, 0.85)     /* #2f855a */
    );
}

.left-panel.open {
    transform: translateX(0);  /* Visible when open */
}

/* Toggle Button */
.toggle-panel-btn {
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #ff9500;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.toggle-panel-btn svg {
    width: 24px;
    height: 24px;
}

/*Upload Button*/
.upload-area {
    border: 2px dashed #666;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: #4a4a4a;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: #ff9500;
    background: rgba(255, 149, 0, 0.05);
}

.upload-button {
    background: linear-gradient(45deg, #ff9500, #ff7b00);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.upload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.upload-info {
    color: #aaa;
    font-size: 0.9rem;
}

.upload-info a {
    color: #ff9500;
    text-decoration: none;
}

.file-input {
    display: none;
}

.processing-section {
    margin-top: 2rem;
    display: none;
}

.file-item {
    background: rgba(60, 60, 60, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
}

.file-item.validation-error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.file-info h3 {
    color: #e8e8e8;
    margin-bottom: 0.5rem;
}

.file-info p {
    color: #aaa;
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.output-dropdown {
    padding: 0.5rem 1rem;
    border: 1px solid #555;
    border-radius: 6px;
    background: #4a4a4a;
    color: #e8e8e8;
}

.output-dropdown:disabled {
    opacity: 0.5;
}

.simulate-btn {
  background: transparent;
  border: none; /* green border */
  color: var(--gray-text);
  font-size: 1.2em;
  cursor: pointer;
  margin-right: auto;
  transition: all 0.3s ease;
}

.simulate-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    color : var(--accent-purple);
}

.simulate-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #555;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9500, #ff7b00);
    width: 0%;
    transition: width 0.3s ease;
}

.zip-info {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.results-section {
    display: block;
    position: absolute;
    inset: 0;
    background: transparent;
}

.results-title {
    font-size: 2rem;
    font-weight: bold;
    color: #e8e8e8;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.result-item {
    background: rgba(60, 60, 60, 0.95);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-filename {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e8e8e8;
}

.result-status {
    padding: 0.25rem 0.75rem;
    background: #10b981;
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.download-section {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-direction: column;
}

.download-btn {
    background: linear-gradient(45deg, #ff9500, #ff7b00);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.4);
}

.download-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.convert-more-btn {
    background: #6b7280;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.convert-more-btn:hover {
    background: #4b5563;
}

.privacy-notice {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: center;
}  

.panel-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* Responsive */
@media (max-width: 1024px) {
.hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}
.hero-content h1 {
    font-size: 3rem;
}
.hero-visual {
    height: 400px;
}
.left-panel,
.right-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid #555;
}

.left-panel {
    border-top: none;
}
}
@media (max-width: 768px) {
.nav-links {
    display: none;
}
.container {
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 2.4rem;
}
.hero-buttons {
    flex-direction: column;
    align-items: center;
}
.customer-logos {
    gap: 30px;
}
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a202c;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px; /* below header */
        left: 0;
        right: 0;
        background: var(--primary-white);
        border-top: 1px solid #f0f0f0;
        padding: 20px 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    .nav-links.show {
        transform: translateY(0);
    }
    .nav-links li {
        margin: 12px 0;
        text-align: center;
    }
}