:root {
    --primary: #7e22ce; /* Deep Corporate Purple */
    --primary-dark: #581c87; /* Dark Purple */
    --secondary: #6b21a8; /* Rich Purple Accent */
    --accent: #ff6b00; /* Vibrant Logo Orange Highlight */
    --accent-light: #fff7ed; /* Light Orange Tint */
    
    --bg-main: #ffffff; /* Crisp Clean White Background */
    --bg-alt: #faf5ff; /* Soft Purple-Tinted Neutral Background */
    --bg-subtle: #f3e8ff; /* Light Purple Sub-Card Background */
    --bg-dark-footer: #0a192f; /* Premium Corporate Dark Navy Footer */
    
    --text-primary: #3b0764; /* Deep Purple Black Headings */
    --text-body: #334155; /* Slate 700 Body Text */
    --text-muted: #64748b; /* Slate 500 Subtitle/Caption Text */
    
    --card-bg: #ffffff;
    --card-border: rgba(233, 213, 255, 0.8);
    --card-shadow: 0 10px 30px rgba(126, 34, 206, 0.06);
    --card-shadow-hover: 0 15px 35px rgba(255, 107, 0, 0.2);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 3.2rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.3rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-primary); }

p {
    margin-bottom: 1.25rem;
    color: var(--text-body);
    font-size: 1.05rem;
}

/* Orange Text Highlights */
.highlight-orange, span.highlight {
    color: var(--accent);
    font-weight: 700;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }

/* Utilities & Subtitles */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
    position: relative;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-desc {
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.bg-dark {
    background-color: var(--bg-alt);
}

.bg-gradient {
    background: linear-gradient(135deg, #faf5ff 0%, #fff7ed 100%);
    position: relative;
}

.divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.divider.center { margin: 0 auto 1.5rem auto; }
.divider.light { background: var(--accent); }

/* Re-designed Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
    color: #ffffff !important;
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 2px 10px rgba(126, 34, 206, 0.08);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Glassmorphism Light Cards */
.glassmorphism {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

/* Top Announcement Bar */
.top-bar {
    background: #faf5ff;
    border-bottom: 1px solid #f3e8ff;
    font-size: 0.85rem;
    padding: 8px 0;
    color: var(--text-muted);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
}

.top-info i {
    color: var(--accent);
    margin-right: 5px;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.top-links a:hover {
    color: var(--accent);
}

/* Header Navigation - LOGO ONLY, NO TEXT */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: #ffffff;
    border-bottom: 1px solid #f3e8ff;
    box-shadow: 0 4px 25px rgba(126, 34, 206, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links .btn-primary::after {
    display: none;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Subpage Hero Banner */
.page-hero {
    background: linear-gradient(135deg, #faf5ff 0%, #fff7ed 100%);
    padding: 70px 0;
    border-bottom: 1px solid #f3e8ff;
    position: relative;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-body);
    max-width: 800px;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

/* Hero Section (Home) */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    animation: slowZoom 25s infinite alternate ease-in-out;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 245, 255, 0.86) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 950px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero h1 {
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-body);
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* Stats Bar */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.stat-card {
    padding: 22px;
    text-align: center;
    transition: transform 0.3s ease;
    background: #ffffff;
    border: 1px solid #f3e8ff;
    box-shadow: 0 4px 15px rgba(126, 34, 206, 0.05);
    border-radius: 14px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent);
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* About / Content Section */
.about-container, .tech-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text, .tech-text { flex: 1; }
.about-image, .tech-image { flex: 1; position: relative; }

.image-wrapper {
    position: relative;
    padding: 10px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(126, 34, 206, 0.08);
    border: 1px solid #f3e8ff;
}

.image-wrapper img {
    width: 100%;
    border-radius: 14px;
    display: block;
    position: relative;
    z-index: 2;
}

.glow-effect, .glow-effect-accent {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: #c084fc;
    filter: blur(50px);
    opacity: 0.25;
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s infinite alternate;
}

.glow-effect-accent { background: #ff944d; }

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #faf5ff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #f3e8ff;
}

.highlight-item i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-top: 2px;
}

.highlight-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.highlight-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Mission, Vision Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    padding: 35px 25px;
    background: #ffffff;
    border: 1px solid #f3e8ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-radius: 16px;
}

.mission-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.card-icon {
    width: 55px; height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 20px;
}

.values-list {
    list-style: none;
}

.values-list li {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
}

.values-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
}

.feature-list i {
    color: var(--accent);
    margin-right: 12px;
    margin-top: 4px;
}

/* Tech Specs & Brands */
.tech-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.tech-spec-item {
    display: flex;
    gap: 15px;
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #f3e8ff;
}

.tech-spec-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 3px;
}

.brands-box {
    padding: 25px;
    background: #ffffff;
    border: 1px solid #f3e8ff;
    border-radius: 16px;
}

.brand-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.brand-card-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.brand-badge {
    padding: 4px 14px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.brand-badge.torun { background: #7e22ce; color: #fff; }
.brand-badge.helix { background: #ff6b00; color: #fff; }

/* Workflow Steps */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.workflow-step {
    background: #ffffff;
    border: 1px solid #f3e8ff;
    padding: 25px 15px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.step-number {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--accent);
    margin-bottom: 10px;
}

.workflow-step h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Governance & ESG Grid (Fixed 4-Card Grid) */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gov-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #f3e8ff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.gov-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.gov-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Investors Cards */
.investor-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.investor-card {
    background: #ffffff;
    border: 1px solid #f3e8ff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.investor-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.investor-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Contact Page Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card, .contact-form-card {
    background: #ffffff;
    border: 1px solid #f3e8ff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(126, 34, 206, 0.05);
}

.contact-info-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-info-list i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 3px;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form-alert {
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.form-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Clients & Partners Tag Cloud */
.clients-partners-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid #e9d5ff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.client-tag {
    background: #ffffff;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 22px;
}

.client-tag span {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: bold;
}

.partner-tag {
    background: #ffffff;
    color: var(--primary);
}

.tag:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

/* Corporate Dark Navy Footer */
.footer {
    background-color: var(--bg-dark-footer);
    color: #e2e8f0;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer h4 { color: #ffffff; margin-bottom: 1.25rem; }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo { margin-bottom: 15px; text-decoration: none; display: inline-block; }

.footer-logo-badge {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.footer-logo-badge img {
    height: 42px;
    width: auto;
}

.footer p { color: #94a3b8; }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 12px; color: #94a3b8; font-size: 0.95rem; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: #ff944d; }

.footer-contact i {
    color: var(--accent);
    margin-right: 10px;
    width: 18px;
}

.footer-bottom {
    background: #030712;
    padding: 20px 0;
    color: #64748b;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes pulse {
    0% { opacity: 0.15; transform: scale(0.95); }
    100% { opacity: 0.3; transform: scale(1.05); }
}

.animate-up, .fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
}

.animate-up { transform: translateY(30px); }
.fade-in-up { transform: translateY(40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.in-view {
    opacity: 1;
    transform: translate(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-grid, .investor-card-grid, .governance-grid { grid-template-columns: 1fr; }
    .workflow-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .about-container, .tech-container { flex-direction: column; }
    .workflow-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-partners-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom-flex { flex-direction: column; gap: 10px; text-align: center; }

    .nav-links {
        position: fixed;
        top: 70px; left: -100%;
        flex-direction: column;
        background: #ffffff;
        width: 100%; height: calc(100vh - 70px);
        justify-content: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { left: 0; }
    .hamburger { display: block; }
    
    h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
}
