html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

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

body {
    font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', 'source-sans-pro', sans-serif;
    color: #2c3e50;
    background: linear-gradient(135deg, #F5F0E1 0%, #f8f4e8 50%, #F5F0E1 100%);
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 15, 0.1), rgba(0, 102, 15, 0.05));
    z-index: -1;
}

body::before {
    width: 800px;
    height: 800px;
    top: -200px;
    left: -300px;
}

body::after {
    width: 600px;
    height: 600px;
    top: 400px;
    right: -200px;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 15, 0.08), rgba(0, 102, 15, 0.04));
    z-index: -1;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    top: 800px;
    left: -100px;
}

.bg-shape-2 {
    width: 500px;
    height: 500px;
    top: 1200px;
    right: -150px;
}

.bg-shape-3 {
    width: 700px;
    height: 700px;
    top: 1800px;
    left: -250px;
}

.bg-shape-4 {
    width: 600px;
    height: 600px;
    bottom: 0;
    right: -200px;
}

/* Resizable Navbar */
.navbar-wrapper {
    position: sticky;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 40;
    width: 100%;
    padding-top: 0;
}

.navbar-body {
    position: relative;
    z-index: 60;
    margin: 0 auto;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    min-width: 800px;
    border-radius: 9999px;
    background: transparent;
    padding: 8px 16px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;
}

.navbar-body.visible {
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    background: rgba(255, 255, 255, 0.8);
    width: 40%;
    transform: translateY(20px);
}

