/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --teal-500: #14b8a6;
    --bg-soft: #cfe8ee;
    --ink: #0f2a2f;
    --ink-soft: #2f5258;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--ink);
    background: var(--white);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(15, 42, 47, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled .navbar {
    padding: 8px 0;
}

.header.scrolled .brand-logo {
    height: 80px;
}

.navbar {
    padding: 14px 0;
}

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

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

.brand-logo {
    height: 120px;
    padding-left: 20px;
    width: auto;
    object-fit: cover;
    object-position: center;
    clip-path: inset(0 0 2px 0)
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 24px;
    font-size: 1.3em;
    text-align: center;
}

.nav-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.nav-li{
}

.nav-link:hover {
    color: var(--teal-700);
}

.nav-toggle { 
    display: none;
    background: none;
    border: 0;
}


.bar { width: 26px; height: 3px; background: var(--ink); display: block; margin: 5px 0; }

/* Sections */
.section { padding: 100px 0; }
.section h2 { font-size: 2rem; margin-bottom: 1.25rem; text-align: center; }

/* Hero */
.hero { background: white; padding-top: 140px; }
.hero-copy { 
    font-size: 1.2rem;
    text-align: center; 
    margin-top: 40px; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero-copy h1 { font-size: 2.4rem; color: var(--ink); margin-bottom: 1rem; }
.hero-copy p { margin: 1rem 0 1.5rem; color: var(--ink-soft); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-carousel { position: relative; max-width: 1200px; margin: 0 auto; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 28px; border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--teal-700); color: var(--white); border-color: var(--teal-700); }
.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--teal-700); }
.btn-outline:hover { background: var(--teal-700); color: var(--white); }

/* Swiper Carousel */
.hero-carousel { 
    position: relative; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%;
    height: 300px;
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--teal-700);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    color: #0f766e;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #0f766e;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--teal-700);
}

/* Features */
.features { background: var(--bg-soft); }
.features h2 { text-align: center; margin-bottom: 40px; }
.features-diagram { 
    position: relative; 
    height: 80vh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin: 40px 0;
}

