/* Login Page */
.login-body {
    background-color: var(--color-primary-dark);
    /* #1a4d45 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: var(--font-family-primary);
    position: relative;
    overflow: hidden;
}

.login-container {
    width: 100%;
    max-width: 600px;
    padding: var(--spacing-xl);
    position: relative;
    z-index: 10;
    text-align: center;
}

.login-logo-top {
    margin-bottom: 40px;
}

.login-logo-top img {
    height: 50px;
    margin: 0 auto;
}

.login-card {
    background: var(--color-bg-white);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
    position: relative;
}

.login-title {
    font-size: 40px;
    color: var(--color-primary-dark);
    margin-bottom: 48px;
    font-weight: 600;
    text-align: center;
}

.form-group {
    margin-bottom: 40px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 12px;
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 20px;
}

.form-input {
    width: 100%;
    padding: 24px;
    border: 2px solid rgba(30, 30, 28, 0.4);
    border-radius: 16px;
    font-size: 24px;
    font-family: var(--font-family-primary);
    transition: all 0.3s ease;
    background-color: rgba(27, 27, 27, 0.05);
    text-align: left;
    font-weight: 500;
    color: #4b4b4b;
}

.form-input::placeholder {
    color: #4b4b4b;
    opacity: 0.4;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary-dark);
    background-color: var(--color-bg-white);
}

.btn-login {
    width: 100%;
    padding: 24px;
    background-color: var(--color-primary-lime);
    color: var(--color-text-white);
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    background-color: var(--color-primary-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-login i {
    font-size: 20px;
}

.login-footer-text {
    margin-top: 40px;
    color: var(--color-primary-dark);
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
}

/* Dashboard Layout */
.dashboard-body {
    background-color: var(--color-bg-white);
    /* Changed to white based on screenshot */
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 300px;
    /* Slightly wider */
    background-color: var(--color-primary-dark);
    color: var(--color-text-white);
    padding: 32px 24px;
    /* Adjusted padding */
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    transition: width 0.3s ease;
}

.sidebar.collapsed {
    width: 90px;
    padding: 32px 16px;
}

.sidebar-toggle {
    display: none;
    /* Hidden by default? No, screenshot shows it */
}

/* Mobile Menu Button - Hidden on desktop */
.mobile-menu-btn {
    display: none;
}

/* Sidebar Overlay - Hidden on desktop */
.sidebar-overlay {
    display: none;
}

/* Mobile Close Button - Hidden on desktop */
.mobile-close-btn {
    display: none;
}

.menu-toggle {
    position: absolute;
    top: 32px;
    right: -20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-lime);
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
    transition: transform 0.3s ease;
}

.sidebar.collapsed .menu-toggle {
    transform: rotate(180deg);
}

