@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- Base & Variables --- */
:root {
    --primary-color: #6366F1; /* Indigo */
    --secondary-color: #EC4899; /* Pink */
    --dark-color: #1F2937; /* Gray 800 */
    --medium-color: #4B5563; /* Gray 600 - Better contrast for WCAG AA */
    --light-color: #F3F4F6; /* Gray 100 */
    --white-color: #FFFFFF;
    --font-family: 'Inter', sans-serif;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Utility Classes --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip navigation link */
.skip-nav-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-nav-link:focus {
    left: 0;
}

/* Focus styles for better accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Remove default focus styles that will be replaced */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.button-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
.button-primary:hover {
    background-color: #4F46E5;
    border-color: #4F46E5;
    transform: translateY(-2px);
}

.button-secondary {
    background-color: var(--light-color);
    color: var(--dark-color);
    border-color: var(--light-color);
}
.button-secondary:hover {
    background-color: #E5E7EB;
    border-color: #E5E7EB;
}

.button-ghost {
    background-color: transparent;
    color: var(--dark-color);
    border-color: transparent;
}
.button-ghost:hover {
    background-color: var(--light-color);
    border-color: var(--light-color);
}

.button-primary-outline {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.button-primary-outline:hover {
    background-color: #F0F0FF;
}

.button-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
    display: block;
}

/* Welcome page specific styles */
.welcome-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F3F4F6 0%, #E0E7FF 100%);
    padding: 2rem;
}

.welcome-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.welcome-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.welcome-content .subtitle {
    font-size: 1.2rem;
    color: var(--medium-color);
    margin-bottom: 2.5rem;
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.welcome-actions .button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.welcome-note {
    font-size: 0.9rem;
    color: var(--medium-color);
}

/* Auth page styles */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    padding: 2rem;
}