.navbar-body.visible .navbar-items {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.navbar-body.visible .navbar-button-primary {
    background: rgba(27, 58, 45, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

@media (min-width: 1024px) {
    .navbar-body {
        display: flex;
    }
}

/* Navbar Logo */
.navbar-logo {
    position: relative;
    z-index: 20;
    margin-right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    text-decoration: none;
    color: #000;
}

.navbar-logo-img {
    height: 60px;
    width: 60px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-body.visible .navbar-logo-img {
    height: 30px;
    width: 30px;
}

.navbar-logo-text {
    font-size: 22px;
    font-weight: 500;
    color: #000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.navbar-body.visible .navbar-logo-text {
    opacity: 0;
    visibility: hidden;
}

/* Navbar Items */
.navbar-items {
    position: absolute;
    inset: 0;
    display: none;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #52525b;
    transition: color 0.2s, background 0.4s ease, backdrop-filter 0.4s ease;
    background:#e3e6d3;
    border-radius: 10px;
    margin:0 101px;
}

@media (min-width: 1024px) {
    .navbar-items {
        display: flex;
    }
}

.navbar-item {
    position: relative;
    padding: 8px 16px;
    text-decoration: none;
    color: #52525b;
    transition: color 0.2s;
}

.navbar-item:hover {
    color: #18181b;
}

.navbar-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #f3f4f6;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1;
}

.navbar-item:hover::before {
    opacity: 1;
}

.navbar-item-text {
    position: relative;
    z-index: 20;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Navbar Button */
.navbar-button {
    padding: 8px 16px;
    border-radius: 6px;
    background: white;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-block;
    border: none;
}

.navbar-button:hover {
    transform: translateY(-2px);
}

.navbar-button-primary {
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    background: #1B3A2D;
    color: white;
}

.navbar-button-primary:hover {
    background: #0f251c;
}

.navbar-body.visible .navbar-button-primary:hover {
    background: rgba(15, 37, 28, 0.95);
}

/* Mobile Navigation */
.mobile-nav {
    position: relative;
    z-index: 50;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: calc(100vw - 2rem);
    background: transparent;
    padding: 8px 0;
    border-radius: 2rem;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;
}

.mobile-nav.visible {
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    background: rgba(255, 255, 255, 0.8);
    width: 90%;
    padding-right: 12px;
    padding-left: 12px;
    border-radius: 4px;
    transform: translateY(20px);
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none;
    }
}

.mobile-nav-header {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.mobile-nav-toggle.active .menu-icon {
    display: none;
}

.mobile-nav-toggle.active .close-icon {
    display: block;
}

.mobile-nav-toggle:not(.active) .menu-icon {
    display: block;
}

.mobile-nav-toggle:not(.active) .close-icon {
    display: none;
}

.mobile-nav-menu {
    position: absolute;
    inset-x: 0;
    top: 64px;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    border-radius: 8px;
    background: white;
    padding: 32px 16px;
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link {
    position: relative;
    text-decoration: none;
    color: #52525b;
    font-size: 16px;
    display: block;
    width: 100%;
    padding: 8px 0;
}

.mobile-nav-buttons {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.mobile-nav-button {
    width: 100%;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 80px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 0;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-content h2 {
    font-size: 56px;
    line-height: 1.3;
    margin-bottom: 60px;
    color: #3BB143;
    font-weight: 400;
}

/* Flip Words Effect - Based on Aceternity UI */
.flip-words-wrapper {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    overflow: visible;
}

.flip-word {
    display: inline-block;
    position: relative;
    font-weight: 700;
    white-space: nowrap;
}

.flip-word-content {
    display: inline-block;
}

.flip-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    filter: blur(8px);
}

/* Enter animation */
.flip-enter .flip-letter {
    animation: flipLetterIn 0.2s ease forwards;
}

@keyframes flipLetterIn {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

/* Exit animation */
.flip-exit {
    animation: flipWordOut 0.4s ease forwards;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes flipWordOut {
    from {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
        filter: blur(0px);
    }
    to {
        opacity: 0;
        transform: translateY(-40px) translateX(40px) scale(2);
        filter: blur(8px);
    }
}

.hero-content p {
    margin-bottom: 20px;
    color: #5a6c7d;
    font-size: 18px;
}

.hero-subheadline {
    margin-bottom: 50px;
    color: #5a6c7d;
    font-size: 20px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-cta .corporate-btn {
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary {
    background-color: transparent;
    color: #1B3A2D;
    border: 2px solid #1B3A2D;
}

.btn-secondary:hover {
    background-color: #1B3A2D;
    color: white;
}

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

.hero-list li {
    padding-left: 25px;
    margin-bottom: 12px;
    position: relative;
    color: #5a6c7d;
    font-size: 15px;
}

.hero-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00660f;
    font-weight: bold;
}

.hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e8f5f3, #f0f8f7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95a5a6;
    overflow: hidden;
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.hero-video:hover {
    transform: scale(1.02);
}

/* Trust Signal */
.trust-signal {
    padding: 60px 80px;
    background: linear-gradient(135deg, #1B3A2D 0%, #1a3528 50%, #1B3A2D 100%);
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.trust-signal.animate {
    opacity: 1;
    transform: translateY(0);
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.trust-video-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: visible;
    background: transparent;
    margin-top: 60px;
}

.trust-video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.trust-video-label {
    position: absolute;
    top: -50px;
    left: 0;
    display: flex;
    align-items: center;
    z-index: 15;
    pointer-events: none;
}

.trust-label-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.trust-video-link {
    align-self: flex-end;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    border-radius: 8px;
    color: #1B3A2D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.trust-video-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

.trust-video-link:focus {
    outline: 2px solid #3BB143;
    outline-offset: 2px;
}

.trust-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.trust-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

.trust-play-button:focus {
    outline: 2px solid #3BB143;
    outline-offset: 2px;
}

.trust-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.95);
}

.trust-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.trust-play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.trust-play-icon {
    width: 32px;
    height: 32px;
    color: #3BB143;
    margin-left: 4px;
}

.trust-pause-button {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.trust-pause-button:focus {
    outline: 2px solid #3BB143;
    outline-offset: 2px;
}

.trust-pause-button.visible {
    opacity: 1;
    pointer-events: all;
}

.trust-pause-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.95);
}

.trust-pause-button:active {
    transform: scale(0.95);
}

.trust-pause-icon {
    width: 20px;
    height: 20px;
    color: #3BB143;
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.trust-main-text {
    color: white;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

.trust-sub-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.trust-sub-text p {
    margin: 0 0 16px 0;
}

.trust-sub-text p:last-child {
    margin-bottom: 0;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.trust-list li {
    padding-left: 24px;
    margin-bottom: 12px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
}

.trust-list li:last-child {
    margin-bottom: 0;
}

.trust-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3BB143;
    font-size: 20px;
    line-height: 1.4;
}

/* White text on green backgrounds */
.trust-signal,
footer {
    color: white;
}

/* Headlines and labels on green background (#1B3A2D) */
.trust-signal h2,
footer h2,
footer h3,
footer label {
    color: #3BB143;
}


.corporates.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

/* Team Section - Redesigned */
.team-section {
    padding: 120px 80px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.team-section h2 {
    font-size: 48px;
    margin-bottom: 35px;
    color: #3BB143;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-section.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

.team-known-from {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 60px;
    padding: 12px 24px;
    background: rgba(59, 177, 67, 0.15);
    border-radius: 9999px;
    border: 1px solid rgba(59, 177, 67, 0.35);
}

.known-from-label {
    font-size: 14px;
    color: #5a6c7d;
    font-weight: 500;
}

.known-from-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1B3A2D;
    text-decoration: none;
    transition: color 0.3s, transform 0.25s ease;
    cursor: pointer;
}

.known-from-link:hover {
    color: #3BB143;
    transform: scale(1.05);
}

.known-from-link:focus-visible {
    outline: 2px solid #3BB143;
    outline-offset: 2px;
}

.known-from-link-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.known-from-link:hover .known-from-link-icon {
    transform: translate(2px, -2px);
}


.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

.team-card {
    background: linear-gradient(135deg, #F5F0E1 0%, #f8f4e8 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-card-image-wrapper {
    margin-bottom: 24px;
}

.team-card-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-content {
    width: 100%;
}

.team-card-name {
    font-size: 28px;
    font-weight: 600;
    color: #3BB143;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.team-card-position {
    font-size: 16px;
    font-weight: 600;
    color: #00660f;
    margin: 0 0 16px 0;
}

.team-card-description {
    font-size: 16px;
    line-height: 1.7;
    color: #5a6c7d;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Apple Cards Carousel */
.carousel-section {
    padding: 80px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-heading {
    font-size: 48px;
    margin-bottom: 16px;
    color: #3BB143;
    line-height: 1.4;
    text-align: center;
    padding: 0 20px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-subheading {
    font-size: 18px;
    color: #6b7280;
    text-align: center;
    padding: 0 20px;
    max-width: 720px;
    margin: 0 auto 60px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}

.carousel-section.animate .carousel-subheading {
    opacity: 1;
    transform: translateY(0);
}

.carousel-section.animate .carousel-heading {
    opacity: 1;
    transform: translateY(0);
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 40px 0;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 0 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.carousel-card {
    flex-shrink: 0;
    width: 224px;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.carousel-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-card:hover {
    transform: translateY(-4px);
}

.carousel-card.animate:hover {
    transform: translateY(-8px);
}

@media (min-width: 768px) {
    .carousel-card {
        width: 384px;
        height: 640px;
    }
}

.carousel-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: white;
    background-size: cover;
    background-position: center top;
}

.carousel-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    z-index: 1;
}

.carousel-card-content {
    position: relative;
    z-index: 2;
}

.carousel-card-ai-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.carousel-card-category {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .carousel-card-category {
        font-size: 16px;
    }
}

.carousel-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .carousel-card-title {
        font-size: 30px;
    }
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 20px;
    margin-top: 20px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-btn {
    position: relative;
    z-index: 40;
    display: flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s, background 0.3s;
    color: #6b7280;
}

.carousel-btn:hover {
    background: #e5e7eb;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

/* Modal */
.carousel-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    box-sizing: border-box;
    max-width: 100vw;
}

.carousel-modal.open {
    display: block;
}

.carousel-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    animation: fadeIn 0.3s ease;
}

.carousel-modal-content {
    position: relative;
    z-index: 60;
    max-width: 896px;
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    background: white;
    padding: 16px;
    box-sizing: border-box;
    animation: slideUp 0.3s ease;
}

@media (min-width: 768px) {
    .carousel-modal {
        padding: 40px;
    }
    .carousel-modal-content {
        padding: 40px;
    }
}

.carousel-modal-close {
    position: sticky;
    top: 16px;
    margin-left: auto;
    display: flex;
    height: 32px;
    width: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #000;
    border: none;
    cursor: pointer;
    color: white;
    margin-bottom: 16px;
}

.carousel-modal-close svg {
    width: 24px;
    height: 24px;
}

.carousel-modal-category {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 16px;
}

.carousel-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 40px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .carousel-modal-title {
        font-size: 48px;
    }
}

.carousel-modal-body {
    padding: 40px 0;
    color: #52525b;
    font-size: 16px;
    line-height: 1.8;
}

.carousel-modal-cta {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 14px 24px;
    background: #3BB143;
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.carousel-modal-cta:hover {
    background: #2e9436;
}

.modal-content-card {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .modal-content-card {
        padding: 56px;
        border-radius: 24px;
    }
}

.modal-content-text {
    color: #52525b;
    font-size: 16px;
    line-height: 1.8;
    max-width: 768px;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (min-width: 768px) {
    .modal-content-text {
        font-size: 18px;
    }
}

.modal-content-text .font-bold {
    font-weight: 700;
    color: #374151;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wobble Cards Section */
.wobble-section {
    padding: 120px 80px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.wobble-section h2 {
    font-size: 48px;
    margin-bottom: 35px;
    color: #3BB143;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.wobble-section.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

.wobble-section-intro {
    color: #5a6c7d;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 20px;
}

.wobble-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .wobble-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wobble-card {
    position: relative;
    width: 100%;
    background: #6366f1;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.wobble-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.wobble-card:nth-child(1) {
    background: linear-gradient(135deg, #1B3A2D 0%, #2d5a47 100%);
}

.wobble-card:nth-child(2) {
    background: linear-gradient(135deg, #00660f 0%, #1B3A2D 100%);
}

.wobble-card:nth-child(3) {
    background: linear-gradient(135deg, #3BB143 0%, #00660f 100%);
}

.wobble-card-inner {
    position: relative;
    height: 100%;
    min-height: 300px;
    background-image: radial-gradient(88% 100% at top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(34, 42, 53, 0.12), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.05), 0 4px 6px rgba(34, 42, 53, 0.08), 0 24px 108px rgba(47, 48, 55, 0.10);
}

.wobble-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: transform 0.1s ease-out;
}

.wobble-card-icon {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.wobble-card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

@media (min-width: 768px) {
    .wobble-card-title {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    .wobble-card-title {
        font-size: 32px;
    }
}

.wobble-card-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
}

.wobble-card-noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 2px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 2px);
    background-size: 30% 30%;
    mask-image: radial-gradient(#fff, transparent, 75%);
    pointer-events: none;
    z-index: 1;
}

/* Corporates Section (kept for other sections) */
.corporates {
    padding: 120px 80px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.corporates h2 {
    font-size: 48px;
    margin-bottom: 35px;
    color: #3BB143;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.corporates-intro {
    color: #5a6c7d;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 20px;
}

.corporates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.corporate-card {
    background: linear-gradient(135deg, #F5F0E1 0%, #f8f4e8 100%);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.corporate-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.corporate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 102, 15, 0.15), rgba(0, 102, 15, 0.25));
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00660f;
    font-size: 14px;
}

.corporate-card h3 {
    font-size: 26px;
    margin-bottom: 25px;
    color: #3BB143;
    line-height: 1.4;
}

.corporate-card p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 18px;
}

.corporate-btn {
    background-color: #1B3A2D;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.corporate-btn:hover {
    background-color: #0f251c;
}

/* Mobile Menu Toggle */
/* Responsive Design */
@media (max-width: 768px) {

    .hero {
        grid-template-columns: 1fr;
        padding: 80px 30px;
        gap: 40px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .corporates h2 {
        font-size: 32px;
    }

    .corporates {
        padding: 80px 30px;
    }

    .corporates-grid {
        grid-template-columns: 1fr;
    }

    body::before {
        width: 500px;
        height: 500px;
        top: -150px;
        left: -200px;
    }

    body::after {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero,
    .corporates {
        padding: 60px 20px;
    }

    .hero-content h2,
    .corporates h2 {
        font-size: 20px;
    }
}

/* Minigame Section */
.minigame-section {
    padding: 120px 80px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.minigame-heading {
    font-size: 36px;
    margin-bottom: 60px;
    color: #3BB143;
    line-height: 1.4;
    font-weight: 600;
}

.minigame-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.wheat-field {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    background: linear-gradient(180deg, #87CEEB 0%, #87CEEB 30%, #D2B48C 30%, #D2B48C 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 3px solid #8B7355;
    outline: none;
    cursor: pointer;
}

.wheat-field:focus {
    outline: 3px solid #3BB143;
    outline-offset: 2px;
}

/* Virtual Joystick for Mobile */
.joystick-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    display: none;
}

@media (max-width: 768px) {
    .joystick-container {
        display: block;
    }
}

.joystick-base {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 3px solid rgba(59, 177, 67, 0.3);
}

.joystick-stick {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3BB143 0%, #00660f 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease;
    cursor: grab;
    touch-action: none;
}

.joystick-stick:active {
    cursor: grabbing;
}

.minigame-hint {
    font-size: 18px;
    color: #5a6c7d;
    margin-bottom: 30px;
    font-weight: 500;
}

.harvester {
    position: absolute;
    width: 196px;
    height: 118px;
    z-index: 10;
    transition: left 0.15s ease, top 0.15s ease;
    user-select: none;
    pointer-events: none;
}

.harvester-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.wheat-row {
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wheat-icon {
    font-size: 32px;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wheat-icon[data-harvested="true"] {
    opacity: 0.2;
    transform: scale(0.5);
}

/* Sky ends at 30%, so all wheat rows must start at 35% or higher */
.wheat-row:nth-child(3) {
    top: 35%;
}

.wheat-row:nth-child(4) {
    top: 43%;
}

.wheat-row:nth-child(5) {
    top: 51%;
}

.wheat-row:nth-child(6) {
    top: 59%;
}

.wheat-row:nth-child(7) {
    top: 67%;
}

.wheat-row:nth-child(8) {
    top: 75%;
}

.wheat-row:nth-child(9) {
    top: 83%;
}

.wheat-row:nth-child(10) {
    top: 91%;
}

.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    z-index: 1000;
    opacity: 0;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.toast.show {
    bottom: 40px;
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    font-size: 24px;
}

.toast-message {
    font-size: 16px;
    font-weight: 600;
    color: #1B3A2D;
}

@media (max-width: 768px) {
    .minigame-section {
        padding: 80px 30px;
    }

    .minigame-heading {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .minigame-hint {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .wheat-field {
        height: 400px;
    }

    .harvester {
        width: 154px;
        height: 92px;
    }

    .wheat-icon {
        font-size: 24px;
    }

    .joystick-container {
        bottom: 15px;
        right: 15px;
    }

    .joystick-base {
        width: 100px;
        height: 100px;
    }

    .joystick-stick {
        width: 45px;
        height: 45px;
    }

    .toast {
        padding: 16px 24px;
        max-width: 90%;
    }

    .toast-message {
        font-size: 14px;
    }
}

/* Legal / Impressum page — height follows content (no full-viewport stretch) */
body.legal-page::before,
body.legal-page::after {
    content: none;
}

.legal-page .bg-shape-1 {
    width: 260px;
    height: 260px;
    top: 72px;
    left: -70px;
}

.legal-page .bg-shape-2 {
    width: 300px;
    height: 300px;
    top: 48px;
    right: -90px;
    left: auto;
}

.legal-page .bg-shape-3 {
    width: 340px;
    height: 340px;
    top: 280px;
    left: -120px;
}

.legal-page .bg-shape-4 {
    width: 280px;
    height: 280px;
    top: 420px;
    bottom: auto;
    right: -80px;
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(227, 230, 211, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(27, 58, 45, 0.12);
}

.legal-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000;
}

.legal-header-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.legal-header-title {
    font-size: 20px;
    font-weight: 500;
}

.legal-header-back {
    font-size: 15px;
    font-weight: 600;
    color: #1B3A2D;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.2s, color 0.2s;
}

.legal-header-back:hover {
    background: #fff;
    color: #3BB143;
}

.legal-main {
    max-width: 42rem;
    margin: 0 auto;
    padding: 40px 24px 48px;
    position: relative;
    z-index: 1;
}

.legal-main h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1B3A2D;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1B3A2D;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.65;
    color: #2c3e50;
}

.legal-section a {
    color: #00660f;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: #3BB143;
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1B3A2D;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.legal-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.legal-section ul,
.legal-section ol {
    margin: 0.4rem 0 0.75rem 1.5rem;
    line-height: 1.65;
    color: #2c3e50;
    font-size: 1rem;
}

@media (max-width: 480px) {
    .legal-header {
        padding: 12px 16px;
    }

    .legal-main {
        padding-top: 32px;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1B3A2D 0%, #1a3528 50%, #1B3A2D 100%);
    color: white;
    padding: 60px 80px 30px;
    position: relative;
    z-index: 10;
    margin-top: 100px;
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding-top: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

/* Contact Form */
/* Contact Form - Aceternity UI Style */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(34, 42, 53, 0.06), 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(34, 42, 53, 0.04), 0 0 4px rgba(34, 42, 53, 0.08), 0 16px 68px rgba(47, 48, 55, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.contact-form.animate {
    opacity: 1;
    transform: translateY(0);
}

.label-input-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    line-height: 1;
}

/* Input Wrapper with animated gradient */
.input-wrapper,
.textarea-wrapper {
    position: relative;
    border-radius: 8px;
    padding: 2px;
    transition: background 0.3s;
    background: transparent;
    overflow: hidden;
}

.input-wrapper::before,
.textarea-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: radial-gradient(100px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.4), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.input-wrapper:hover::before,
.textarea-wrapper:hover::before {
    opacity: 1;
}

.form-input,
.form-textarea {
    position: relative;
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: none;
    background: #f9fafb;
    padding: 10px 12px;
    font-size: 14px;
    color: #000;
    transition: all 0.4s;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    z-index: 1;
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
    background: white;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

/* Submit Button with Gradient */
.form-submit-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(to bottom right, #000, #525252);
    color: white;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset, 0px -1px 0px 0px rgba(255, 255, 255, 0.25) inset;
    margin-top: 8px;
    overflow: hidden;
}

.form-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset, 0px -1px 0px 0px rgba(255, 255, 255, 0.25) inset, 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.bottom-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, #06b6d4, transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.form-submit-btn:hover .bottom-gradient {
    opacity: 1;
}

.bottom-gradient::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 1px;
    width: 50%;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, #6366f1, transparent);
    opacity: 0;
    filter: blur(4px);
    transition: opacity 0.5s;
}

.form-submit-btn:hover .bottom-gradient::before {
    opacity: 1;
}

.form-privacy-hint {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 12px;
}

.form-privacy-hint a {
    color: #9ca3af;
    text-decoration: underline;
    transition: color 0.3s;
}

.form-privacy-hint a:hover {
    color: #5a6c7d;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Stagger animation for cards */
.corporate-card:nth-child(1) { transition-delay: 0.1s; }
.corporate-card:nth-child(2) { transition-delay: 0.2s; }
.corporate-card:nth-child(3) { transition-delay: 0.3s; }
.corporate-card:nth-child(4) { transition-delay: 0.4s; }

@media (max-width: 768px) {
    .contact-form {
        padding: 24px;
        border-radius: 0;
    }
    
    .trust-signal {
        padding: 50px 30px;
    }

    .trust-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-video-wrapper {
        order: 2;
    }

    .trust-content {
        order: 1;
    }

    .trust-play-button {
        width: 70px;
        height: 70px;
    }

    .trust-play-icon {
        width: 28px;
        height: 28px;
    }

    .trust-pause-button {
        width: 36px;
        height: 36px;
        bottom: 12px;
        left: 12px;
    }

    .trust-pause-icon {
        width: 14px;
        height: 14px;
    }

    .trust-video-container {
        gap: 20px;
        flex-direction: column;
    }

    .trust-video-wrapper {
        margin-top: 70px;
        order: 1;
    }

    .trust-video-label {
        top: -60px;
    }

    .trust-label-text {
        font-size: 16px;
    }

    .trust-video-link {
        order: 2;
        align-self: stretch;
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        gap: 12px;
    }

    .hero-cta .corporate-btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        align-items: flex-start;
    }

    footer {
        padding: 40px 30px 20px;
    }
}

