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

html {
    /* Brighter, warmer neutral background */
    background-color: #E8E2D9; 
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    overflow-y: hidden;
}

.body {
    /* Main app container: Light Cream */
    background-color: #FDFBF7; 
    color: #4A3728; /* Deep coffee text instead of pure black */
    overflow-x: hidden;
    max-width: 540px;
    margin: 20px auto;
    border-radius: 20px;
    max-height: 94vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow for depth */
}

.message-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.message-container p {
    padding: 8px 16px;
    background-color: #D69679; /* Brighter Terracotta */
    color: #ffffff;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 12px rgba(214, 150, 121, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vw - 40px);
    max-height: calc(500px - 40px);
    overflow: hidden;
    border-radius: 20px;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mask {
    position: absolute;
    inset: 0;
    /* Changed gradient from black to transparent/light */
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(253, 251, 247, 0.4) 80%,
        #FDFBF7 100%
    );
    pointer-events: none;
}

/* Profile Section */
.profile-title {
    font-size: 2.5rem;
    font-weight: 700; /* Bolder for light mode */
    letter-spacing: -1px;
    color: #D69679;
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #7A5C4F;
    text-align: center;
}

/* Links */
.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: 1.5px solid #D69679;
    border-radius: 16px;
    background: #ffffff;
    color: #7A5C4F;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 0px rgba(214, 150, 121, 0.1);
}

.link-item:hover {
    background: #D69679;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(214, 150, 121, 0.2);
}

/* Modal */
.modal {
    background: #ffffff;
    border: none;
    border-radius: 30px;
    max-width: 540px;
    width: 100%;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.modal-course-description {
    background: #F8F5F1;
    border: 1px solid #E8E2D9;
    color: #A27C6C;
}

/* Input Fields */
.email-input {
    background: #ffffff;
    border: 1.5px solid #E8E2D9;
    border-radius: 12px;
}

input[type="email"] {
    color: #7A5C4F;
}

input[type="email"]::placeholder {
    color: #A08E83;
}

.promo-input {
    color: #7A5C4F;
}

.promo-input::placeholder {
    color: #A08E83;
}

.promo-button {
    color: #7A5C4F;
}

/* Buttons */
.btn-primary {
    background: #D69679;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(214, 150, 121, 0.4);
}

.btn-primary:hover {
    background: #C47E5E;
}

/* Toggle Buttons */
.duration-toggle {
    background: #F0EDE8;
    border: none;
}

.toggle-btn.active {
    background: #ffffff;
    color: #D69679;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toggle-btn.active:hover {
    color: white;
}

/* Pricing */
.pricing-display {
    background: #FDFBF7;
    border: 2px solid #D69679;
}

.price-current {
    color: #D69679;
}

/* Topbar */
.topbar-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #7A5C4F;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Course Card */
.course-container {
    background: #ffffff;
    border: 1px solid #7A5C4F;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    color: #A27C6C;
}

.collapsible-header {
    color: #6A5649;
}

.collapsible-header span {
    color: white;
}

.toggle-icon {
    color: white;
}