.auth-content {
    max-width: 500px;
    width: 100%;
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.auth-content h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.auth-content .subtitle {
    text-align: center;
    color: var(--medium-color);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-content .subtitle a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-content .subtitle a:hover {
    text-decoration: underline;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.form-group-checkbox label {
    display: block;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group.half-width {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half-width {
        margin-bottom: 1.5rem;
    }
}

.sms-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--medium-color);
    line-height: 1.4;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-actions-row {
    display: flex;
    gap: 1rem;
}

.form-actions-row .button {
    flex: 1;
}

.error-message {
    background-color: #FEE2E2;
    color: #991B1B;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #FECACA;
    font-size: 0.9rem;
}

.success-message {
    background-color: #D1FAE5;
    color: #065F46;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #A7F3D0;
    font-size: 0.9rem;
}

/* Dashboard styles */
.dashboard-section {
    min-height: 100vh;
    background-color: var(--light-color);
}

.dashboard-nav {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--light-color);
    padding: 1rem 0;
}

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

.dashboard-nav h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-user .user-info {
    font-size: 0.9rem;
    color: var(--medium-color);
}

.dashboard-main {
    padding: 2rem 0;
}

.dashboard-content {
    background-color: var(--white-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dashboard-welcome h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.dashboard-user-info {
    margin-bottom: 2rem;
}

.dashboard-user-info p {
    margin-bottom: 0.5rem;
    color: var(--medium-color);
}

.dashboard-user-info strong {
    color: var(--dark-color);
}

.dashboard-description {
    color: var(--medium-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.dashboard-chat {
    margin-bottom: 2rem;
}

.dashboard-chat h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.dashboard-chat p {
    color: var(--medium-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.dashboard-security {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.dashboard-security h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.security-status {
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid;
}

.security-status.trusted {
    background-color: #F0FDF4;
    border-color: #22C55E;
    color: #166534;
}

.security-status.trusted {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.security-status.trusted .security-info {
    flex: 1;
}

.security-status.trusted .security-info p {
    margin: 0;
    margin-bottom: 0.25rem;
}

.security-status.trusted .security-info p:last-child {
    margin-bottom: 0;
}

.security-status.untrusted {
    background-color: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
}

.security-status p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Mobile Dashboard --- */
.mobile-dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8fafc;
}

.mobile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.hamburger-menu {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.header-spacer {
    width: 24px;
}

.slide-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.slide-menu.open {
    visibility: visible;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slide-menu.open .menu-overlay {
    opacity: 1;
}

.menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.slide-menu.open .menu-content {
    transform: translateX(0);
}

.menu-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.user-info-section {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.user-phone {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.menu-items {
    padding: 1.5rem;
}

.user-info-section,
.calendar-section,
.security-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.user-info-section:last-child,
.calendar-section:last-child,
.security-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.user-info-section h3,
.calendar-section h3,
.security-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.user-info-section p,
.calendar-section p,
.security-section p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--medium-color);
}

.security-status.trusted p:first-child {
    color: #059669;
    font-weight: 500;
}

.security-status.untrusted p {
    color: #dc2626;
}

.menu-actions {
    margin-top: 2rem;
}

.sign-out-btn {
    width: 100%;
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
}

.sign-out-btn:hover {
    background-color: #dc2626;
}

/* Mobile-friendly menu styles */
.menu-section {
    border-bottom: 1px solid #f1f5f9;
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-section-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.menu-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
}

.menu-section-header h3 {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.menu-section-content {
    padding: 1rem 1.5rem;
}

.user-detail {
    margin-bottom: 0.5rem;
    color: var(--medium-color);
    font-size: 0.95rem;
}

.user-detail:first-child {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
}

.menu-action-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: left;
    font-size: 1rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
    min-height: 44px; /* Minimum touch target size */
}

.menu-action-button:hover {
    background-color: #f8fafc;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.menu-action-button:active {
    transform: translateY(0);
}

.action-icon {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.action-text {
    flex: 1;
    font-weight: 500;
}

.action-arrow {
    color: var(--medium-color);
    font-size: 1.2rem;
}

.section-description {
    margin: 0;
    color: var(--medium-color);
    font-size: 0.85rem;
    line-height: 1.4;
}

.security-info {
    flex: 1;
}

.security-badge {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.security-badge.trusted {
    color: #059669;
}

.security-badge.untrusted {
    color: #d97706;
}

.security-detail {
    margin: 0;
    font-size: 0.8rem;
    color: var(--medium-color);
}

.security-action-button {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--medium-color);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
}

.security-action-button:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.sign-out-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    text-align: left;
    font-size: 1rem;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 1rem 1.5rem;
    width: calc(100% - 3rem);
    min-height: 44px;
}

.sign-out-button:hover {
    background-color: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

.sign-out-button:active {
    transform: translateY(0);
}

.sign-out-button .action-text {
    font-weight: 600;
}

.mobile-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    max-width: 100%;
}

.welcome-message {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.welcome-message p {
    margin: 0;
    color: var(--medium-color);
    font-size: 0.875rem;
}

.welcome-message p:first-child {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.mobile-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Mobile Chat Interface Overrides */
.mobile-chat .chat-interface {
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-chat .chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-chat .chat-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.mobile-chat .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    min-height: 300px;
    max-height: calc(100vh - 300px);
}

.mobile-chat .chat-input {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
}

.mobile-chat .chat-input-field {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Responsive adjustments */
@media (max-width: 320px) {
    .menu-content {
        width: 260px;
    }
    
    .mobile-main {
        padding: 0.75rem;
    }
}

@media (min-width: 768px) {
    .mobile-dashboard {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
}

/* Trial Signup Styles */
.trial-signup {
    max-width: 600px;
    margin: 0 auto;
}

.trial-header {
    text-align: center;
    margin-bottom: 2rem;
}

.trial-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

.trial-header .subtitle {
    color: var(--medium-color);
    font-size: 1rem;
    margin: 0;
}

.plans-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .plans-container {
        grid-template-columns: 1fr 1fr;
    }
}

.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.plan-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.plan-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8faff, #f0f4ff);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.plan-header {
    margin-bottom: 1rem;
}

.plan-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--medium-color);
}

.plan-description {
    margin: 0 0 1rem 0;
    color: var(--medium-color);
    font-size: 0.875rem;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    margin: 0.5rem 0;
    color: var(--dark-color);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 600;
    margin-right: 0.5rem;
}

.plan-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-step {
    max-width: 500px;
    margin: 0 auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-header h2 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

.selected-plan-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.selected-plan-summary span:first-child {
    font-weight: 600;
    color: var(--dark-color);
}

.selected-plan-summary span:last-child {
    color: var(--medium-color);
    font-size: 0.875rem;
}

.card-element-container {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    background: white;
    transition: border-color 0.3s ease;
}

.card-element-container:hover {
    border-color: var(--primary-color);
}

.payment-note {
    margin: 1rem 0 0 0;
    font-size: 0.875rem;
    color: var(--medium-color);
    text-align: center;
    line-height: 1.5;
}

.form-actions-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.form-actions-row .button {
    flex: 1;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--medium-color);
}

/* Family Management Modal */
.family-management-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.family-management-modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.family-management-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.family-management-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.family-management-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.family-section {
    margin-bottom: 2rem;
}

.family-section:last-child {
    margin-bottom: 0;
}

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

.section-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.button-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.members-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-card {
    background: var(--light-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.member-phone {
    font-size: 0.875rem;
    color: var(--medium-color);
}

.member-joined {
    font-size: 0.75rem;
    color: var(--medium-color);
}

.invitations-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.invitation-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.invitation-info {
    flex: 1;
}

.invitation-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.invitation-phone {
    font-size: 0.875rem;
    color: var(--medium-color);
    margin-bottom: 0.25rem;
}

.invitation-code {
    font-size: 0.875rem;
    color: var(--primary-color);
}

.invitation-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.invitation-expires {
    font-size: 0.75rem;
    color: var(--medium-color);
}

.invite-form {
    background: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
}

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

.family-limit-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.family-limit-notice p {
    margin: 0 0 0.5rem 0;
    color: #92400e;
}

.family-limit-notice p:last-child {
    margin-bottom: 0;
}

/* Invitation Prompt Styles */
.invitation-prompt {
    text-align: center;
    margin: 1rem 0;
}

.invitation-prompt p {
    margin: 0;
    color: var(--medium-color);
    font-size: 0.875rem;
}

.link-button {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    font-size: inherit;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link-button:hover {
    color: #4F46E5;
}

.form-hint {
    margin: 0.5rem 0 0 0;
    font-size: 0.75rem;
    color: var(--medium-color);
}

.invitation-option {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--dark-color);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Calendar Settings Modal */
.calendar-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.calendar-settings-modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.calendar-settings-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-settings-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.calendar-settings-content {
    padding: 1.5rem;
}

.setting-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.setting-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.setting-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.setting-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.setting-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.setting-toggle span {
    font-size: 0.875rem;
    color: var(--dark-color);
}

.no-calendars {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--medium-color);
}

.no-calendars p {
    margin-bottom: 1rem;
}

.calendars-list {
    margin-bottom: 1rem;
}

.calendar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.calendar-item:last-child {
    margin-bottom: 0;
}

.calendar-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calendar-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.calendar-name {
    font-weight: 500;
    color: var(--dark-color);
}

.default-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.calendar-actions .button.small {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

.sync-info {
    font-size: 0.875rem;
    color: var(--medium-color);
    line-height: 1.5;
}

/* Chat Interface Styles */
.chat-interface {
    background-color: var(--white-color);
    border-radius: 12px;
    border: 1px solid var(--light-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.chat-header {
    background-color: var(--light-color);
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-message.user {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-message.assistant {
    align-self: flex-start;
    align-items: flex-start;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.4;
}

.chat-message.user .message-content {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.chat-message.assistant .message-content {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid #E5E7EB;
}

.chat-message.loading .message-content {
    background-color: #F3F4F6;
    color: var(--medium-color);
}

.message-time {
    font-size: 0.75rem;
    color: var(--medium-color);
    margin-top: 0.25rem;
    padding: 0 0.5rem;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--medium-color);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

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

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input {
    border-top: 1px solid #E5E7EB;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    background-color: var(--white-color);
}

.chat-input-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.chat-input-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.chat-input-field:disabled {
    background-color: #F9FAFB;
    color: var(--medium-color);
    cursor: not-allowed;
}

.chat-send-button {
    padding: 0.75rem 1rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-button:hover:not(:disabled) {
    background-color: #4F46E5;
    transform: scale(1.05);
}

.chat-send-button:disabled {
    background-color: var(--medium-color);
    cursor: not-allowed;
    transform: none;
}

.chat-error {
    background-color: #FEE2E2;
    color: #991B1B;
    padding: 0.75rem 1rem;
    margin: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #FECACA;
    font-size: 0.9rem;
}

/* Scrollbar styling for chat messages */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #F3F4F6;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Family Setup Styles */
.family-setup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    padding: 2rem;
}

.family-setup-content {
    max-width: 500px;
    width: 100%;
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.setup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.setup-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.setup-header p {
    color: var(--medium-color);
    font-size: 1rem;
    line-height: 1.5;
}

.setup-form {
    margin-bottom: 2rem;
}

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

.setup-form .form-group small {
    display: block;
    color: var(--medium-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.setup-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.setup-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.setup-info {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.setup-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.setup-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.setup-info li {
    color: var(--medium-color);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Header styles */
.site-header {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--light-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--medium-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F3F4F6 0%, #E0E7FF 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--medium-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* How it works section */
.how-it-works-section {
    padding: 5rem 0;
    background-color: var(--white-color);
}

.how-it-works-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.section-intro {
    font-size: 1.2rem;
    color: var(--medium-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.example-texts {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: center;
}

.example-texts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.example-texts blockquote {
    background-color: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-style: italic;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 12px;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step p {
    color: var(--medium-color);
    line-height: 1.6;
}

/* Features section */
.features-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.features-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.features-intro {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.features-intro h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.features-intro ul {
    list-style: none;
    padding: 0;
}

.features-intro li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.features-intro .fas {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.features-use-case-heading {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

/* Security section */
.security-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

.security-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.security-section h2 i {
    color: var(--primary-color);
    font-size: 2.2rem;
}

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

.security-content p {
    text-align: center;
    color: var(--medium-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.security-content ul {
    list-style: none;
    padding: 0;
}

.security-content li {
    background-color: var(--light-color);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.security-content li strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.25rem;
}

.security-content p {
    font-size: 1.1rem;
    color: var(--medium-color);
    text-align: center;
    margin-bottom: 2rem;
}

.security-content ul {
    list-style: none;
    padding: 0;
}

.security-content li {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.security-content strong {
    color: var(--dark-color);
}

/* Pricing section */
.pricing-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    text-align: center;
    color: var(--medium-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

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

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-term {
    font-size: 1rem;
    font-weight: 400;
    color: var(--medium-color);
}

.plan-description {
    color: var(--medium-color);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.features-list .fas {
    color: var(--primary-color);
    flex-shrink: 0;
}

.pricing-card.waitlist .price {
    font-size: 1.5rem;
    color: var(--medium-color);
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.pricing-card.waitlist .features-list i.fa-file-invoice-dollar,
.pricing-card.waitlist .features-list i.fa-plus {
    color: var(--medium-color);
}

/* FAQ section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 768px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white-color);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    position: relative;
    color: var(--dark-color);
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--medium-color);
}

.faq-item[open] > .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--medium-color);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    text-decoration: none;
}

.faq-item[open] {
    border-color: var(--primary-color);
}

.faq-list {
    max-width: 768px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--medium-color);
    line-height: 1.6;
}

/* CTA section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    text-align: center;
}

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

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

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .welcome-content h1 {
        font-size: 2.5rem;
    }
    
    .welcome-content .subtitle {
        font-size: 1.1rem;
    }
    
    .auth-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .auth-content h2 {
        font-size: 1.75rem;
    }
    
    .form-actions-row {
        flex-direction: column;
    }
    
    .dashboard-nav .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .dashboard-user {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dashboard-content {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .welcome-actions .button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .auth-content {
        padding: 1.5rem;
    }
    
    .dashboard-content {
        padding: 1.5rem;
    }
}