.sidebar-logo {
    max-width: 220px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.sidebar.collapsed .sidebar-logo {
    opacity: 0;
    pointer-events: none;
}

.nav-menu {
    list-style: none;
    flex: 1;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 50px 0 0 50px;
    /* Rounded only on left */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    margin-right: -24px;
    /* Pull to right edge */
    transform: translateX(0);
}

.nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.nav-link.active {
    background-color: var(--color-primary-lime);
    color: var(--color-text-white);
    transform: translateX(0);
    box-shadow: 0 4px 12px rgba(129, 187, 63, 0.3);
}

.nav-link:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 16px;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active i {
    transform: scale(1.05);
}

.nav-link span {
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.sidebar.collapsed .nav-link span,
.sidebar.collapsed .nav-link .icon-right {
    opacity: 0;
    display: none;
}

.icon-right {
    margin-left: auto;
    margin-right: 0 !important;
}

/* Footer & User Profile */
.sidebar-footer {
    padding-top: var(--spacing-lg);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.user-info {
    overflow: hidden;
    white-space: nowrap;
}

.user-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.logout-btn {
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
    cursor: pointer;
}

.sidebar.collapsed .user-info,
.sidebar.collapsed .logout-btn {
    display: none;
}

.sidebar.collapsed .user-profile {
    justify-content: center;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 300px;
    padding: 40px 60px;
    transition: margin-left 0.3s ease;
}

.sidebar-collapsed-padding {
    margin-left: 90px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.header-title h1 {
    font-size: 28px;
    color: var(--color-primary-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 16px;
}

.premium-badge {
    background-color: transparent;
    color: var(--color-secondary-gold);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Section Title */
.section-title {
    font-size: 20px;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
    font-weight: 600;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns tailored */
    gap: 24px;
    margin-bottom: 48px;
}

.metric-card {
    border-radius: 20px;
    /* Slightly smoother roundness */
    padding: 24px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy feel */
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(129, 187, 63, 0.15);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(129, 187, 63, 0.3);
}

.metric-card:hover::before {
    opacity: 1;
}

.bg-green {
    background: linear-gradient(135deg, var(--color-primary-lime) 0%, #73a936 100%);
}

.metric-header-simple {
    margin-bottom: 12px;
}

.metric-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.metric-value-lg {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.metric-trend.white {
    width: fit-content;
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.metric-detail {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 8px;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 12px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Material Cards */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.material-card.instagram-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.material-card.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.material-body {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.material-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.material-card.instagram-post:hover .material-body img {
    transform: scale(1.1);
}

.material-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.material-overlay i {
    font-size: 20px;
}

.material-footer {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.material-footer p {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.btn-download {
    background: var(--color-primary-dark);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-download:hover {
    background: var(--color-primary-lime);
    transform: scale(1.1);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.action-card.dark,
a.action-card.dark {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 32px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    width: 100%;
}

.action-card.dark:hover {
    transform: translateY(-4px);
}

.action-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.action-content-centered p {
    font-size: 18px;
    font-weight: 500;
}

/* Link Bio card com dois links */
.link-bio-card.link-bio-card .link-bio-card-content {
    gap: 16px;
    width: 100%;
}
.link-bio-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}
.link-bio-card-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.link-bio-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}
.link-bio-card-link:hover {
    background: rgba(255,255,255,0.3);
}
.link-bio-card-link i {
    font-size: 1em;
}

.action-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

/* Material Page Styles */
.header-actions {
    margin-left: auto;
    display: flex;
    gap: 16px;
}

.search-bar {
    background: #f5f5f5;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 300px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    background: white;
    border-color: var(--color-primary-lime);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-bar i {
    color: #888;
}

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-family: var(--font-family-primary);
    font-size: 14px;
}

/* Folders Grid */
.folders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.folder-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.folder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background: #fcfcfc;
}

.folder-icon {
    font-size: 24px;
    color: var(--color-primary-lime);
    background: rgba(129, 187, 63, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-info h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.folder-info p {
    font-size: 13px;
    color: #888;
}

/* Files List */
.files-list {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.file-row-header {
    display: grid;
    grid-template-columns: 2fr 1fr 100px;
    padding: 0 16px 16px 16px;
    border-bottom: 1px solid #eee;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.file-row {
    display: grid;
    grid-template-columns: 2fr 1fr 100px;
    padding: 16px;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: default;
}

.file-row:hover {
    background: #f9f9f9;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 15px;
}

.file-icon {
    font-size: 20px;
}

.file-icon.red {
    color: #e74c3c;
}

.file-icon.blue {
    color: #3498db;
}

.file-icon.purple {
    color: #9b59b6;
}

.file-icon.green {
    color: #2ecc71;
}

.file-date,
.file-size {
    color: #666;
    font-size: 14px;
}

.file-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.file-row:hover .file-actions {
    opacity: 1;
}

.btn-icon {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-primary-dark);
}

/* Metas Page Styles */
.goal-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.goal-card-large {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.goal-header h2 {
    font-size: 24px;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

.goal-header p {
    color: #888;
}

.goal-badge {
    background: rgba(255, 193, 7, 0.1);
    color: var(--color-secondary-gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.goal-progress-huge {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 32px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 200px;
    width: 200px;
    position: relative;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke: var(--color-primary-lime);
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.goal-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .label {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.stat-item .value {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.goal-breakdown {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.subsection-title {
    font-size: 18px;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.breakdown-item {
    margin-bottom: 20px;
}

.breakdown-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.progress-bar-sm {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-sm .fill {
    height: 100%;
    background: var(--color-primary-lime);
    border-radius: 10px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reward-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.reward-icon {
    font-size: 40px;
    margin-bottom: 16px;
    color: #ccc;
}

.reward-card.unlocked .reward-icon {
    color: var(--color-secondary-gold);
}

.reward-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.reward-card p {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #eee;
    color: #888;
}

.reward-card.unlocked .status {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

/* Calendar Page Styles */
.calendar-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 24px;
    height: calc(100vh - 160px);
}

.calendar-main {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.calendar-header h2 {
    font-size: 24px;
    color: var(--color-primary-dark);
}

.btn-nav,
.btn-primary-action {
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-nav {
    background: #f5f5f5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav:hover {
    background: #e0e0e0;
}

.btn-primary-action {
    background: var(--color-primary-lime);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(129, 187, 63, 0.3);
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: #888;
    margin-bottom: 16px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 1fr;
    gap: 8px;
    flex: 1;
}

.day {
    border-radius: 12px;
    padding: 8px;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 80px;
    border: 1px solid transparent;
}

.day:hover {
    background: #f9f9f9;
}

.day.other-month {
    color: #ccc;
}

.day.today {
    background: rgba(129, 187, 63, 0.1);
    color: var(--color-primary-lime);
    font-weight: 700;
}

.day.has-event {
    background: #fff;
    border: 1px solid #eee;
}

.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 4px;
}

.event-dot.red {
    background: #e74c3c;
}

.event-dot.blue {
    background: #3498db;
}

.event-dot.green {
    background: #2ecc71;
}

.events-side {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.event-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.event-card:last-child {
    border-bottom: none;
}

.event-date {
    background: rgba(26, 77, 69, 0.05);
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    color: var(--color-primary-dark);
}

.day-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.month-short {
    font-size: 12px;
    font-weight: 500;
}

.event-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
}

.event-details p {
    font-size: 13px;
    color: #888;
}

/* Insights & Funnel Styles */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.insight-card {
    background: linear-gradient(135deg, #2ecc71 0%, #154e2d 100%);
    color: white;
    padding: 32px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insight-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
    line-height: 0;
}

.insight-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-white);
}

.insight-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.funnel-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.funnel-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    position: relative;
}

.funnel-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.funnel-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #eee;
    z-index: 1;
}

.funnel-step.completed .step-circle {
    background: var(--color-primary-lime);
    color: white;
}

.funnel-step.active .step-circle {
    border-color: var(--color-primary-lime);
    color: var(--color-primary-lime);
    background: white;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
    display: block;
}

.step-value {
    font-size: 13px;
    color: #888;
}

/* Commission Accelerator */
.commission-accelerator {
    background: linear-gradient(135deg, var(--color-secondary-gold) 0%, #f39c12 100%);
    color: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.3);
}

.accelerator-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.accelerator-info p {
    font-size: 16px;
    opacity: 0.9;
}

.accelerator-chart {
    display: flex;
    align-items: center;
    gap: 16px;
}

.level-badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
}

/* =================================
   SALES PAGE STYLES
================================= */

.btn-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-dark);
    color: var(--color-text-white);
    gap: 16px;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-action:hover {
    transform: scale(1.02);
}

.btn-action .icon-bg {
    background-color: var(--color-bg-white);
}

.btn-action .arrow-svg {
    stroke: var(--color-primary-lime);
}

.icon-container {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base Icon Container Styles */
.btn-action .icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transform-origin: center;
    z-index: 1;
}

/* Base SVG Styles */

.btn-action .arrow-svg {
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    stroke: var(--color-primary-lime);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.sales-page-body {
    background-color: var(--color-bg-white);
    font-family: var(--font-family-primary);

    color: var(--color-text-main);
}

.sales-header {
    background-color: var(--color-primary-dark);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sales-header img {
    height: 36px;
}

/* Hero Section */
.hero-section {
    padding: 0 var(--spacing-gutter);
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
}

.hero-title {
    font-size: 84px;
    line-height: 1.1;
    font-weight: 300;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--color-primary-dark);
    font-weight: 500;
}

.hero-title .highlight-lime {
    color: var(--color-primary-lime) !important;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--color-text-gray);
    line-height: 1.4;
    margin-bottom: 48px;
    width: 70%;
}

.hero-content .btn-wrapper {
    margin-bottom: 64px;

}


/* Static Pills Row */
.hero-pills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.seal-pill {
    background-color: #1a4d45;
    color: var(--color-bg-white);
    padding: 5px 25px 5px 5px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    transition: transform 0.4s ease;
}

.pill-icon-circle {
    width: 50px;
    height: 50px;
    background-color: #8cc63f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.5s ease;
    /* Animate icon independently if needed */
}

/* Hover Effects for Seal Pill */
.seal-pill {
    transition: transform 0.3s ease;
    cursor: default;
    /* Information only, not clickable links usually */
}

.seal-pill:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
}

.seal-pill:hover .pill-icon-circle {
    transform: rotate(15deg) scale(1.06);
}

.pill-icon-circle svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-bg-white);
    stroke-width: 2;
    fill: none;
}

.pill-text {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pill-text strong {
    font-weight: 600;
    font-size: 18px;
}

.pill-text span {
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

.pill-text.multiline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Floating Seals Positions */
.seal {
    position: absolute;
    opacity: 0;
    /* Hidden initially for GSAP */
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-circle svg {
    width: 32px;
    height: 32px;
}

.bg-dark-green {
    background-color: #1a4d45;
}

.bg-lime {
    background-color: #81BB3F;
}

.bg-orange {
    background-color: #F4A261;
}

/* Left Side Seals */
/* Left Side Seals */
.pos-left-1 {
    top: 20%;
    left: 5%;
}

.pos-left-2 {
    bottom: 30%;
    left: 15%;
}

.pos-right-1 {
    top: 25%;
    right: 5%;
}

.pos-right-2 {
    bottom: 25%;
    right: 10%;
}

.seal-circle svg {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.seal-circle:hover svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =================================
   ABOUT / BENEFITS SECTION
================================= */
.about-section {
    padding: 80px var(--spacing-gutter);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.about-content {
    max-width: 1200px;
    width: 100%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.benefit-card {
    background-color: var(--color-primary-dark);
    border-radius: 24px;
    padding: 42px;
    height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--color-text-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 81, 75, 0.2);
}

.benefit-title {
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--color-text-white);
}

.benefit-desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text-white);
    max-width: 95%;
    opacity: 0.9;
}

.benefit-icon {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-text-white)
}

/* =================================
   PARTNERS MARQUEE SECTION
================================= */
.partners-marquee-section {
    padding: 80px 0;
    width: 100vw;
    background-color: var(--color-bg-white);
    overflow: hidden;
    position: relative;
    /* Ensuring full width without scrollbar issues if body handles it */
    left: 50%;
    transform: translateX(-50%);
}

.partners-header {
    text-align: center;
    margin-bottom: 90px;
}

.partners-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.3;
}

.partners-display {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.partner-row {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.partner-item {
    width: 140px;
    height: 140px;
    background-color: #f0f0f0;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    opacity: 1;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-item img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* =================================
   PLANS SECTION (STACKED CARDS)
================================= */
.plans-section {
    padding: 80px 0;
    width: 100%;
    background-color: var(--color-bg-white);
    overflow: visible;
    /* Important for sticky behavior */
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.cards-stack-wrapper {
    display: flex;
    flex-direction: column;
    /* No gap because we want them to stack via margin or sticky */
    position: relative;
    margin-top: 100px;
}

.plan-card {
    border-radius: 32px;
    padding: 48px 92px;
    margin-bottom: 160px;
    /* Restore normal margin */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-white);
    height: 500px;
    width: 100%;
    transform-origin: center top;
    will-change: transform;
    /* CSS Sticky Stacking */
    position: sticky;
    top: 96px;
    /* Base sticky position */
    z-index: 1;
}

/* Stacking Offsets for "Deck" Effect */
.plan-card:nth-child(1) {
    top: 96px;
    z-index: 1;
}

.plan-card:nth-child(2) {
    top: 136px;
    z-index: 2;
}

/* 96 + 40 */
.plan-card:nth-child(3) {
    top: 176px;
    z-index: 3;
}

/* 136 + 40 */
.plan-card:nth-child(4) {
    top: 216px;
    z-index: 4;
}

/* 176 + 40 */

/* Colors matching Figma */
.card-prata {
    background-color: var(--color-primary-dark);
}

.card-ouro {
    background-color: var(--color-secondary-gold);
}

.card-pet {
    background-color: var(--color-primary-lime);
}

.card-company {
    background-color: var(--color-primary-dark);
}

.plan-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    width: 51%;
}

.plan-title {
    font-size: 48px;
    font-weight: 500;
    margin: 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 400;
}

.plan-features li img {
    width: 20px;
    height: 20px;
}

.plan-notes {
    margin-top: 10px;
    opacity: 0.8;
}

.plan-notes p {
    font-size: 12px;
    margin: 0;
    margin-bottom: 4px;
}

.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 49%;
}

.btn-plan-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-radius: 36px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
    text-decoration: none;
    background-color: #1a4d45;
    /* Dark Green Button */
    color: #fff;
    width: 100%;
}

.btn-plan-action.secondary {
    background-color: rgba(22, 81, 75, 0.9);
    /* Slightly lighter or different shade */
}

.btn-plan-action:hover {
    transform: scale(1.02);
}

.btn-plan-action i {
    font-size: 24px;
}

.card-prata .btn-plan-action,
.card-company .btn-plan-action {
    background-color: var(--color-primary-lime);
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.popup-content h3 {
    font-size: 24px;
    color: var(--color-primary-dark);
    margin: 0;
}

.btn-confirm {
    background-color: var(--color-primary-lime);
    color: var(--color-text-white);
    padding: 15px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.btn-confirm:hover {
    transform: scale(1.02);
}

.btn-confirm:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Popup Sections */
.popup-section {
    text-align: left;
}

.popup-section label {
    display: block;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    font-size: 14px;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: var(--color-primary-lime);
    background-color: rgba(129, 187, 63, 0.05);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary-lime);
    cursor: pointer;
}

.radio-option input[type="radio"]:checked+.radio-label {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.radio-label {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

/* Popup Description */
#popupDescription {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* =================================
   FOOTER SECTION
================================= */
.main-footer {
    background-color: var(--color-primary-dark);
    padding: 0;
    position: relative;
    overflow: hidden;
    color: var(--color-text-white);
    min-height: 90vh;
    /* Changed to min-height for robustness */
    display: flex;
    flex-direction: column;
}

.footer-wrapper {
    max-width: 1280px;
    padding: 80px var(--spacing-gutter);
    /* Adding top/bottom padding inside wrapper */
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    flex: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 98px;
    margin-bottom: 80px;
}

/* Marca Column */
.brand-col .logo-footer {
    padding: 0px 0px 32px 0px;
}

.brand-col .logo-footer:hover {
    transform: scale(1.02);
    transition: all 0.4s ease-in-out;
}

.logo-footer img {
    width: 320px;
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 105px;
    max-width: 320px;
}

.social-label {
    display: block;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 20px;
}

.social-icon {
    width: 96px;
    height: 96px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-white);
    transition: all 0.3s ease;
    margin-bottom: 48px;
}

.social-icon:hover {
    background-color: var(--color-primary-lime);
    transform: translateY(-5px);
}

.social-icon svg {
    width: 48px;
    height: 48px;
}

/* Navigation Columns */
.footer-col-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 32px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.footer-links a {
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* App Column */
.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-downloads .footer-col-title {
    margin-bottom: 0px;
}

.btn-store-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.btn-store-custom:hover {
    background-color: var(--color-text-white);
    color: var(--color-primary-dark);
}

.store-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    transition: fill 0.3s ease;
}

.btn-store-custom:hover .store-icon svg {
    fill: var(--color-primary-dark);
}

.store-texts {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.txt-small {
    font-size: 10px;
    opacity: 0.8;
}

.txt-large {
    font-size: 16px;
    font-weight: 600;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.badge-item img {
    height: 80px;
    width: auto;
}

/* Marquee Background */
.footer-marquee-container {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
    white-space: nowrap;
}

.footer-marquee-content {
    display: flex;
    gap: 64px;
    width: max-content;
    /* Ensure width fits content for GSAP */
}

.marquee-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 260px;
    color: #FEFCFB;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Copyright Row */
.footer-copyright {
    background-color: #e6e8eb;
    height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 14px;
    z-index: 3;
    margin-top: auto;
    /* Push to bottom if flex container */
}

/* =================================
   TRAINING PAGE STYLES
   ================================= */

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    min-width: 300px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--color-primary-lime);
    box-shadow: 0 0 0 3px rgba(129, 187, 63, 0.1);
}

.search-bar i {
    color: #999;
    font-size: 16px;
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    background: transparent;
}

/* Training Progress Overview */
.training-progress-overview {
    margin-bottom: 32px;
}

.progress-card-main {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #2a6b5e 100%);
    border-radius: 20px;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.progress-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.progress-text p {
    opacity: 0.8;
    font-size: 14px;
}

.progress-stats {
    display: flex;
    gap: 48px;
}

.progress-stats .stat {
    text-align: center;
}

.progress-stats .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-lime);
}

.progress-stats .stat-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Continue Section */
.continue-section {
    margin-bottom: 40px;
}

.continue-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.continue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.continue-thumbnail {
    position: relative;
    width: 200px;
    height: 112px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.continue-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.continue-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    color: white;
    font-size: 32px;
}

.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.continue-info {
    flex: 1;
}

.continue-info .course-category {
    color: var(--color-primary-lime);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.continue-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
    color: var(--color-text-main);
}

.continue-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.lesson-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar-thin {
    flex: 1;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    max-width: 200px;
}

.progress-bar-thin .fill {
    height: 100%;
    background: var(--color-primary-lime);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.lesson-progress span {
    font-size: 12px;
    color: #999;
}

.btn-continue {
    background: var(--color-primary-lime);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background: var(--color-primary-dark);
    transform: scale(1.02);
}

/* Categories Section */
.categories-section {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover,
.category-card.active {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-lime);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 13px;
    color: #999;
}

/* Courses Section */
.courses-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab {
    padding: 8px 16px;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-tab:hover {
    background: #e0e0e0;
}

.filter-tab.active {
    background: var(--color-primary-dark);
    color: white;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.course-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-thumbnail img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.course-badge.new {
    background: #ff6b6b;
    color: white;
}

.course-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.course-content {
    padding: 20px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.course-category-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
}

.course-category-tag.vendas {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.course-category-tag.planos {
    background: rgba(17, 153, 142, 0.15);
    color: #11998e;
}

.course-category-tag.atendimento {
    background: rgba(252, 74, 26, 0.15);
    color: #fc4a1a;
}

.course-category-tag.followup {
    background: rgba(238, 9, 121, 0.15);
    color: #ee0979;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #999;
}

.course-rating i {
    color: #ffc107;
}

.course-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 8px;
    line-height: 1.4;
}

.course-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.course-lessons {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
}

.btn-start-course {
    background: transparent;
    border: none;
    color: var(--color-primary-lime);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-start-course:hover {
    color: var(--color-primary-dark);
}

/* Lesson Modal */
.lesson-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lesson-modal.active {
    opacity: 1;
    visibility: visible;
}

.lesson-modal-content {
    background: white;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lesson-modal.active .lesson-modal-content {
    transform: scale(1);
}

.close-lesson {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-lesson:hover {
    background: white;
    transform: rotate(90deg);
}

.lesson-video-container {
    position: relative;
    background: #000;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    max-height: 400px;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--color-primary-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-primary-dark);
}

.play-btn-large i {
    color: white;
    font-size: 28px;
    margin-left: 4px;
}

.lesson-details {
    padding: 24px 32px;
    flex: 1;
    overflow-y: auto;
}

.lesson-header {
    margin-bottom: 24px;
}

.lesson-category {
    color: var(--color-primary-lime);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.lesson-details h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 8px 0 12px;
}

.lesson-details>p {
    color: #666;
    line-height: 1.6;
}

.lesson-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.lesson-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #666;
}

.lesson-tab:hover {
    background: #f5f5f5;
}

.lesson-tab.active {
    background: var(--color-primary-lime);
    color: white;
}

.lesson-tab-content {
    display: none;
}

.lesson-tab-content.active {
    display: block;
}

/* Lesson Chapters */
.lesson-chapters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chapter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chapter:hover {
    background: #f0f0f0;
}

.chapter.completed {
    opacity: 0.7;
}

.chapter.completed i {
    color: var(--color-primary-lime);
}

.chapter.current {
    background: rgba(129, 187, 63, 0.1);
    border: 1px solid var(--color-primary-lime);
}

.chapter.current i {
    color: var(--color-primary-lime);
}

.chapter span:first-of-type {
    flex: 1;
    font-size: 14px;
}

.chapter-time {
    color: #999;
    font-size: 13px;
}

/* Resources */
.resources-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.resource-item i {
    font-size: 24px;
    color: #dc3545;
}

.resource-item i.fa-file-word {
    color: #0d6efd;
}

.resource-item span {
    flex: 1;
    font-size: 14px;
}

.btn-download-sm {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-primary-lime);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-download-sm:hover {
    background: var(--color-primary-dark);
}

/* Exercise Styles */
.exercise-container {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
}

.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.exercise-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exercise-header h3 i {
    color: var(--color-primary-lime);
}

.exercise-progress {
    font-size: 13px;
    color: #666;
}

.question-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.question-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    border-color: var(--color-primary-lime);
    background: rgba(129, 187, 63, 0.05);
}

.option-item.selected {
    border-color: var(--color-primary-lime);
    background: rgba(129, 187, 63, 0.1);
}

.option-item input {
    display: none;
}

.option-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.option-item.selected .option-marker {
    background: var(--color-primary-lime);
    color: white;
}

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

.exercise-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-prev-question,
.btn-next-question {
    padding: 12px 24px;
    border: none;
    background: #f0f0f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-prev-question:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next-question {
    background: var(--color-primary-lime);
    color: white;
}

.btn-next-question:hover {
    background: var(--color-primary-dark);
}

.btn-submit-exercise {
    padding: 12px 32px;
    border: none;
    background: var(--color-primary-dark);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-submit-exercise:hover {
    transform: scale(1.02);
}

/* Lesson Navigation */
.lesson-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.btn-nav-lesson {
    padding: 12px 20px;
    border: none;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    border: 1px solid #e0e0e0;
}

.btn-nav-lesson:hover {
    border-color: var(--color-primary-lime);
    color: var(--color-primary-lime);
}

.btn-complete-lesson {
    padding: 14px 28px;
    border: none;
    background: var(--color-primary-lime);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-complete-lesson:hover {
    background: var(--color-primary-dark);
}

/* Exercise Result Modal */
.exercise-result-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.exercise-result-modal.active {
    opacity: 1;
    visibility: visible;
}

.exercise-result-content {
    background: white;
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.exercise-result-modal.active .exercise-result-content {
    transform: scale(1);
}

.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.result-icon.success {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.result-icon.good {
    background: rgba(129, 187, 63, 0.15);
    color: var(--color-primary-lime);
}

.result-icon.retry {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.exercise-result-content h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.exercise-result-content p {
    color: #666;
    margin-bottom: 24px;
}

.result-score {
    margin-bottom: 32px;
}

.score-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary-lime);
}

.score-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
}

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-retry {
    padding: 14px 28px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-retry:hover {
    border-color: var(--color-primary-lime);
}

.btn-continue-lesson {
    padding: 14px 28px;
    border: none;
    background: var(--color-primary-lime);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-continue-lesson:hover {
    background: var(--color-primary-dark);
}

/* =================================
   CALENDAR PAGE STYLES
   ================================= */

/* Calendar day click */
.calendar-grid .day {
    cursor: pointer;
    position: relative;
}

.calendar-grid .day:not(.other-month):hover {
    background: rgba(129, 187, 63, 0.1);
    border-color: var(--color-primary-lime);
}

/* Event dots container */
.event-dots {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 4px;
}

/* Event indicator in sidebar */
.event-indicator {
    width: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}

.event-indicator.green {
    background: #81bb3f;
}

.event-indicator.blue {
    background: #3b82f6;
}

.event-indicator.red {
    background: #ef4444;
}

.event-indicator.orange {
    background: #f59e0b;
}

.event-indicator.purple {
    background: #8b5cf6;
}

/* No upcoming events */
.no-upcoming-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.no-upcoming-events i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ddd;
}

.no-upcoming-events p {
    font-size: 14px;
}

/* Day Modal (Notion Style) */
.day-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.day-modal.active {
    opacity: 1;
    visibility: visible;
}

.day-modal-content {
    background: white;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.day-modal.active .day-modal-content {
    transform: scale(1) translateY(0);
}

.day-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #2a6b5e 100%);
    color: white;
}

.day-modal-date {
    display: flex;
    align-items: center;
    gap: 16px;
}

.day-modal-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.day-modal-info {
    display: flex;
    flex-direction: column;
}

.day-modal-weekday {
    font-size: 18px;
    font-weight: 600;
}

.day-modal-month {
    font-size: 13px;
    opacity: 0.8;
}

.close-day-modal {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-day-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.day-modal-body {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

/* Day events list */
.day-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.day-event-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.day-event-item:hover {
    background: #f0f0f0;
}

.event-color-bar {
    width: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}

.event-color-bar.green {
    background: #81bb3f;
}

.event-color-bar.blue {
    background: #3b82f6;
}

.event-color-bar.red {
    background: #ef4444;
}

.event-color-bar.orange {
    background: #f59e0b;
}

.event-color-bar.purple {
    background: #8b5cf6;
}

.event-content {
    flex: 1;
}

.event-time {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.event-content p {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-delete-event {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #999;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-delete-event:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* No events state */
.day-no-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.day-no-events i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ddd;
}

.day-no-events p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Add event button in day modal */
.btn-add-event-day {
    width: 100%;
    padding: 14px;
    border: 2px dashed #ddd;
    background: transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-add-event-day:hover {
    border-color: var(--color-primary-lime);
    color: var(--color-primary-lime);
    background: rgba(129, 187, 63, 0.05);
}

/* New Event Modal */
.event-form-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.event-form-modal.active {
    opacity: 1;
    visibility: visible;
}

.event-form-content {
    background: white;
    width: 95%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.event-form-modal.active .event-form-content {
    transform: scale(1) translateY(0);
}

.event-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.event-form-header h2 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-form-header h2 i {
    color: var(--color-primary-lime);
}

.close-event-form {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-event-form:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

#newEventForm {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

#newEventForm .form-group {
    margin-bottom: 20px;
}

#newEventForm .form-label {
    font-size: 14px;
    margin-bottom: 8px;
}

#newEventForm .form-input {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
}

#newEventForm textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Event Type Selector */
.event-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-type-option {
    cursor: pointer;
}

.event-type-option input {
    display: none;
}

.event-type-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.event-type-option input:checked+.event-type-badge {
    border-color: var(--color-primary-lime);
    background: rgba(129, 187, 63, 0.1);
    color: var(--color-primary-dark);
}

.event-type-badge.call i {
    color: #3b82f6;
}

.event-type-badge.meeting i {
    color: #8b5cf6;
}

.event-type-badge.followup i {
    color: #ef4444;
}

.event-type-badge.training i {
    color: #f59e0b;
}

/* Color Selector */
.color-selector {
    display: flex;
    gap: 12px;
}

.color-option {
    cursor: pointer;
}

.color-option input {
    display: none;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.color-option input:checked+.color-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(129, 187, 63, 0.3);
}

.color-dot.green {
    background: #81bb3f;
}

.color-dot.blue {
    background: #3b82f6;
}

.color-dot.red {
    background: #ef4444;
}

.color-dot.orange {
    background: #f59e0b;
}

.color-dot.purple {
    background: #8b5cf6;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 8px;
}

.btn-cancel {
    padding: 14px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-cancel:hover {
    border-color: #999;
}

.btn-save-event {
    padding: 14px 24px;
    border: none;
    background: var(--color-primary-lime);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-save-event:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-primary-dark);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification i {
    color: var(--color-primary-lime);
    font-size: 18px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* ----------------------------------------
   NOTEBOOK (max-width: 1366px)
   ---------------------------------------- */
@media screen and (max-width: 1366px) {

    /* Sidebar */
    .sidebar {
        width: 260px;
        padding: 24px 20px;
    }

    .sidebar-logo {
        max-width: 180px;
        margin-bottom: 32px;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 15px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        right: -18px;
    }

    /* Main Content */
    .main-content {
        margin-left: 260px;
        padding: 32px 40px;
    }

    .sidebar-collapsed-padding {
        margin-left: 90px;
    }

    /* Header */
    .header-title h1 {
        font-size: 24px;
    }

    .premium-badge {
        font-size: 13px;
    }

    /* Metrics Grid */
    .metrics-grid {
        gap: 20px;
        margin-bottom: 40px;
    }

    .metric-card {
        height: 160px;
        padding: 20px;
        border-radius: 16px;
    }

    .metric-value-lg {
        font-size: 28px;
    }

    .metric-label {
        font-size: 13px;
    }

    /* Quick Actions */
    .quick-actions {
        gap: 20px;
        margin-bottom: 40px;
    }

    .action-card.dark {
        height: 160px;
        padding: 24px;
    }

    .action-content-centered p {
        font-size: 16px;
    }

    .action-icon {
        font-size: 28px;
    }

    /* Materials Grid */
    .materials-grid {
        gap: 20px;
    }

    .material-footer p {
        font-size: 13px;
    }

    /* ===== MATERIAL PAGE ===== */

    /* Header with Search */
    .header-actions {
        gap: 12px;
    }

    .search-bar {
        width: 260px;
        padding: 10px 16px;
    }

    .search-bar input {
        font-size: 13px;
    }

    /* Folders Grid */
    .folders-grid {
        gap: 20px;
    }

    .folder-card {
        padding: 16px;
    }

    .folder-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .folder-info h3 {
        font-size: 18px;
    }

    .folder-info p {
        font-size: 16px;
    }

    /* Files List */
    .files-list {
        padding: 20px;
    }

    .file-row {
        padding: 14px;
    }

    .file-name span {
        font-size: 14px;
    }

    /* ===== METAS PAGE ===== */

    /* Goal Overview */
    .goal-overview {
        gap: 20px;
    }

    .goal-card-large {
        padding: 28px;
    }

    .goal-header h2 {
        font-size: 22px;
    }

    .circular-chart {
        width: 180px;
        max-height: 180px;
    }

    .percentage {
        font-size: 36px;
    }

    .stat-item .value {
        font-size: 18px;
    }

    /* Goal Breakdown */
    .goal-breakdown {
        padding: 20px;
    }

    .subsection-title {
        font-size: 16px;
    }

    /* Rewards Grid */
    .rewards-grid {
        gap: 20px;
    }

    .reward-card {
        padding: 20px;
    }

    .reward-icon {
        font-size: 36px;
    }

    .reward-card h3 {
        font-size: 16px;
    }

    /* ===== CALENDAR PAGE ===== */

    /* Calendar Container */
    .calendar-container {
        gap: 20px;
    }

    .calendar-main {
        padding: 24px;
    }

    .calendar-header h2 {
        font-size: 20px;
    }

    /* Calendar Grid */
    .day {
        min-height: 70px;
        padding: 6px;
        font-size: 14px;
    }

    .event-dot {
        width: 6px;
        height: 6px;
    }

    /* Events Sidebar */
    .events-side {
        padding: 20px;
    }

    .event-card {
        padding: 14px 0;
        gap: 12px;
    }

    .event-date {
        padding: 6px 10px;
    }

    .day-num {
        font-size: 18px;
    }

    .event-details h4 {
        font-size: 15px;
    }

    /* Modals */
    .day-modal-content,
    .event-form-content {
        max-width: 450px;
    }

    /* ===== TRAINING PAGE ===== */

    /* Progress Overview */
    .training-progress-overview {
        margin-bottom: 30px;
    }

    .progress-card-main {
        padding: 24px;
        gap: 24px;
    }

    .progress-stats {
        gap: 20px;
    }

    .stat-value {
        font-size: 28px;
    }

    /* Continue Section */
    .continue-card {
        gap: 20px;
        padding: 20px;
    }

    .continue-thumbnail {
        width: 320px;
    }

    .continue-info h3 {
        font-size: 18px;
    }

    /* Categories */
    .categories-grid {
        gap: 16px;
    }

    .category-card {
        padding: 20px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    /* Courses Grid */
    .courses-grid {
        gap: 20px;
    }

    .course-card {
        border-radius: 16px;
    }

    .course-content {
        padding: 16px;
    }

    .course-content h3 {
        font-size: 16px;
    }

    /* Lesson Modal */
    .lesson-modal-content {
        max-width: 900px;
    }

    /* ===== SALES PAGE ===== */

    /* Hero Section */
    .hero-title {
        font-size: 64px;
    }

    .hero-subtitle {
        font-size: 18px;
        width: 80%;
    }

    .hero-pills-row {
        gap: 12px;
    }

    .seal-pill {
        padding: 4px 20px 4px 4px;
        gap: 12px;
    }

    .pill-icon-circle {
        width: 44px;
        height: 44px;
    }

    .pill-text {
        font-size: 14px;
    }

    .pill-text strong {
        font-size: 16px;
    }

    /* Floating Seals - Hide on smaller screens */
    .seal {
        display: none;
    }

    /* Benefits */
    .benefits-grid {
        gap: 20px;
    }

    .benefit-card {
        height: 420px;
        padding: 32px;
    }

    .benefit-title {
        font-size: 44px;
    }

    .benefit-desc {
        font-size: 16px;
    }

    .benefit-icon {
        width: 150px;
        height: 150px;
    }

    /* Partners */
    .partners-title {
        font-size: 40px;
    }

    .partner-item {
        width: 120px;
        height: 120px;
    }

    /* Plans */
    .plan-card {
        padding: 40px 60px;
        height: 450px;
    }

    .plan-title {
        font-size: 40px;
    }

    .plan-features li {
        font-size: 16px;
    }

    .btn-plan-action {
        padding: 20px 28px;
        font-size: 20px;
    }

    /* Footer */
    .footer-grid {
        gap: 40px;
    }
}

/* ----------------------------------------
   TABLET (max-width: 1024px)
   ---------------------------------------- */
@media screen and (max-width: 1024px) {

    /* Sidebar - Hidden by default on tablet */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        z-index: 1000;
        transition: transform 0.3s ease;
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: none;
    }

    /* Mobile Close Button inside sidebar */
    .mobile-close-btn {
        display: flex;
        position: absolute;
        top: 24px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: var(--color-primary-lime);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 16px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(-90deg);
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 24px;
        left: 24px;
        width: 48px;
        height: 48px;
        background: var(--color-primary-dark);
        border: none;
        border-radius: 12px;
        color: white;
        font-size: 20px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        background: var(--color-primary-lime);
    }

    /* Overlay */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Main Content */
    .main-content {
        margin-left: 0;
        padding: 100px 32px 32px 32px;
    }

    .sidebar-collapsed-padding {
        margin-left: 0;
    }

    /* Header */
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-title h1 {
        font-size: 22px;
        flex-wrap: wrap;
    }

    /* Metrics Grid - 2 columns */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .metric-card {
        height: auto;
        min-height: 150px;
    }

    .metric-value-lg {
        font-size: 26px;
    }

    /* Quick Actions - 2 columns */
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .action-card.dark {
        height: 140px;
    }

    .action-content-centered p {
        font-size: 15px;
    }

    /* Materials Grid - 2 columns */
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Section Titles */
    .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* ===== MATERIAL PAGE ===== */

    /* Header with Search - Stack vertically */
    .header-actions {
        width: 100%;
        margin-top: 8px;
    }

    .search-bar {
        width: 100%;
        max-width: 400px;
    }

    /* Folders Grid - 2 columns */
    .folders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .folder-card {
        padding: 16px;
        gap: 12px;
    }

    .folder-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }

    /* Files List - Simplified layout */
    .files-list {
        padding: 16px;
    }

    .file-row-header {
        display: none;
    }

    .file-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
        border-bottom: 1px solid #eee;
    }

    .file-row:last-child {
        border-bottom: none;
    }

    .file-name {
        width: 100%;
    }

    .file-date,
    .file-size {
        font-size: 13px;
        color: #888;
    }

    .file-actions {
        opacity: 1;
        justify-content: flex-start;
        margin-top: 8px;
    }

    /* ===== METAS PAGE ===== */

    /* Insights Grid - Stack vertically */
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Goal Overview - Stack vertically */
    .goal-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .goal-card-large {
        padding: 24px;
    }

    .goal-header {
        flex-direction: column;
        gap: 16px;
    }

    .goal-progress-huge {
        flex-direction: column;
        gap: 24px;
    }

    .circular-chart {
        width: 160px;
        max-height: 160px;
    }

    .percentage {
        font-size: 32px;
    }

    .goal-stats {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }

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

    /* Rewards Grid - 2 columns */
    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .reward-card {
        padding: 20px;
    }

    .reward-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .reward-card h3 {
        font-size: 15px;
    }

    .reward-card p {
        font-size: 12px;
    }

    /* ===== CALENDAR PAGE ===== */

    /* Calendar Container - Stack vertically */
    .calendar-container {
        grid-template-columns: 1fr;
        height: auto;
        gap: 20px;
    }

    .calendar-main {
        padding: 20px;
        order: 1;
    }

    .events-side {
        order: 2;
    }

    /* Calendar Header */
    .calendar-header {
        margin-bottom: 20px;
    }

    .calendar-header h2 {
        font-size: 18px;
    }

    .btn-nav {
        width: 36px;
        height: 36px;
    }

    .btn-primary-action {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Calendar Grid */
    .day {
        min-height: 60px;
        padding: 4px;
        font-size: 13px;
        border-radius: 8px;
    }

    .event-dots {
        flex-wrap: wrap;
    }

    /* Events Sidebar */
    .events-side {
        padding: 20px;
    }

    .subsection-title {
        font-size: 15px;
    }

    .event-card {
        padding: 12px 0;
    }

    .event-date {
        padding: 8px;
    }

    .day-num {
        font-size: 16px;
    }

    .month-short {
        font-size: 11px;
    }

    .event-details h4 {
        font-size: 14px;
    }

    .event-details p {
        font-size: 12px;
    }

    /* Modals - Full width on tablet */
    .day-modal-content,
    .event-form-content {
        max-width: 90%;
        margin: 20px;
    }

    .day-modal-header {
        padding: 20px;
    }

    .day-modal-number {
        font-size: 36px;
    }

    .event-form-content {
        max-height: 90vh;
    }

    .event-type-selector {
        flex-wrap: wrap;
        gap: 10px;
    }

    .event-type-option {
        flex: 1 1 calc(50% - 10px);
    }

    /* ===== TRAINING PAGE ===== */

    /* Progress Overview */
    .progress-card-main {
        flex-direction: column;
        gap: 24px;
    }

    .progress-stats {
        width: 100%;
        justify-content: space-around;
    }

    /* Continue Section */
    .continue-card {
        flex-direction: column;
        align-items: stretch;
    }

    .continue-thumbnail {
        width: 100%;
        height: 200px;
    }

    .continue-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .continue-info {
        padding: 0;
    }

    .btn-continue {
        width: 100%;
        justify-content: center;
    }

    /* Categories - 2 columns */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .category-card {
        padding: 16px;
    }

    .category-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .category-card h3 {
        font-size: 15px;
    }

    .category-card p {
        font-size: 12px;
    }

    /* Courses - 2 columns */
    .section-header {
        flex-direction: column;
        gap: 16px;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .course-card {
        border-radius: 14px;
    }

    .course-content h3 {
        font-size: 15px;
    }

    .course-content p {
        font-size: 13px;
    }

    /* Lesson Modal */
    .lesson-modal-content {
        max-width: 95%;
        margin: 20px;
        max-height: 90vh;
    }

    .lesson-video-container {
        height: 250px;
    }

    .lesson-details {
        padding: 20px;
    }

    .lesson-header h2 {
        font-size: 18px;
    }

    .lesson-navigation {
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-nav-lesson,
    .btn-complete-lesson {
        flex: 1;
        justify-content: center;
        padding: 12px;
    }

    /* ===== SALES PAGE ===== */

    /* Header */
    .sales-header {
        height: 70px;
    }

    .sales-header img {
        height: 30px;
    }

    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 60px var(--spacing-gutter);
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
        width: 90%;
        margin-bottom: 32px;
    }

    .hero-content .btn-wrapper {
        margin-bottom: 40px;
    }

    .hero-pills-row {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .seal-pill {
        padding: 4px 16px 4px 4px;
        gap: 10px;
    }

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

    .pill-icon-circle svg {
        width: 20px;
        height: 20px;
    }

    .pill-text {
        font-size: 13px;
    }

    .pill-text strong {
        font-size: 14px;
    }

    /* Benefits - 1 column */
    .about-section {
        padding: 60px var(--spacing-gutter);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        height: auto;
        min-height: 300px;
        padding: 32px;
    }

    .benefit-title {
        font-size: 36px;
    }

    .benefit-desc {
        font-size: 16px;
        max-width: 70%;
    }

    .benefit-icon {
        width: 140px;
        height: 140px;
        bottom: 20px;
        right: 20px;
    }

    /* Partners */
    .partners-marquee-section {
        padding: 60px 0;
    }

    .partners-header {
        margin-bottom: 60px;
    }

    .partners-title {
        font-size: 32px;
    }

    .partner-item {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }

    .partners-display {
        gap: 20px;
    }

    /* Plans - Stacked vertically */
    .plans-section {
        padding: 60px var(--spacing-gutter);
    }

    .cards-stack-wrapper {
        margin-top: 0;
    }

    .plan-card {
        flex-direction: column;
        height: auto;
        padding: 32px;
        margin-bottom: 24px;
        position: relative;
        top: auto !important;
    }

    .plan-content {
        width: 100%;
    }

    .plan-actions {
        width: 100%;
        margin-top: 24px;
    }

    .plan-title {
        font-size: 32px;
    }

    .plan-features li {
        font-size: 15px;
    }

    .btn-plan-action {
        padding: 18px 24px;
        font-size: 16px;
        border-radius: 24px;
    }

    .btn-plan-action i {
        font-size: 18px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .app-downloads {
        align-items: center;
    }

    .footer-links {
        align-items: center;
    }

    .trust-badges {
        justify-content: center;
    }
}

/* ----------------------------------------
   MOBILE (max-width: 768px)
   ---------------------------------------- */
@media screen and (max-width: 768px) {

    /* Mobile Menu Button */
    .mobile-menu-btn {
        top: 16px;
        left: 16px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    /* Sidebar */
    .sidebar {
        width: 100%;
        max-width: 300px;
    }

    /* Main Content */
    .main-content {
        padding: 80px 24px 32px 24px;
    }

    /* Header */
    .header {
        margin-bottom: 32px;
    }

    .header-title h1 {
        font-size: 20px;
        gap: 8px;
    }

    .premium-badge {
        font-size: 12px;
    }

    /* Metrics Grid - 1 column on small mobile */
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-card {
        min-height: 130px;
        padding: 18px;
    }

    .metric-value-lg {
        font-size: 24px;
    }

    .metric-trend.white {
        font-size: 12px;
        padding: 3px 10px;
    }

    /* Quick Actions - 1 column */
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .action-card.dark {
        height: auto;
        min-height: 120px;
        padding: 20px;
    }

    .action-content-centered {
        gap: 16px;
    }

    .action-content-centered p {
        font-size: 14px;
    }

    .action-icon {
        font-size: 24px;
    }

    /* Materials Grid - 1 column */
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .material-card.instagram-post {
        max-width: 100%;
    }

    .material-footer {
        padding: 14px;
    }

    .material-footer p {
        font-size: 13px;
    }

    /* Section Titles */
    .section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    /* ===== MATERIAL PAGE ===== */

    /* Header Description */
    .header-title p {
        font-size: 13px;
        opacity: 0.8;
    }

    /* Folders Grid - 1 column */
    .folders-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .folder-card {
        padding: 14px;
    }

    .folder-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .folder-info h3 {
        font-size: 14px;
    }

    /* Files List */
    .files-list {
        padding: 12px;
        border-radius: 12px;
    }

    .file-row {
        padding: 14px 12px;
    }

    .file-name {
        gap: 10px;
    }

    .file-name span {
        font-size: 13px;
    }

    .file-icon {
        font-size: 18px;
    }

    .file-date,
    .file-size {
        display: inline-block;
    }

    .file-actions {
        gap: 12px;
    }

    .btn-icon {
        width: 36px;
        height: 36px;
    }

    /* ===== METAS PAGE ===== */

    /* Insights */
    .insight-card,
    .funnel-card {
        padding: 20px;
        border-radius: 16px;
    }

    .insight-card h3,
    .funnel-card h3 {
        font-size: 16px;
    }

    .insight-card p {
        font-size: 14px;
    }

    /* Funnel Steps */
    .funnel-steps {
        flex-direction: column;
        gap: 16px;
    }

    .funnel-line {
        display: none;
    }

    .funnel-step {
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }

    .step-circle {
        width: 48px;
        height: 48px;
    }

    /* Goal Card */
    .goal-card-large {
        padding: 20px;
        border-radius: 16px;
    }

    .goal-header h2 {
        font-size: 18px;
    }

    .goal-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .circular-chart {
        width: 140px;
        max-height: 140px;
    }

    .percentage {
        font-size: 28px;
    }

    .goal-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-item .label {
        font-size: 12px;
    }

    .stat-item .value {
        font-size: 16px;
    }

    /* Breakdown */
    .goal-breakdown {
        padding: 16px;
        border-radius: 16px;
    }

    .breakdown-info {
        font-size: 13px;
    }

    /* Rewards Grid - 1 column */
    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reward-card {
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .reward-icon {
        font-size: 28px;
        margin-bottom: 0;
    }

    .reward-card h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .reward-card p {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .status {
        font-size: 11px;
        padding: 4px 12px;
    }

    /* ===== CALENDAR PAGE ===== */

    /* Header Actions */
    .header-actions {
        width: 100%;
    }

    .btn-primary-action {
        width: 100%;
        justify-content: center;
    }

    /* Calendar */
    .calendar-main {
        padding: 16px;
        border-radius: 16px;
    }

    .calendar-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .calendar-header h2 {
        font-size: 16px;
        order: 2;
        width: 100%;
        text-align: center;
    }

    .btn-nav {
        width: 40px;
        height: 40px;
    }

    /* Calendar Grid - Compact */
    .calendar-grid-header span {
        font-size: 11px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .day {
        min-height: 48px;
        padding: 4px;
        font-size: 12px;
        border-radius: 6px;
    }

    .event-dot {
        width: 5px;
        height: 5px;
    }

    .event-dots {
        gap: 2px;
    }

    /* Events Sidebar */
    .events-side {
        padding: 16px;
        border-radius: 16px;
    }

    .event-card {
        flex-wrap: wrap;
    }

    .event-date {
        padding: 6px 10px;
        border-radius: 8px;
    }

    .day-num {
        font-size: 14px;
    }

    .month-short {
        font-size: 10px;
    }

    .no-upcoming-events {
        padding: 24px;
    }

    .no-upcoming-events i {
        font-size: 32px;
    }

    /* Modals - Full screen on mobile */
    .day-modal-content,
    .event-form-content {
        max-width: 90%;
        width: 90%;
        margin: 0;
        max-height: 90vh;
    }

    .day-modal-header {
        padding: 16px;
    }

    .day-modal-number {
        font-size: 32px;
    }

    .day-modal-weekday {
        font-size: 14px;
    }

    .day-modal-month {
        font-size: 12px;
    }

    .day-modal-body {
        padding: 16px;
    }

    .day-event-item {
        padding: 12px;
    }

    .event-content h4 {
        font-size: 14px;
    }

    /* Event Form Modal */
    .event-form-header {
        padding: 16px 20px;
    }

    .event-form-header h2 {
        font-size: 16px;
    }

    #newEventForm {
        padding: 16px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .event-type-selector {
        flex-direction: column;
    }

    .event-type-option {
        flex: 1;
    }

    .color-selector {
        justify-content: flex-start;
        gap: 12px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-cancel,
    .btn-save-event {
        width: 100%;
        justify-content: center;
    }

    /* ===== TRAINING PAGE ===== */

    /* Progress Card */
    .progress-card-main {
        padding: 20px;
        border-radius: 16px;
    }

    .progress-info {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .progress-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .progress-text h3 {
        font-size: 18px;
    }

    .progress-text p {
        font-size: 14px;
    }

    .progress-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Continue Section */
    .continue-card {
        padding: 16px;
        border-radius: 16px;
    }

    .continue-thumbnail {
        height: 180px;
        border-radius: 12px;
    }

    .continue-info h3 {
        font-size: 16px;
    }

    .continue-info p {
        font-size: 14px;
    }

    .lesson-progress span {
        font-size: 12px;
    }

    /* Categories - 2 columns still */
    .category-card {
        padding: 14px;
        border-radius: 14px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .category-card h3 {
        font-size: 14px;
    }

    .category-card p {
        font-size: 11px;
    }

    /* Courses - 1 column */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .course-card {
        border-radius: 14px;
    }

    .course-thumbnail {
        height: 180px;
    }

    .course-content {
        padding: 16px;
    }

    .course-content h3 {
        font-size: 16px;
    }

    .course-content p {
        font-size: 14px;
    }

    .course-footer {
        flex-direction: column;
        gap: 12px;
    }

    .btn-start-course {
        width: 100%;
        justify-content: center;
    }

    /* Filter Tabs */
    .filter-tab {
        font-size: 13px;
        padding: 8px 16px;
    }

    /* Lesson Modal */
    .lesson-modal-content {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .close-lesson {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .lesson-video-container {
        height: 200px;
    }

    .lesson-details {
        padding: 16px;
    }

    .lesson-header h2 {
        font-size: 16px;
    }

    .lesson-header p {
        font-size: 14px;
    }

    .lesson-tabs {
        overflow-x: auto;
        gap: 8px;
    }

    .lesson-tab {
        font-size: 13px;
        padding: 8px 14px;
        white-space: nowrap;
    }

    .chapter {
        padding: 12px;
        font-size: 14px;
    }

    .lesson-navigation {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }

    .btn-nav-lesson,
    .btn-complete-lesson {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    /* Exercise */
    .exercise-header h3 {
        font-size: 16px;
    }

    .question-text {
        font-size: 15px;
    }

    .option-item {
        padding: 14px;
        font-size: 14px;
    }

    .btn-prev-question,
    .btn-next-question,
    .btn-submit-exercise {
        padding: 14px 20px;
        font-size: 14px;
    }

    /* Exercise Result Modal */
    .exercise-result-content {
        padding: 32px 24px;
    }

    .result-icon i {
        font-size: 60px;
    }

    .result-title {
        font-size: 24px;
    }

    .score-value {
        font-size: 48px;
    }

    /* ===== SALES PAGE ===== */

    /* Header */
    .sales-header {
        height: 60px;
    }

    .sales-header img {
        height: 28px;
    }

    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 40px 20px 60px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 15px;
        width: 100%;
        margin-bottom: 28px;
    }

    .hero-content .btn-wrapper {
        margin-bottom: 32px;
        width: 100%;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }

    .hero-pills-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .seal-pill {
        justify-content: flex-start;
        width: 100%;
    }

    .pill-icon-circle {
        width: 36px;
        height: 36px;
    }

    .pill-text {
        font-size: 13px;
    }

    .pill-text strong {
        font-size: 14px;
    }

    .pill-text.multiline {
        flex-direction: row;
        gap: 5px;
    }

    /* Benefits */
    .about-section {
        padding: 40px 20px;
    }

    .benefit-card {
        min-height: 280px;
        padding: 24px;
        border-radius: 20px;
    }

    .benefit-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .benefit-desc {
        font-size: 15px;
        max-width: 60%;
    }

    .benefit-icon {
        width: 120px;
        height: 120px;
        bottom: 16px;
        right: 16px;
    }

    /* Partners */
    .partners-marquee-section {
        padding: 40px 0;
    }

    .partners-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .partners-title {
        font-size: 26px;
    }

    .partners-title br {
        display: none;
    }

    .partner-item {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }

    .partner-row {
        gap: 16px;
    }

    .partners-display {
        gap: 16px;
    }

    /* Plans */
    .plans-section {
        padding: 40px 20px;
    }

    .plan-card {
        padding: 24px;
        border-radius: 24px;
        margin-bottom: 20px;
    }

    .plan-title {
        font-size: 28px;
    }

    .plan-features {
        gap: 10px;
    }

    .plan-features li {
        font-size: 14px;
        gap: 10px;
    }

    .plan-notes {
        margin-top: 16px;
    }

    .plan-notes p {
        font-size: 11px;
    }

    .plan-actions {
        gap: 12px;
    }

    .btn-plan-action {
        padding: 16px 20px;
        font-size: 14px;
        border-radius: 20px;
    }

    .btn-plan-action i {
        font-size: 16px;
    }

    /* Popup */
    .popup-content {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .popup-content h3 {
        font-size: 20px;
    }

    .radio-option {
        padding: 14px 16px;
    }

    /* Footer */
    .footer-wrapper {
        padding: 40px 20px;
    }

    .footer-tagline {
        font-size: 14px;
    }

    .footer-col-title {
        font-size: 16px;
    }

    .btn-store-custom {
        padding: 10px 16px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-copyright {
        padding: 20px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

/* ----------------------------------------
   SMALL MOBILE (max-width: 480px)
   ---------------------------------------- */
@media screen and (max-width: 480px) {

    /* Mobile Menu Button */
    .mobile-menu-btn {
        top: 12px;
        left: 12px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    /* Main Content */
    .main-content {
        padding: 70px 24px 32px 24px;
    }

    /* Header */
    .header-title h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .premium-badge {
        font-size: 14px;
        gap: 4px;
        text-align: center;
    }

    /* Metrics */
    .metric-card {
        min-height: 110px;
        padding: 20px;
        border-radius: 16px;
    }

    .metric-label {
        font-size: 16px;
    }

    .metric-value-lg {
        font-size: 32px;
        margin-bottom: 4px;
    }

    .metric-detail {
        font-size: 16px;
    }

    .progress-container {
        height: 6px;
        margin: 8px 0;
    }

    /* Quick Actions */
    .action-card.dark {
        min-height: 130px;
        border-radius: 16px;
    }

    .action-content-centered p {
        font-size: 16px;
    }

    .action-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }

    /* Materials */
    .material-overlay {
        padding: 20px;
        font-size: 16px;
    }

    .material-overlay i {
        font-size: 18px;
    }

    .material-footer {
        padding: 12px;
    }

    .btn-download {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    /* Section Titles */
    .section-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    /* ===== MATERIAL PAGE ===== */

    /* Header Description */
    .header-title p {
        font-size: 14px;
    }

    /* Search Bar */
    .search-bar {
        padding: 10px 14px;
        gap: 10px;
    }

    .search-bar input {
        font-size: 13px;
    }

    .search-bar i {
        font-size: 14px;
    }

    /* Folders */
    .folder-card {
        padding: 12px;
        border-radius: 12px;
    }

    .folder-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
        border-radius: 12px;
    }

    .folder-info h3 {
        font-size: 16px;
    }

    .folder-info p {
        font-size: 14px;
    }

    /* Files */
    .files-list {
        padding: 10px;
    }

    .file-row {
        padding: 12px 10px;
    }

    .file-name span {
        font-size: 16px;
        word-break: break-word;
    }

    .file-icon {
        font-size: 16px;
    }

    .file-date,
    .file-size {
        font-size: 16px;
    }

    .btn-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    /* ===== METAS PAGE ===== */

    /* Insights */
    .insight-card,
    .funnel-card {
        padding: 16px;
    }

    .insight-card h3,
    .funnel-card h3 {
        font-size: 15px;
    }

    /* Goal Card */
    .goal-card-large {
        padding: 16px;
    }

    .goal-header h2 {
        font-size: 16px;
    }

    .goal-header p {
        font-size: 12px;
    }

    .circular-chart {
        width: 120px;
        max-height: 120px;
    }

    .percentage {
        font-size: 24px;
    }

    .stat-item .label {
        font-size: 11px;
    }

    .stat-item .value {
        font-size: 14px;
    }

    /* Breakdown */
    .goal-breakdown {
        padding: 14px;
    }

    .subsection-title {
        font-size: 14px;
    }

    .breakdown-info {
        font-size: 12px;
    }

    .progress-bar-sm {
        height: 5px;
    }

    /* Rewards */
    .reward-card {
        padding: 14px;
        gap: 12px;
    }

    .reward-icon {
        font-size: 24px;
    }

    .reward-card h3 {
        font-size: 13px;
    }

    .reward-card p {
        font-size: 11px;
    }

    /* ===== CALENDAR PAGE ===== */

    /* Calendar */
    .calendar-main {
        padding: 12px;
    }

    .calendar-header {
        gap: 8px;
    }

    .calendar-header h2 {
        font-size: 18px;
    }

    .btn-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .btn-primary-action {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Calendar Grid */
    .calendar-grid-header span {
        font-size: 12px;
    }

    .calendar-grid {
        gap: 2px;
    }

    .day {
        min-height: 60px;
        font-size: 14px;
        border-radius: 4px;
    }

    .event-dot {
        width: 8px;
        height: 8px;
    }

    /* Events Sidebar */
    .events-side {
        padding: 14px;
    }

    .event-card {
        gap: 10px;
        padding: 10px 0;
    }

    .event-date {
        padding: 4px 8px;
    }

    .day-num {
        font-size: 16px;
    }

    .month-short {
        font-size: 12px;
    }

    .event-details h4 {
        font-size: 18px;
    }

    .event-details p {
        font-size: 16px;
    }

    /* Modals */

    .day-modal-content {
        max-width: 90%;
    }

    .day-modal-number {
        font-size: 28px;
    }

    .day-modal-weekday {
        font-size: 13px;
    }

    .close-day-modal,
    .close-event-form {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .btn-add-event-day {
        padding: 14px;
        font-size: 14px;
    }

    /* Event Form */
    .event-type-badge {
        font-size: 12px;
        padding: 8px 12px;
    }

    .color-dot {
        width: 28px;
        height: 28px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-input {
        font-size: 14px;
        padding: 12px;
    }

    /* ===== TRAINING PAGE ===== */

    /* Progress Card */
    .progress-card-main {
        padding: 16px;
    }

    .progress-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .progress-text h3 {
        font-size: 16px;
    }

    .progress-text p {
        font-size: 14px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Continue Section */
    .continue-card {
        padding: 14px;
    }

    .continue-thumbnail {
        height: 160px;
    }

    .continue-info h3 {
        font-size: 15px;
    }

    .continue-info p {
        font-size: 14px;
    }

    .course-category {
        font-size: 12px;
    }

    .btn-continue {
        padding: 14px 20px;
        font-size: 14px;
    }

    /* Categories - 1 column */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .category-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .category-card h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .category-card p {
        font-size: 13px;
    }

    /* Courses */
    .course-thumbnail {
        height: 160px;
    }

    .course-badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .course-duration {
        font-size: 12px;
        padding: 4px 10px;
    }

    .course-content {
        padding: 14px;
    }

    .course-content h3 {
        font-size: 15px;
    }

    .course-content p {
        font-size: 14px;
    }

    .course-category-tag {
        font-size: 11px;
    }

    .course-rating span {
        font-size: 13px;
    }

    .course-lessons span {
        font-size: 13px;
    }

    .btn-start-course {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Filter Tabs */
    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        font-size: 14px;
        padding: 10px 16px;
    }

    /* Lesson Modal */
    .lesson-video-container {
        height: 180px;
    }

    .lesson-header h2 {
        font-size: 16px;
    }

    .lesson-category {
        font-size: 12px;
    }

    .lesson-tab {
        font-size: 14px;
        padding: 10px 16px;
    }

    .chapter {
        font-size: 14px;
    }

    .chapter-time {
        font-size: 12px;
    }

    .resource-item span {
        font-size: 14px;
    }

    .btn-download-sm {
        width: 36px;
        height: 36px;
    }

    .btn-nav-lesson {
        font-size: 14px;
    }

    .btn-complete-lesson {
        font-size: 14px;
    }

    /* Exercise */
    .exercise-header h3 {
        font-size: 16px;
    }

    .question-text {
        font-size: 16px;
    }

    .option-item {
        padding: 16px;
        font-size: 14px;
    }

    .option-marker {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .option-text {
        font-size: 14px;
    }

    .exercise-actions button {
        font-size: 14px;
        padding: 14px 20px;
    }

    /* Exercise Result */
    .exercise-result-content {
        padding: 28px 20px;
    }

    .result-icon {
        width: 80px;
        height: 80px;
    }

    .result-icon i {
        font-size: 48px;
    }

    #resultTitle {
        font-size: 22px;
    }

    #resultMessage {
        font-size: 14px;
    }

    .score-value {
        font-size: 44px;
    }

    .score-label {
        font-size: 14px;
    }

    .btn-retry,
    .btn-continue-lesson {
        padding: 14px 24px;
        font-size: 14px;
    }

    /* ===== SALES PAGE ===== */

    /* Hero Section */
    .hero-section {
        padding: 32px 24px 48px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .btn-action {
        padding: 14px 20px;
        font-size: 16px;
        margin-bottom: 24px;
    }

    .icon-container {
        width: 40px;
        height: 40px;
    }

    .seal-pill {
        padding: 3px 14px 3px 3px;
        gap: 10px;
        border-radius: 40px;
    }

    .pill-icon-circle {
        width: 48px;
        height: 48px;
    }

    .pill-icon-circle svg {
        width: 24px;
        height: 24px;
    }

    .pill-text {
        font-size: 16px;
    }

    .pill-text strong {
        font-size: 16px;
    }

    /* Benefits */
    .about-section {
        padding: 32px 24px;
    }

    .benefit-card {
        min-height: 250px;
        padding: 20px;
        border-radius: 16px;
    }

    .benefit-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .benefit-desc {
        font-size: 16px;
        max-width: 80%;
    }

    .benefit-icon {
        width: 100px;
        height: 100px;
        bottom: 12px;
        right: 12px;
    }

    /* Partners */
    .partners-marquee-section {
        padding: 32px 0;
    }

    .partners-header {
        margin-bottom: 32px;
    }

    .partners-title {
        font-size: 22px;
    }

    .partner-item {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }

    .partner-row {
        gap: 12px;
    }

    .partners-display {
        gap: 12px;
    }

    /* Plans */
    .plans-section {
        padding: 32px 24px;
    }

    .plan-card {
        padding: 20px;
        border-radius: 20px;
        margin-bottom: 16px;
    }

    .plan-title {
        font-size: 32px;
    }

    .plan-features li {
        font-size: 14px;
        gap: 8px;
    }

    .plan-features li i {
        font-size: 16px;
    }

    .plan-notes p {
        font-size: 12px;
    }

    .plan-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .btn-plan-action {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 20px;
    }

    .btn-plan-action i {
        font-size: 16px;
    }

    /* Popup */
    .popup-content {
        padding: 24px 20px;
        width: 95%;
    }

    .popup-content h3 {
        font-size: 18px;
    }

    .popup-content p {
        font-size: 14px;
    }

    .popup-section label {
        font-size: 13px;
    }

    .radio-option {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .radio-label {
        font-size: 14px;
    }

    .btn-confirm {
        padding: 14px;
        font-size: 15px;
    }

    /* Footer */

    .footer-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        justify-self: center;
    }

    .footer-col {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-tagline {
        margin-bottom: 32px;
    }

    .logo-footer img {
        height: 44px;
    }

    .footer-tagline {
        font-size: 14px;
    }

    .social-label {
        font-size: 16px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .footer-col-title {
        font-size: 16px;
    }

    .btn-store-custom {
        padding: 12px 16px;
        min-width: 170px;
        justify-content: center;
    }

    .txt-small {
        font-size: 12px;
    }

    .txt-large {
        font-size: 16px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .trust-badges {
        gap: 16px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .badge-item img {
        height: 64px;
    }

    .marquee-text {
        font-size: 80px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

/* =========================================
   PÁGINA DE AULA - LESSON PAGE STYLES
   ========================================= */

.lesson-page-body {
    background-color: #fefcfb;
    min-height: 100vh;
    font-family: var(--font-family-primary);
    overflow-x: hidden;
}

/* Header Simplificado */
.lesson-header {
    height: 80px;
    background-color: #16514b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.lesson-header-left {
    display: flex;
    align-items: center;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-back:hover {
    opacity: 0.8;
}

.btn-back i {
    font-size: 20px;
}

.lesson-header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.lesson-logo {
    height: 32px;
}

.lesson-header-right {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
}

.user-name {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border: 2px solid #fefcfb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Layout Principal */
.lesson-layout {
    display: flex;
    width: 100%;
}

.lesson-main {
    flex: 1;
    padding: 32px 60px 60px;
    margin-top: 80px;
    margin-right: 588px;
}

.lesson-sidebar {
    width: 600px;
    border-left: 2px solid #16514b48;
    background-color: #fefcfb;
    padding: 0;
    position: fixed;
    right: 0;
    top: 80px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.lesson-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 36px;
}

/* Breadcrumb */
.lesson-breadcrumb {
    margin-bottom: 8px;
}

.breadcrumb-category {
    color: #81bb3f;
    font-size: 16px;
    font-weight: 500;
}

/* Título e Navegação */
.lesson-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.lesson-title-row h1 {
    font-size: 32px;
    color: #16514b;
    font-weight: 500;
}

.lesson-nav-arrows {
    display: flex;
    gap: 12px;
}

.btn-arrow {
    width: 43px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #16514b;
    background: transparent;
    color: #16514b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-arrow:hover {
    background: #16514b;
    color: white;
}

.btn-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Player de Vídeo */
.lesson-video-wrapper {
    margin-bottom: 32px;
}

.lesson-video-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #d9d9d9;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.lesson-video-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-btn-circle {
    width: 106px;
    height: 106px;
    background: rgba(22, 81, 75, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.play-btn-circle i {
    font-size: 36px;
    color: white;
    margin-left: 8px;
}

.play-btn-overlay:hover .play-btn-circle {
    transform: scale(1.1);
    background: rgba(22, 81, 75, 1);
}

/* Info da Aula */
.lesson-info-section {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.lesson-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.lesson-info-header h2 {
    font-size: 20px;
    color: #16514b;
    font-weight: 500;
}

.btn-complete {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    background: #16514b;
    color: #fefcfb;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-complete:hover {
    background: #1a5f57;
}

.btn-complete.completed {
    background: #81bb3f;
}

/* Tabs */
.lesson-info-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.info-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #16514b;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 24px;
    transition: all 0.2s;
}

.info-tab:hover {
    background: rgba(129, 187, 63, 0.1);
}

.info-tab.active {
    background: #81bb3f;
    color: #fefcfb;
}

/* Tab Panels */
.lesson-tab-panels {
    min-height: 100px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

#descriptionPanel p {
    font-size: 16px;
    color: #16514b;
    line-height: 1.7;
}

/* Materiais */
.materials-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.2s;
}

.material-item:hover {
    background: #f0f1f2;
}

.material-item i {
    font-size: 24px;
    color: #16514b;
}

.material-item i.fa-file-pdf {
    color: #e74c3c;
}

.material-item i.fa-file-word {
    color: #3498db;
}

.material-item span {
    flex: 1;
    font-size: 15px;
    color: #16514b;
    font-weight: 500;
}

.btn-download-material {
    width: 40px;
    height: 40px;
    border: none;
    background: #16514b;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-download-material:hover {
    background: #81bb3f;
}

.btn-download-material i {
    font-size: 20px;
    color: #fefcfb;
}

/* Exercícios e Quiz */
.exercise-start {
    text-align: center;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.exercise-start i {
    font-size: 24px;
    color: #fefcfb;
}

.exercise-start h3 {
    font-size: 24px;
    color: #16514b;
    margin-bottom: 12px;
    font-weight: 600;
}

.exercise-start p {
    color: #666;
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.6;
}

.btn-start-exercise {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #81bb3f;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(129, 187, 63, 0.3);
}

.btn-start-exercise:hover {
    background: #73a936;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(129, 187, 63, 0.4);
}

/* Quiz Styles */
.quiz-container {
    max-width: 700px;
    margin: 40px auto;
}

.quiz-header-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.quiz-progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: #81bb3f;
    transition: width 0.3s ease;
}

.quiz-question-card h3 {
    font-size: 20px;
    color: #16514b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    color: #495057;
    position: relative;
}

.quiz-option:hover {
    border-color: #81bb3f;
    background: rgba(129, 187, 63, 0.05);
}

.quiz-option.selected {
    border-color: #16514b;
    background: rgba(22, 81, 75, 0.05);
    font-weight: 500;
    color: #16514b;
}

.quiz-option.correct {
    border-color: #81bb3f !important;
    background: #f0fdf4 !important;
    color: #1a5f57 !important;
}

.quiz-option.correct::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    color: #81bb3f;
}

.quiz-option.wrong {
    border-color: #e74c3c !important;
    background: #fdf2f2 !important;
    color: #c0392b !important;
}

.quiz-option.wrong::after {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    color: #e74c3c;
}

.quiz-footer {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

.btn-quiz-action {
    padding: 14px 28px;
    background: #16514b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-quiz-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
}

.btn-quiz-action:hover:not(:disabled) {
    background: #12423d;
}

/* Quiz Result */
.quiz-result {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    max-width: 500px;
    margin: 0 auto;
}

.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
}

.result-icon.success {
    background: #e6fffa;
    color: #81bb3f;
}

.result-icon.failure {
    background: #fff5f5;
    color: #e74c3c;
}

.quiz-result h3 {
    font-size: 28px;
    color: #16514b;
    margin-bottom: 12px;
}

.quiz-result p {
    color: #666;
    margin-bottom: 32px;
    font-size: 18px;
}

/* Sidebar de Aulas */
.sidebar-toggle-mobile {
    display: none;
}

.sidebar-category {
    margin-bottom: 24px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px 16px 24px 16px;
    border-bottom: 2px solid #4b4b4b44;
    border-radius: 3px;
}

.category-header h3 {
    font-size: 24px;
    color: #16514b;
    font-weight: 500;
}

.category-header i {
    color: #16514b;
    font-size: 16px;
    transition: transform 0.3s;
}

.sidebar-category.expanded .category-header i {
    transform: rotate(180deg);
}

.category-lessons {
    display: none;
    padding-top: 16px;
}

.sidebar-category.expanded .category-lessons {
    display: block;
}

.sidebar-lesson {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

.sidebar-lesson:hover {
    background: rgba(217, 217, 217, 0.3);
}

.sidebar-lesson.active {
    background: rgba(217, 217, 217, 0.3);
    border: 1px solid #16514b;
}

.lesson-thumb {
    width: 179px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.lesson-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37px;
    height: 36px;
    background: rgba(22, 81, 75, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-play i {
    font-size: 12px;
    color: white;
    margin-left: 2px;
}

.lesson-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 55%;
}

.lesson-name {
    font-size: 20px;
    color: #16514b;
    font-weight: 500;
}

.lesson-status {
    font-size: 18px;
    color: #999;
}

.lesson-status.completed {
    color: #81bb3f;
}

/* Overlay Mobile */
.lesson-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.lesson-sidebar-overlay.active {
    display: block;
}

/* =========================================
   LESSON PAGE - RESPONSIVE
   ========================================= */

@media (max-width: 1400px) {
    .lesson-main {
        padding: 24px 40px 40px;
        margin-right: 450px;
    }

    .lesson-sidebar {
        width: 450px;
    }

    .lesson-thumb {
        width: 140px;
        height: 90px;
    }

    .lesson-name {
        font-size: 16px;
    }
}

@media (max-width: 1100px) {
    .lesson-page-body {
        overflow-y: auto;
        height: auto;
    }

    .lesson-layout {
        flex-direction: column;
    }

    .lesson-main {
        max-width: 100%;
        padding: 24px;
        margin: 0;
    }

    .lesson-sidebar {
        width: 100%;
        border-left: none;
        border-top: 3px solid #16514b;
        position: relative;
        top: 0;
        height: auto;
    }

    .lesson-sidebar-content {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .lesson-header {
        height: 80px;
        padding: 0 20px;
    }

    .lesson-layout {
        margin-top: 80px;
        height: auto;
    }

    .btn-back span {
        display: none;
    }

    .lesson-header-center {
        position: relative;
        left: auto;
        transform: none;
    }

    .lesson-logo {
        height: 28px;
    }

    .user-name {
        display: none;
    }

    .lesson-main {
        padding: 16px;
        height: auto;
        overflow-y: visible;
        margin-right: 0;
    }

    .lesson-title-row h1 {
        font-size: 22px;
    }

    .lesson-info-section {
        padding: 20px;
    }

    .lesson-info-tabs {
        flex-wrap: wrap;
    }
    
    .lesson-info-header h2 {
        font-size: 18px;
    }

    .info-tab {
        padding: 10px 16px;
        font-size: 14px;
    }

    .lesson-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        z-index: 1000;
        transition: right 0.3s ease;
        border-left: 3px solid #16514b;
        border-top: none;
    }

    .lesson-sidebar.open {
        right: 0;
    }

    .sidebar-toggle-mobile {
        display: flex;
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 56px;
        height: 56px;
        background: #16514b;
        color: white;
        border: none;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 998;
    }

    .lesson-thumb {
        width: 100px;
        height: 70px;
        border-radius: 12px;
    }

    .lesson-name {
        font-size: 14px;
    }

    .category-header h3 {
        font-size: 18px;
    }

    .lesson-sidebar-content {
        max-height: none;
        height: 100%;
        padding-top: 20px;
    }
}