/* Global Styles */
:root {
    --primary-color: #455FB5;
    --primary-light: #f0eeff;
    --secondary-color: #333333;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    --gradient: linear-gradient(135deg, #f5f7fa 0%, #e3eeff 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-type: none;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn img {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.btn-primary {
    background-color: #000;
    color: white;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background-color: white;
    color: var(--text-color);
    border: 1px solid #eaeaea;
}

.btn-secondary:hover {
    background-color: #f9f9f9;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.divider {
    height: 1px;
    background-color: #eaeaea;
    margin: 80px 0;
    width: 100%;
}

.emoji {
    font-size: 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
}

/* Header Styles */
header {
    padding: 25px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-cta {
    font-size: 0.9rem;
    padding: 10px 16px;
}

/* Remove old navigation styles */
nav, 
.mobile-nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--gradient);
    border-radius: 0 0 80px 80px;
    margin-bottom: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: var(--box-shadow);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.phone-frame {
    position: relative;
    width: 100%;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 10px solid #333;
    aspect-ratio: 9/19;
}

.phone-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phone-header {
    position: relative;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    padding: 0 10px;
}

.app-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.profile-circle {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.welcome-text p {
    margin: 0;
    font-size: 14px;
    color: var(--light-text);
}

.welcome-text .username {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 4px;
}

.journal-card {
    background-color: var(--primary-light);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.journal-card h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.journal-card .recording-status {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.journal-card p {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
}

.journal-card button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 0;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
}

.mood-card {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mood-card h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
}

.emoji-row {
    display: flex;
    justify-content: space-between;
}

.emoji-row span {
    font-size: 20px;
}

.activity-title {
    font-size: 18px;
    margin: 10px 0;
}

.stats-row {
    display: flex;
    gap: 15px;
}

.stat-card {
    flex: 1;
    background-color: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card p {
    margin: 0;
    font-size: 14px;
    color: var(--light-text);
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 5px;
}

/* Pain Points Section */
.pain-points {
    padding: 60px 0;
}

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

.questions p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.highlight {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

/* Problem Section */
.problem {
    padding: 60px 0;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

.problem .container {
    max-width: 800px;
}

.problem h2 {
    text-align: center;
    margin-bottom: 40px;
}

.subtext {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.reason-boxes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.reason-box {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.reason-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.reason-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin-right: 20px;
    font-size: 24px;
}

.reason-box p {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.result {
    margin-top: 40px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Consequences Section */
.consequences {
    padding: 60px 0;
}

.consequences .container {
    max-width: 800px;
}

.consequences h2 {
    margin-bottom: 40px;
}

.consequences ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.consequences ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    text-align: center;
}

.solution h2 {
    margin-bottom: 16px;
}

.solution .subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.icon-circle img {
  width: 40px;
  height: 40px;
}

.feature-item p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
}

/* Result Box */
.result-box {
  background: linear-gradient(135deg, var(--primary-color), #8b7ff6);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  color: white;
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

.result-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.result-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.result-box p {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  margin: 0;
  opacity: 0.95;
}

.arrow-connector {
    display: none; /* Hide vertical arrows on mobile */
}

/* Results Section */
.results {
    padding: 80px 0;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

.results .container {
    max-width: 1100px;
}

.results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.results-image {
    display: flex;
    justify-content: center;
}

.results-text {
    text-align: left;
}

.results .highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0 20px;
    line-height: 1.4;
}

.results p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.pricing {
    margin-top: 30px;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.pricing p {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    text-align: center;
}

.benefits h2 {
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.benefit-item .emoji {
    margin-bottom: 20px;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Screenshots Section */
.screenshots {
    padding: 60px 0;
    text-align: center;
}

.screenshot-slider {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}

.screenshot-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 20px 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

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

.screenshot {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    position: relative;
}

.screenshot .phone-mockup {
    max-width: 100%;
    margin: 0 auto;
    width: 280px; /* Set a fixed width for the phone mockup on larger screens */
}

.screenshot .phone-frame {
    border-radius: 30px;
    border-width: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
}

.scroll-indicator {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.scroll-progress-container {
    position: relative;
    width: 60%;
    max-width: 300px;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: height 0.2s ease;
}

.scroll-progress-container:hover {
    height: 8px;
}

.scroll-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: width 0.1s linear;
    box-shadow: 0 0 5px rgba(114, 105, 239, 0.5);
}

/* New styles for daily insights */
.insights-card {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.insights-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.insights-header span:first-child {
    font-weight: 600;
}

.insights-header span:last-child {
    color: var(--light-text);
    font-size: 14px;
}

.insight-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.insight-item:last-child {
    border-bottom: none;
}

.insight-icon {
    font-size: 24px;
    margin-right: 15px;
}

.insight-info p {
    margin: 0;
}

.insight-title {
    font-weight: 600;
    font-size: 14px;
}

.insight-desc {
    font-size: 12px;
    color: var(--light-text);
}

/* Settings screen styles */
.settings-list {
    background-color: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-title {
    font-weight: 500;
}

.settings-value {
    color: var(--light-text);
    font-size: 14px;
}

.settings-toggle {
    width: 40px;
    height: 24px;
    background-color: #eee;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.settings-toggle:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.settings-toggle.active {
    background-color: var(--primary-color);
}

.settings-toggle.active:before {
    left: 18px;
}

.profile-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-circle.large {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.profile-name {
    font-weight: 600;
    margin-bottom: 15px;
}

.edit-profile-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

/* Countdown Section */
.countdown {
    padding: 80px 0;
    background: var(--gradient);
    border-radius: 80px 80px 0 0;
    text-align: center;
}

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

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.final-cta .free-trial {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.final-cta .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

@media (max-width: 768px) {
    .screenshots {
        padding: 40px 0;
    }
    
    .screenshot {
        flex: 0 0 90%; /* Make each screenshot take full container width */
        width: 100%; /* Add padding for spacing */
        scroll-snap-align: center;
    }
    
    .screenshot-wrapper {
        padding: 20px 0;
    }
    
    .screenshot .phone-mockup {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .timer {
        gap: 10px;
    }
    
    .time {
        font-size: 2.5rem;
    }
    
    .separator {
        font-size: 2.5rem;
    }
    
    .countdown .container {
        gap: 40px;
    }
    
    .reason-box {
        padding: 15px;
    }
    
    .reason-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 15px;
        font-size: 20px;
    }
    
    .reason-box p {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
}

.copyright {
    margin-top: 20px;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .header-nav.active {
        transform: translateY(0);
    }
    
    .header-nav .header-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 60px;
    }
    
    .header-nav .terms-link {
        padding: 10px 0;
        text-align: center;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .header-nav .header-cta {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    header .container {
        justify-content: space-between;
    }
}

/* Responsive Styles */
@media (min-width: 768px) {
    .reason-boxes {
        flex-direction: row;
        gap: 20px;
    }
    
    .reason-box {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .reason-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .reason-box p {
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 50px; /* Increased horizontal gap for arrows */
        align-items: start;
        position: relative;
    }
    
    .feature-item {
        grid-column: span 1;
        position: relative;
    }
    
    /* Reset all arrows first */
    .feature-item:after {
        display: none;
    }
    
    /* Show arrows between specified steps (1→2, 2→3, 4→5, 5→6) */
    .feature-item:nth-child(1):after,
    .feature-item:nth-child(2):after,
    .feature-item:nth-child(4):after,
    .feature-item:nth-child(5):after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: -35px;
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%237269ef' d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/></svg>");
        background-repeat: no-repeat;
        background-position: center;
        z-index: 10;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .countdown .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 40px;
    }
    
    .phone-mockup {
        max-width: 280px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .screenshot {
        width: calc(50% - 15px);
    }
    
    .results-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .results-text {
        text-align: center;
        order: 0;
    }
    
    .results-image {
        order: 1;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        max-width: 240px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Remove the full-width button style */
    .btn {
        width: auto;
        display: inline-flex;
    }
    
    .header-cta {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Additional App Mockup Styles */
.chart-title,
.settings-title {
    font-size: 18px;
    margin: 10px 0 15px;
}

.chart-card {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.chart-header span:first-child {
    font-weight: 600;
}

.chart-header span:last-child {
    color: var(--light-text);
    font-size: 14px;
}

.chart-placeholder {
    height: 200px;
    background: linear-gradient(to bottom right, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.chart-placeholder:before {
    content: "";
    position: absolute;
    top: 30px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 40px 0 rgba(255, 255, 255, 0.5), 0 80px 0 rgba(255, 255, 255, 0.5), 0 120px 0 rgba(255, 255, 255, 0.5);
}

.chart-placeholder:after {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 40px;
    width: 60%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

.chart-stats {
    display: flex;
    justify-content: space-between;
}

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

.chart-stat p {
    margin: 0;
    font-size: 14px;
    color: var(--light-text);
}

.journal-history-card {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.journal-history-card h3 {
    font-size: 16px;
    margin: 0 0 20px 0;
}

.history-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.history-day {
    width: 40px;
    font-size: 14px;
    color: var(--light-text);
}

.history-bar {
    flex: 1;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
}

.history-bar.completed {
    background-color: var(--primary-color);
}

.history-bar.active {
    background: linear-gradient(to right, var(--primary-color) 70%, #eee 70%);
}

.schedule-card {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.schedule-header h3 {
    font-size: 16px;
    margin: 0 0 20px 0;
}

.schedule-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.schedule-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.schedule-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.option-label {
    font-weight: 600;
}

.option-desc {
    font-size: 14px;
    color: var(--light-text);
}

.save-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 0;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
}

.tips-card {
    background-color: var(--primary-light);
    border-radius: 20px;
    padding: 20px;
}

.tips-card h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.tips-card p {
    font-size: 14px;
    margin: 0;
}

/* Terms of Use Page Styles */
.terms-content {
  padding: 80px 0;
  background-color: #fff;
}

.terms-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.terms-content .last-updated {
  color: #666;
  margin-bottom: 3rem;
}

.terms-section {
  margin-bottom: 2.5rem;
}

.terms-section h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.terms-section p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.terms-section .welcome-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
}

.terms-section ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.terms-section li {
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.terms-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-section a:hover {
  color: #5a4fd8;
}

.terms-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .terms-content {
    padding: 40px 0;
  }
  
  .terms-content h1 {
    font-size: 2rem;
  }
  
  .terms-section h2 {
    font-size: 1.3rem;
  }
  
  .terms-divider {
    margin: 2rem 0;
  }
}

/* Header Links */
.header-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.terms-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.terms-link:hover {
  color: #333;
}

/* Legal Content Styles */
.legal-content {
  padding: 80px 0;
  background-color: var(--light-bg);
  min-height: 100vh;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin: 2.5rem 0 1rem 0;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin: 2rem 0 1rem 0;
}

.legal-content h4 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin: 1.5rem 0 0.5rem 0;
}

.legal-content p {
  color: var(--light-text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.legal-content ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  color: var(--light-text);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: #5a4fd8;
  text-decoration: underline;
}

.legal-content .welcome-text {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 2rem;
}

.legal-content .last-updated {
  color: #999;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 3rem;
  font-style: italic;
}

/* FAQ Styles */
.faq-section {
  margin-bottom: 3rem;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--light-text);
}

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-method {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.contact-method h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contact-method p {
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

/* Warning Box */
.warning-box {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.warning-box h2 {
  color: #856404;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.warning-box p, .warning-box li {
  color: #856404;
}

/* Deletion Steps */
.deletion-steps {
  margin: 2rem 0;
}

.step {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-color);
}

.step h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.step p {
  margin-bottom: 0;
  color: var(--light-text);
}

/* CTA Section */
.cta-section {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

/* Deletion Confirmation */
.deletion-confirmation {
  padding: 80px 0;
  background-color: var(--light-bg);
  min-height: 100vh;
}

.confirmation-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
}

.confirmation-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 2rem;
}

.confirmation-content h1 {
  text-align: center;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.confirmation-message {
  text-align: center;
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.what-happened, .next-steps, .feedback-section, .goodbye-message {
  margin: 2rem 0;
}

.what-happened h2, .next-steps h2, .feedback-section h2 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.goodbye-message p {
  text-align: center;
  font-style: italic;
  color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-content {
    padding: 40px 0;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .confirmation-content {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .cta-section {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-section .btn {
    width: 100%;
    max-width: 300px;
  }
} 