.totem-center {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.totem-image {
    height: 110%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Annotations */
.annotation {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    max-width: 250px;
}

.annotation-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.annotation-content p {
    color: var(--ink);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

/* Annotation arrows */
.annotation-arrow {
    width: 0;
    height: 0;
    border-style: solid;
}

.arrow-left {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid rgba(255, 255, 255, 0.95);
    margin-right: 8px;
}

.arrow-right {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid rgba(255, 255, 255, 0.95);
    margin-left: 8px;
}

/* Positioning for annotations */
.annotation-left-top {
    top: 20%;
    left: 5%;
    flex-direction: row;
}

.annotation-left-bottom {
    bottom: 20%;
    left: 5%;
    flex-direction: row;
}

.annotation-right-top {
    top: 20%;
    right: 5%;
    flex-direction: row-reverse;
}

.annotation-right-bottom {
    bottom: 20%;
    right: 5%;
    flex-direction: row-reverse;
}

/* Features footer */
.features-footer {
    text-align: center;
    margin-top: 20px;
}

.features-footer p {
    color: var(--ink-soft);
    font-style: italic;
    font-size: 1.1rem;
}

/* How */
.process-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.step-container {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-header {
    background: var(--teal-700);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
}

.step-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-visual {
    position: relative;
    margin-bottom: 20px;
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.step-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.overlay-text {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    align-self: flex-start;
}

.step-labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: flex-start;
}

.label {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.speech-bubble {
    background: white;
    color: var(--ink);
    padding: 10px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    position: relative;
    align-self: flex-end;
    max-width: 200px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.speech-bubble span {
    font-size: 0.9rem;
    font-weight: 500;
}

.step-description {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.step-description p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.step-arrow {
    font-size: 2rem;
    color: var(--teal-700);
    font-weight: bold;
    margin: 0 10px;
    
}

/* Value */
.value { background: var(--bg-soft); }
.value-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.value-container {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.value-header {
    background: var(--teal-700);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
}

.value-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-visual {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    position: relative;
    z-index: 2;
}

.value-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 300px;
    background: var(--teal-500);
    transform: translate(-50%, -50%) rotate(-5deg);
    border-radius: 12px;
    z-index: 1;
    opacity: 0.3;
}

.value-description {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.value-description ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.value-description li {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
    text-align: justify;
}

.value-description li::before {
    content: '•';
    color: var(--teal-700);
    font-weight: bold;
    position: absolute;
    left: 0;
    text-align: justify;
}

.value-arrow {
    font-size: 2rem;
    color: var(--teal-700);
    font-weight: bold;
    margin: 0 10px;
}

/* Compliance */
.compliance-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    gap: 40px; 
    align-items: center; 
    margin-top: 40px;
}

.compliance-copy p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.compliance-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}

.compliance-bullets li {
    margin: 20px 0;
    padding-left: 20px;
    position: relative;
    color: var(--ink-soft);
    line-height: 1.6;
}

.compliance-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--teal-700);
    border-radius: 50%;
}

.compliance-bullets strong {
    color: var(--ink);
    font-weight: 700;
}

.compliance-image-container {
    position: relative;
    display: inline-block;
    width: 60%;
    margin: 0 auto;
}

.compliance-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0,0,0,.12);
    position: relative;
    z-index: 3;
}

.image-frame {
    position: absolute;
    background: var(--teal-700);
    z-index: 1;
    border-radius: 12px;
}

.frame-top-left {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: rotate(-5deg);
}

.frame-bottom-right {
    display: none;
}

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.contact-form { background: #0d7f78; padding: 22px; border-radius: 16px; color: #eaffff; box-shadow: 0 16px 36px rgba(0,0,0,.12); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 0; margin: 10px 0; font: inherit; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn-primary { width: 100%; background: #083c3a; border-color: #083c3a; }

/* Footer */
.footer { background: #0c2326; color: #e2f3f4; padding: 36px 0 12px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 22px; }
.footer a { color: #a9e2e5; text-decoration: none; }
.footer-nav ul { list-style: none; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #a9e2e5; text-decoration: none; }
.footer-links a:hover { color: var(--teal-300); }
.social-links { display: flex; gap: 16px; }
.social-icon { width: 32px; height: 32px; transition: transform 0.3s ease; }
.social-icon:hover { transform: scale(1.1); }

/* FAQ Page */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 30px; padding: 20px; background: var(--bg-soft); border-radius: 8px; }
.faq-item h3 { color: var(--teal-700); margin-bottom: 12px; }
.faq-item p { line-height: 1.6; color: var(--text-dark); }
.footer-logo { 
    height: 150px; 
    width: auto; 
    margin-bottom: 8px; 
    object-fit: cover;
    object-position: center;
}
.footer-bottom { text-align: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 14px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .compliance-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: inline-block; }
    .nav-menu { position: fixed; right: 0; top: 64px; background: #fff; width: 100%; max-height: 0; overflow: hidden; flex-direction: column; gap: 0;}
    .nav-menu.show { max-height: 400px; }
    .nav-menu li { border-top: 1px solid rgba(0,0,0,.06); }
    .nav-menu a { display: block; padding: 14px 20px; }
    .hero-carousel { display: none; }
    .features-diagram { height: 60vh; }
    .totem-image { max-width: 400px; height: auto; }
    .annotation { max-width: 200px; }
    .annotation-content { padding: 10px 12px; }
    .annotation-content p { font-size: 0.8rem; }
    .process-steps { flex-direction: column; gap: 30px; }
    .step-arrow { transform: rotate(90deg); font-size: 1.5rem; }
    .value-steps { flex-direction: column; gap: 30px; }
    .value-arrow { transform: rotate(90deg); font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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