@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

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

body {
    background-color: #0f1a14;
}

nav {
    width: 100%;
    height: 75px;
    background-color: #1a4434;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgb(126, 236, 147);
    font-size: 48px;
    justify-self: flex-start;
    margin: 0 100px 0 100px;
    letter-spacing: 4px;
}

.photo-container {
    display: flex;
}

.photo-container img {
    flex: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    opacity: 0.85;
}

.first-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 300px;
    padding: 80px 20%;
    background-color: #1a4434;
}

.second-box {
    display: flex;
    width: 100%;
    height: 550px;
    padding: 80px 10%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.second-box-about {
  display: flex;
    width: 100%;
    height: 650px;
    padding: 30px 10%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.second-box-ai {
  display: flex;
    width: 100%;
    height: 700px;
    padding: 30px 10%;
    background-color: white;
    flex-direction: column;
    align-items: center;
}

.description {
    color: #d0ddd0;
    text-align: center;
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 22px;
    line-height: 1.6;
    max-width: 800px;
}

.features {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #1a4434;
    border: 1px solid #2a4a30;
    border-radius: 6px;
    padding: 40px 30px;
    width: 300px;
    height: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    font-size: 40px;
    color: rgb(126, 236, 147);
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: rgb(126, 236, 147);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.feature-card p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #a0b0a0;
    letter-spacing: 0.5px;
}

.cta-button {
    background-color: #1a4434;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 400;
    padding: 15px 60px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 3px;
    transition: background-color 0.2s;
}

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

ul {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #c0d0c0;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 22px;
    letter-spacing: 2px;
    transition: color 0.2s;
}

a:hover {
    color: rgb(126, 236, 147);
}

footer {

  width: 100%;
  height: 65px;
  background-color: #1a4434;
  font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
}

.footer-a {
  font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: white;
}

.week-circles {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #1a4434;
    background-color: transparent;
}

.circle.filled {
    background-color: rgb(71, 145, 85);
    border-color: #1a4434;
}

.streak-info {
    text-align: center;
    font-family: "Lato", sans-serif;
    color: #1a4434;
    margin-top: 20px;
}

.streak-count {
    font-size: 28px;
    font-weight: 700;
}

.streak-total {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    margin-top: 5px;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.slip-btn:hover {
  background-color: #1a4434;
  color: white;
}

.clean-btn {
    background-color: #1a4434;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 400;
    padding: 15px 60px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 3px;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.clean-btn:hover {
    background-color: #1e4f3c;
    color: rgb(126, 236, 147);

}

.slip-btn {
    background-color: transparent;
    color: #1a4434;
    border: 2px solid #1a4434;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    cursor: pointer;
}

.impulse-btn {
    background-color: rgb(77, 182, 96);
    color: #0f1a14;
    border: none;
    padding: 15px 50px;
    border-radius: 4px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    letter-spacing: 3px;
    cursor: help;
}

.impulse-btn:hover {
  background-color: darkred;
  color: white;
}

.counter {
  display: flex;
  flex-direction: row;
  gap: 50px;
  margin-top: 70px;
  font-family: "Bebas Neue", sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    color: lightgreen;
}

span {
  font-size: 20px;
  color: white;
}
.about-content {
    max-width: 800px;
    display: flex;
    justify-content: center;  
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

.about-section h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #1a4434;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.about-section p {
    font-family: "Lato", sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: #333;
    line-height: 1.7;
}

.breathe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #143629;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.8s ease;
}

.breathe-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    color: #7f9a8c;
    letter-spacing: 8px;
    animation: breathe 10s ease-in-out infinite;
}

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

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.chat-container {
    width: 100%;
    max-width: 750px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 25px;
    background-color: #f8faf8;
    border: 1px solid #c8d6c8;
    border-radius: 8px;
}

.msg {
    max-width: 70%;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    word-wrap: break-word;
}

.msg-user {
    align-self: flex-end;
    background-color: #1a4434;
    color: white;
}

.msg-ai {
    align-self: flex-start;
    background-color: white;
    color: #1a4434;
    border: 1px solid #d8e4d8;
}

.msg-enter {
    animation: fadeIn 0.3s ease;
}

.chat-typing {
    display: flex;
    gap: 6px;
    padding: 10px 20px;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #1a4434;
    animation: blink 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0%, 80%, 100% { opacity: 0.2; }
    40% { opacity: 1; }
}

.chat-form {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

#chat-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #1a4434;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;

}

#chat-input:focus {
    border-color: rgb(126, 236, 147);
}

#clear-btn {
  margin-top: 40px;
   background-color: #1a4434;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 400;
    padding: 15px 60px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 3px;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

#clear-btn:hover {
  background-color: #1e4f3c;
    color: rgb(126, 236, 147);

}