/* Global Styles */
:root {
    --primary-bg: #efebe6;
    --text-color: #5c3e3e;
    --accent-color: #be8a00;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibri', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo img {
    height: 40px;
    /* Add fallback styles */
    background-color: #efebe6;
    min-width: 120px;
}

.logo img::before {
    content: "Walnut";
    color: var(--text-color);
    font-weight: bold;
    display: inline-block;
    padding: 10px;
}

/* Hamburger Menu - Hidden on desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.cta-button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #a67a00;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    margin-right: 1rem;
    z-index: 1002;
}

.language-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem;
    user-select: none;
}

.language-options {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    min-width: 120px;
    z-index: 1005;
    border: 1px solid #e0e0e0;
}

.language-options.active {
    display: flex;
}

.lang-option {
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
    display: block;
    text-align: left;
}

.lang-option:hover {
    background-color: var(--gray);
}

.lang-option.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.secondary-button {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.primary-button:hover {
    background-color: #a67a00;
}

.secondary-button:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.demo-video {
    margin: 4rem auto;
    max-width: 800px;
}

/* Video placeholders */
.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #f0f0f0;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(190, 138, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 24px;
}

.video-placeholder:hover .play-button {
    background-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Benefits Section */
.benefits-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background-color: var(--gray);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.benefit-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Why Walnut Section */
.why-walnut {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.why-walnut h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-content p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Product Section */
.product {
    padding: 6rem 2rem;
}

.product h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.product-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pillar h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.pillar ul {
    list-style-position: inside;
    margin-top: auto;
}

.pillar li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1rem;
    list-style-type: none;
}

.pillar li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Team Section */
.team {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    display: block;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.role {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.quote {
    font-style: italic;
    color: var(--dark-gray);
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-column {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-column.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.pricing-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.pricing-column ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-column li {
    margin-bottom: 0.5rem;
}

.pricing-button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.pricing-button:hover {
    background-color: #a67a00;
}

.trial-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.newsletter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.newsletter input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 25px;
    width: 300px;
}

.newsletter button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #a67a00;
}

.legal {
    text-align: center;
    font-size: 0.9rem;
}

.legal a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .team-grid, .pricing-table, .pillars-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .hamburger-menu {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  
  .nav-overlay.active {
    display: block;
  }
  
  /* Hamburger menu animation */
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Hero Section */
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Grids to stacks */
  .team-grid, .pricing-table, .pillars-container {
    grid-template-columns: 1fr;
  }
  
  .pricing-column.featured {
    transform: scale(1);
  }
  
  /* Footer */
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .newsletter {
    flex-direction: column;
  }
  
  .newsletter input {
    width: 100%;
  }
  
  /* Language dropdown */
  .language-dropdown {
    margin: 0 0 1.5rem 0;
    align-self: flex-start;
    width: 100%;
  }
  
  .language-options {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    border: 1px solid #eee;
  }

  .language-btn {
    font-size: 1.1rem;
    padding: 0.7rem 0;
  }
  
  .lang-option {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .lang-option:last-child {
    border-bottom: none;
  }
  
  /* Video placeholders for mobile */
  .play-button {
    width: 50px;
    height: 50px;
  }
  
  .play-button i {
    font-size: 20px;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
  
  .video-wrapper iframe {
    width: 100%;
  }
}

@media (max-width: 480px) {
  /* Very small screens */
  .nav-container {
    padding: 0.8rem 1rem;
  }
  
  .hero {
    padding: 7rem 1rem 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Language dropdown positioning */
  .language-dropdown {
    position: static;
    margin: 0 0 15px 0;
  }
  
  .language-options {
    top: auto;
    left: 2rem;
    right: 2rem;
    width: calc(100% - 4rem);
  }
  
  /* CTA button */
  .cta-button {
    width: 100%;
    text-align: center;
  }
  
  .logo img {
    height: 30px; /* Slightly smaller on mobile */
  }
}

/* Demo Section */
.demo {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.demo h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.demo-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-stage {
    background-color: var(--primary-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.demo-stage h3 {
    color: var(--white);
    background-color: var(--accent-color);
    padding: 1.2rem 1.5rem;
    margin: 0;
    font-size: 1.4rem;
}

.demo-stage p {
    padding: 1rem 1.5rem;
    margin: 0;
    color: var(--text-color);
}

.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* Update Nav Links to include Demo */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Add responsive styling for demo section */
@media (max-width: 768px) {
    .demo-stage h3 {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }
    
    .demo-stage p {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .video-wrapper iframe {
        height: 240px;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-accept {
    background-color: var(--accent-color);
    color: white;
}

.cookie-decline {
    background-color: #555;
    color: white;
}

.video-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

.video-consent-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
} 