/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Kalnia Font Class */
.font-kalnia {
    font-family: 'Kalnia', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.font-kalnia-light {
    font-family: 'Kalnia', serif;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.font-kalnia-medium {
    font-family: 'Kalnia', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.font-kalnia-bold {
    font-family: serif;
    font-weight: 600;
    letter-spacing: 0.7px;
}

/* Sunset Gradient Class */
.sunset-gradient {
    background: linear-gradient(45deg, #FF3300, #FFA66C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Header */
.header {
    background: rgba(11, 19, 37, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo-img {
    height: 24px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFB483, #D25401);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Switch */
.language-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #FFB483, #D25401);
    color: #fff;
    box-shadow: 0 2px 8px rgba(210, 84, 1, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 260px 0 80px;
    text-align: left;
    border-bottom-right-radius: 240px;
    overflow: hidden;
    margin-top: -100px;
    /* Layer 1: Rising sun image */
    background-image: url('https://i.pinimg.com/1200x/8b/53/76/8b5376b72fb36f5f145db7ee3277b432.jpg');
    background-size: 120% auto;
    background-position: center 55%;
    background-repeat: no-repeat;
}

/* Layer 0: Base gradient background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

@keyframes sunRise {
    0% {
        background-position: center 10%;
    }
    100% {
        background-position: center 90%;
    }
}

/* Layer 2: Blurred gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(7, 10, 18, 0.9) 0%, rgba(24, 39, 73, 0.95) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

/* Ensure content is above all layers */
.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-screenshot {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-screenshot img {
    max-width: 800px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    border-top-left-radius: 24px;
    transform: translate(10%, 100px);
}

/* Trust Logos Section */
.trust-logos {
    background: #f8fafc;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.trust-logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.trust-logo {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

.logo-placeholder {
    background: #e5e7eb;
    color: #6b7280;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

/* Stakeholders Section */
.stakeholders {
    background: white;
    padding: 80px 0;
    position: relative;
}

.stakeholders-section {
    position: relative;
    max-width: 100vw !important;
    overflow: hidden;
    padding: 0 !important;
    padding-left: calc((100vw - 1160px) / 2) !important;    
}

.stakeholders-container {
    position: relative;
    margin-top: 3rem;
    max-width: 1160px !important;
}

.stakeholders-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 380px);
    gap: 8px;
    width: 200%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stakeholders-grid.scrolling .stakeholder-card {
    animation: subtleBounce 0.3s ease;
}

@keyframes subtleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.stakeholders-scroll-wrapper {
    position: relative;
    width: 100%;
}

.stakeholders-scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FFB483, #D25401);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(210, 84, 1, 0.3);
    transition: all 0.3s ease;
}

.stakeholders-scroll-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(210, 84, 1, 0.4);
}

.stakeholders-scroll-button-left {
    left: 0;
}

.stakeholders-scroll-button-right {
    right: 8px;
}

.stakeholders-scroll-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.stakeholder-card {
    padding: 40px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
    background: #f1f4fa;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.stakeholder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #FFB483, #D25401);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stakeholder-card:hover::before {
    /* transform: scaleX(1); */
}

.stakeholder-card:hover {
    border: 1px solid #7d9ddc;
}

.stakeholder-avatar {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    transition: all 0.3s ease;
    overflow: hidden;
}

.avatar-image {
    width: 148px;
    height: 148px;
    object-fit: cover;
    border-radius: 16px;
    margin-right: 40px;
    margin-bottom: 40px;
}

.stakeholder-card:hover .stakeholder-avatar {
    border-color: #FFB483;
}

.avatar-placeholder {
    font-size: 2rem;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.stakeholder-card:hover .avatar-placeholder {
    filter: grayscale(0);
}

.stakeholder-card h3 {
    color: #1f2937;
    margin-bottom: 4px;
    font-size: 1.5rem;
    font-weight: bold;
}

.stakeholder-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.stakeholder-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column !important;
    flex-wrap: wrap;
}

.stakeholder-benefits li {
    position: relative;
    padding: 0.2rem 0.5rem 0.2rem 1.5rem;
    color: #4b5563;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.stakeholder-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #10b981;
    font-weight: bold;
    font-size: 0.9rem;
}

.stakeholder-benefits li:hover {
    color: #1f2937;
}

.hero-logo {
    height: 64px;
    width: auto;
    margin-bottom: 2rem;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    color: #ffffff;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    min-height: 52px;
    display: flex;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4d5ec1 0%, #3a5a9b 100%);
    border: 1px solid transparent;
    background-clip: padding-box;
    color: #fff;
    box-shadow: 0 4px 12px rgba(126, 1, 210, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #406a99, #4865a8, #0f3b6c, #31689c);
    border-radius: inherit;
    padding: 1px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: -1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0c163b 0%, #06063e 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 25, 67, 0.4), 0 0 20px rgba(38, 32, 149, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: left;
    margin-bottom: 1rem;
    color: #1f2937;
    max-width: 640px;
}

.section-subtitle {
    text-align: left;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 640px;
}

/* Features */
.features {
    background: #f8fafc;
    position: relative;
}

.features-container {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(1, 420px);
    gap: 8px;
    width: 200%;
}

.features-scroll-wrapper {
    overflow: hidden;
    position: relative;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FFB483, #D25401);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(210, 84, 1, 0.3);
    transition: all 0.3s ease;
}

.scroll-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(210, 84, 1, 0.4);
}

.scroll-button-left {
    left: -25px;
}

.scroll-button-right {
    right: -25px;
}

.scroll-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.feature-card {
    padding: 40px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
    background: #f1f4fa;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {

}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    width: 50%;
    margin: 0;
}

.screenshot-content {
    width: 50%;
    margin: 0;
}

.about-text h2 {
    color: #1f2937;
    margin-bottom: 2rem;
}

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

.benefits-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: #374151;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Contact Section */
.contact {
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin: 0 auto;
}

.contact-info {
    grid-column: 1 / 7;
    padding: 48px;
}

.contact-info h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-form {
    grid-column: 7 / 13;
    padding: 48px;
}

.contact-person-img {
    height: 200px;
    width: auto;
    margin-bottom: 24px;
    border-radius: 50%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

/* Footer */
.footer {
    background: #0D111D;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #7a7f89;
    margin: 0;
    font-size: 0.8rem;
}

.footer-logo {
    height: 24px;
    width: auto;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .language-switch {
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero-logo {
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-screenshot {
        justify-content: center;
    }
    
    .hero-screenshot img {
        transform: translateX(0);
        max-width: 100%;
    }
    
    .trust-logos-grid {
        gap: 2rem;
    }
    
    .logo-placeholder {
        min-width: 100px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .stakeholders-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .stakeholder-card {
        padding: 1.5rem;
    }
    
    .stakeholder-avatar {
        width: 60px;
        height: 60px;
    }
    
    .avatar-placeholder {
        font-size: 1.5rem;
    }
    
    .features-container {
        margin-top: 2rem;
    }
    
    .feature-card {
        min-width: 280px;
        height: 260px;
        padding: 2rem;
    }
    
    .scroll-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-button-left {
        left: -20px;
    }
    
    .scroll-button-right {
        right: -20px;
    }
    
    .stakeholders-container {
        margin-top: 2rem;
    }
    
    .stakeholders-scroll-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stakeholders-scroll-button-left {
        left: -20px;
    }
    
    .stakeholders-scroll-button-right {
        right: -20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 200px 0 60px;
        margin-top: -50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-cta,
    .contact-form {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
