/* Color Variables */
:root {
    --primary-blue: #3FAFE3;
    --sage-green: #BCC9B5;
    --gradient-bottom-green: #9ABB9D;
    --yellow: #F7D057;
    --brown-gold: #BC883B;
    --dark-brown: #5B2810;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F8F9FA;
    --medium-gray: #6B7280;
}


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

body {
    font-family: "Nunito Sans", sans-serif;
    line-height: 1.6;
    color: var(--dark-brown);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 2rem;  /* Reduced from 1rem */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;  /* Reduced from 1.5rem */
    font-weight: 800;
    color: var(--primary-blue);
}

.logo a {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 1rem;
}

.logo-img {
    height: 35px;  /* Reduced from 40px */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--medium-gray);  /* Changed from var(--dark-brown) */
    font-weight: 500;
    font-size: 0.95rem;  /* Added slightly smaller font */
    transition: color 0.3s ease;
}

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

.cta-button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.6rem 1.25rem;  /* Reduced from 0.75rem 1.5rem */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;  /* Added slightly smaller font */
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--brown-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(63, 175, 227, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gradient-bottom-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 160px 2rem 4rem;  /* Increased from 120px to 160px */
}.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0,1000 C200,800 400,600 600,700 C800,800 900,500 1000,600 L1000,1000 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.hero-brand {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.05em;
}

.hero-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.app-store-btn {
    display: inline-flex;
    align-items: center;
    background: var(--yellow);
    color: var(--dark-brown);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--yellow);
}

.app-store-btn:hover {
    background: var(--brown-gold);
    color: var(--white);
    border-color: var(--brown-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

/* Value Propositions Section */
.value-props {
    padding: 6rem 2rem;
    background: var(--sage-green);
    color: var(--dark-brown);
}

.value-props-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--dark-brown);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.value-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.value-card {
  display: flex;
  flex-flow: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(63, 175, 227, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(225deg, var(--primary-blue), var(--sage-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  text-align: center;
}

.value-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-brown);
  text-align: center;
}

.value-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

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

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
  flex-flow: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--brown-gold);
    box-shadow: 0 20px 40px rgba(188, 136, 59, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(225deg, var(--primary-blue), var(--sage-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--brown-gold) 100%);
    color: var(--white);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

#beta-signup {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

/* Ensure inputs and selects have consistent styling */
input[type="email"],
input[type="text"],
select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit; /* Important for consistent font */
  background: white;
  transition: border-color 0.3s;
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}

/* Fix for select dropdown appearance */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem; /* Space for the arrow */
}

input:focus,
select:focus {
  outline: none;
  border-color: #4A90E2; /* Your INVIO blue */
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: #4A90E2; /* Your INVIO blue */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  font-family: inherit;
}

button[type="submit"]:hover {
  background: #357ABD;
  transform: translateY(-1px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

button[type="submit"]:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Checkbox styling for GDPR consent */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-label a {
  color: #4A90E2;
  text-decoration: underline;
}

/* Error state (optional) */
input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

/* Mobile responsive */
@media (max-width: 600px) {
  #beta-signup {
    padding: 1rem;
  }
  
  input[type="email"],
  input[type="text"],
  select {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

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

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

.contact-section h2 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--sage-green);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--sage-green);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sage-green);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.contact-links a:hover {
    color: var(--yellow);
}

.footer-divider {
    height: 1px;
    background: var(--brown-gold);
    margin: 3rem 0 2rem;
}

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

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

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

.copyright {
    color: var(--sage-green);
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}
/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 1rem;  /* Even smaller on mobile */
    }

    .logo-img {
        height: 30px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 120px 2rem 3rem;  /* Increased from 100px */
    }

    .hero-logo {
        width: 150px;
    }

    .hero-brand {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .features-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

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