/* LoveMsgs Custom Styles */
:root {
    --primary-color: #e91e63;
    --primary-light: #f8bbd9;
    --primary-dark: #ad1457;
    --secondary-color: #ff6b9d;
    --accent-color: #ff8a80;
    --romantic-pink: #fce4ec;
    --warm-red: #f44336;
    --soft-purple: #9c27b0;
    --lavender: #e1bee7;
    --peach: #ffcdd2;
    --coral: #ff7043;
    --rose-gold: #e8b4cb;
    --blush: #ffebee;
    --champagne: #f7e7ce;
    --gold: #ffd700;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --info-color: #2196f3;
    --light-gray: #f5f5f5;
    --medium-gray: #9e9e9e;
    --dark-gray: #424242;
    --shadow: 0 4px 20px rgba(233, 30, 99, 0.15);
    --shadow-hover: 0 8px 30px rgba(233, 30, 99, 0.25);
    --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gradient-romantic: linear-gradient(135deg, #e91e63 0%, #ff6b9d 50%, #ff8a80 100%);
    --gradient-soft: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 50%, #fff 100%);
    --gradient-sunset: linear-gradient(135deg, #ff7043 0%, #ff6b9d 50%, #e91e63 100%);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background: linear-gradient(180deg, #ffffff 0%, var(--blush) 50%, var(--lavender) 100%);
    min-height: 100vh;
}

/* Animated Background Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 138, 128, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Milestone Celebration Animations */
@keyframes heart-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes star-shower {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

@keyframes confetti {
    0% { transform: translateY(-100vh) rotateX(0deg) rotateY(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotateX(720deg) rotateY(360deg); opacity: 0; }
}

@keyframes diamond-sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    25% { transform: scale(1.1) rotate(90deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
    75% { transform: scale(1.1) rotate(270deg); opacity: 0.8; }
}

@keyframes champagne-celebration {
    0% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-20px) scale(1.1); }
    50% { transform: translateY(-30px) scale(1.2); }
    75% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes rose-petals {
    0% { transform: translateY(-50px) rotateZ(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotateZ(180deg); opacity: 0; }
}

@keyframes gift-unwrap {
    0% { transform: scale(1) rotateY(0deg); }
    25% { transform: scale(1.1) rotateY(90deg); }
    50% { transform: scale(1.2) rotateY(180deg); }
    75% { transform: scale(1.1) rotateY(270deg); }
    100% { transform: scale(1) rotateY(360deg); }
}

@keyframes birthday-candles {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes heart-explosion {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.5) rotate(180deg); opacity: 0.8; }
    100% { transform: scale(2) rotate(360deg); opacity: 0; }
}

@keyframes cupid-arrow {
    0% { transform: translateX(-100vw) rotate(-45deg); }
    100% { transform: translateX(100vw) rotate(-45deg); }
}

@keyframes snow-fall {
    0% { transform: translateY(-100vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Milestone Cards */
.milestone-card {
    background: var(--gradient-soft);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.milestone-card.achieved {
    background: var(--gradient-romantic);
    color: white;
}

.milestone-card.today {
    background: var(--gradient-sunset);
    color: white;
    animation: heart-pulse 2s infinite;
}

.milestone-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.milestone-progress-fill {
    height: 100%;
    background: var(--gradient-romantic);
    border-radius: 4px;
    transition: width 1s ease;
}

.milestone-emoji {
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.milestone-days {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.celebration-particle {
    position: absolute;
    pointer-events: none;
}

.celebration-heart {
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: heart-pulse 1s infinite;
}

.celebration-star {
    color: var(--gold);
    font-size: 1rem;
    animation: star-shower 3s linear infinite;
}

.celebration-confetti {
    width: 10px;
    height: 10px;
    animation: confetti 3s linear infinite;
}

.celebration-confetti.pink { background: var(--primary-color); }
.celebration-confetti.gold { background: var(--gold); }
.celebration-confetti.coral { background: var(--coral); }

/* Achievement Badge Styles */
.achievement-badge {
    background: var(--gradient-soft);
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.achievement-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.achievement-emoji {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.25rem;
}

.milestone-celebration {
    background: var(--gradient-romantic);
    border: none;
    color: white;
    animation: heart-pulse 2s infinite;
}

.section-header {
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

/* Milestone Card Styles */
.milestone-card {
    background: var(--gradient-soft);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.milestone-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.milestone-days {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-romantic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Playfair Display', serif;
}

.milestone-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.milestone-progress-fill {
    height: 100%;
    background: var(--gradient-romantic);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Celebration Overlay and Particles */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.celebration-particle {
    position: absolute;
    pointer-events: none;
    font-size: 1.5rem;
    z-index: 10000;
}

.celebration-heart {
    animation: heart-float 3s ease-in-out infinite;
}

.celebration-star {
    animation: star-shower 4s linear;
}

/* Advanced Animation Keyframes */
@keyframes heart-float {
    0% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) rotate(10deg) scale(1.1);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(-40px) rotate(20deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes star-shower {
    0% { 
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes diamond-sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: scale(1.3) rotate(90deg);
        opacity: 0.7;
    }
    50% { 
        transform: scale(0.8) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: scale(1.2) rotate(270deg);
        opacity: 0.8;
    }
}

@keyframes champagne-celebration {
    0% { 
        transform: translateY(0) rotate(0deg);
    }
    20% { 
        transform: translateY(-10px) rotate(5deg);
    }
    40% { 
        transform: translateY(-5px) rotate(-5deg);
    }
    60% { 
        transform: translateY(-15px) rotate(10deg);
    }
    100% { 
        transform: translateY(-10px) rotate(0deg);
    }
}

@keyframes rose-petals {
    0% { 
        transform: translateY(-100vh) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(50vh) rotate(180deg) scale(0.8);
        opacity: 0.7;
    }
    100% { 
        transform: translateY(100vh) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}

@keyframes gift-unwrap {
    0% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.2) rotate(-5deg);
        opacity: 0.8;
    }
    75% { 
        transform: scale(1.3) rotate(10deg);
        opacity: 0.7;
    }
    100% { 
        transform: scale(1.5) rotate(0deg);
        opacity: 0;
    }
}

@keyframes birthday-candles {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

@keyframes heart-explosion {
    0% { 
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }
    100% { 
        transform: translate(var(--random-x, 0), var(--random-y, 0)) scale(1);
        opacity: 0;
    }
}

@keyframes cupid-arrow {
    0% { 
        left: -100px;
        transform: rotate(45deg);
    }
    100% { 
        left: 100vw;
        transform: rotate(45deg);
    }
}

@keyframes snow-fall {
    0% { 
        transform: translateY(-100vh) translateX(0);
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh) translateX(100px);
        opacity: 0;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-gray);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 0.5rem;
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-romantic);
    border: none;
    color: white;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--gradient-sunset);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--romantic-pink);
}

.profile-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(233, 30, 99, 0.08);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(233, 30, 99, 0.15);
}

.card-header {
    background-color: var(--light-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-soft);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.08) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    margin: 2rem 0;
}

.hero-stats {
    padding: 2rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-romantic);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Message Preview */
.message-preview {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 400px;
    margin: 0 auto;
}

.message-bubble {
    padding: 1rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    max-width: 85%;
    word-wrap: break-word;
}

.message-bubble.sent {
    background-color: var(--primary-color);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message-bubble.received {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(233, 30, 99, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-romantic);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-romantic);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
}

/* Step Cards */
.step-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.testimonial-author {
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    height: 100%;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-romantic);
    opacity: 0;
    transition: var(--transition);
}

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

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

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(252, 228, 236, 0.7) 100%);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.2);
}

.pricing-card.featured::before {
    opacity: 1;
    background: var(--gradient-sunset);
    height: 8px;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

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

.currency {
    font-size: 1.2rem;
    vertical-align: top;
    color: var(--medium-gray);
}

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

.period {
    font-size: 1rem;
    color: var(--medium-gray);
}

.pricing-features {
    padding: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    margin-right: 0.5rem;
}

.pricing-footer {
    padding: 2rem;
    background: var(--light-gray);
}

/* Dashboard Styles */
.welcome-card {
    background: var(--gradient-soft);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(233, 30, 99, 0.1);
    position: relative;
    overflow: hidden;
}

.welcome-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.subscription-status {
    margin-top: 1rem;
}

.quick-stats {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.stat-icon.bg-primary {
    background: var(--primary-color);
}

.stat-icon.bg-success {
    background: var(--success-color);
}

.stat-icon.bg-info {
    background: var(--info-color);
}

.stat-icon.bg-warning {
    background: var(--warning-color);
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.stat-info p {
    color: var(--medium-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Action Cards */
.action-card {
    display: block;
    text-decoration: none;
    color: var(--dark-gray);
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.action-card:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.action-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.action-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.action-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Partner Cards */
.partner-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.partner-management-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.automation-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.automation-info {
    font-size: 0.9rem;
}

/* Message History */
.message-history-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.message-history-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.message-history-item:hover {
    background-color: var(--romantic-pink);
}

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

.message-status-icon {
    text-align: center;
    font-size: 1.5rem;
}

.message-content {
    padding-left: 1rem;
}

.message-header {
    margin-bottom: 0.5rem;
}

.message-text {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.message-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.message-actions {
    text-align: right;
}

/* Message Timeline */
.message-timeline {
    position: relative;
    padding-left: 2rem;
}

.message-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.message-item {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.message-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
}

.message-status {
    position: absolute;
    left: -1rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow);
}

/* Usage Meter */
.usage-meter {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.usage-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.usage-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.usage-count {
    font-weight: 700;
    color: var(--primary-color);
}

.progress {
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    transition: width 0.3s ease;
}

.usage-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.usage-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.usage-stat .stat-label {
    font-size: 0.8rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    font-weight: 600;
}

/* Form Styles */
.form-section {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 2rem;
}

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

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

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

.form-select {
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

/* Tag Input */
.tag-input-container {
    margin-bottom: 0.5rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-remove {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tag-remove:hover {
    opacity: 1;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--medium-gray);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3,
.empty-state h5 {
    margin-bottom: 1rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.alert-info {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--info-color);
}

/* Badges */
.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-danger {
    background-color: var(--danger-color) !important;
}

.badge.bg-warning {
    background-color: var(--warning-color) !important;
}

.badge.bg-light {
    background-color: var(--light-gray) !important;
    color: var(--dark-gray) !important;
}

/* Pagination */
.pagination {
    justify-content: center;
}

.page-link {
    color: var(--primary-color);
    border: 1px solid var(--light-gray);
    padding: 0.75rem 1rem;
    margin: 0 0.125rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.comparison-table .table {
    margin-bottom: 0;
}

.comparison-table th {
    background: var(--light-gray);
    color: var(--dark-gray);
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.comparison-table td {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Billing Stats */
.billing-summary {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

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

.billing-stat h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.billing-stat p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Error Page */
.error-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
}

.error-icon {
    margin-bottom: 2rem;
}

.error-details {
    margin: 2rem 0;
}

.error-actions {
    margin: 2rem 0;
}

.error-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 1rem 0;
    }
    
    .hero-buttons {
        margin: 1rem 0;
    }
    
    .hero-buttons .btn {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .message-history-item {
        padding: 1rem;
    }
    
    .message-history-item .row {
        flex-direction: column;
    }
    
    .message-meta {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .message-actions {
        text-align: center;
        margin-top: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .tag-list {
        justify-content: center;
    }
    
    .usage-meter {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

.pulse {
    animation: pulse 2s infinite;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow {
    box-shadow: var(--shadow-hover) !important;
}

.rounded-lg {
    border-radius: var(--border-radius) !important;
}

.transition {
    transition: var(--transition) !important;
}

/* Milestone Celebration Animations */
.milestone-celebration {
    background: linear-gradient(135deg, rgba(255, 223, 186, 0.9) 0%, rgba(255, 192, 203, 0.9) 100%);
    border: none;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.milestone-celebration::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.milestone-emoji {
    font-size: 4rem;
    display: inline-block;
    margin: 1rem 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.milestone-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.milestone-days {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.milestone-progress {
    background: var(--light-gray);
    border-radius: 20px;
    height: 12px;
    overflow: hidden;
    margin: 0.5rem 0;
    position: relative;
}

.milestone-progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 20px;
    transition: width 1s ease-out;
    position: relative;
}

.milestone-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.achievement-badge {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.achievement-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.achievement-emoji {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Celebration Effects */
.celebration-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Heart Rain Animation */
.heart-rain {
    position: absolute;
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: heart-fall 4s linear infinite;
}

@keyframes heart-fall {
    0% {
        transform: translateY(-100vh) scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
}

/* Fireworks Animation */
.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: firework 1.5s ease-out;
}

@keyframes firework {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Star Shower Animation */
.star {
    position: absolute;
    color: gold;
    font-size: 1.2rem;
    animation: star-twinkle 2s ease-in-out infinite;
}

@keyframes star-twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Mood-Based Messaging Styles */
.mood-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(252, 228, 236, 0.8) 100%);
    border: 1px solid rgba(233, 30, 99, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mood-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mood-selector {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    border: 1px dashed rgba(233, 30, 99, 0.3);
}

.mood-option {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mood-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mood-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 64, 129, 0.1) 100%);
    box-shadow: var(--shadow);
}

.mood-option.selected::before {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.mood-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
    animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.mood-name {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.mood-description {
    color: var(--medium-gray);
    font-size: 0.75rem;
    line-height: 1.3;
}

.mood-controls {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.mood-actions {
    text-align: center;
    padding: 1rem;
}

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

.mood-insights {
    background: rgba(33, 150, 243, 0.05);
    border-radius: var(--border-radius);
    padding: 1rem;
    border-left: 4px solid var(--info-color);
}

.mood-insights h6 {
    color: var(--info-color);
    margin-bottom: 1rem;
}

.mood-recommendation-item {
    background: rgba(76, 175, 80, 0.05);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--success-color);
}

.mood-recommendation-item h6 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.recommended-tone {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.125rem;
}

.mood-message-preview {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05) 0%, rgba(255, 64, 129, 0.05) 100%);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1rem;
    position: relative;
}

.mood-message-preview::before {
    content: '💕';
    position: absolute;
    top: -10px;
    left: 1rem;
    background: white;
    padding: 0 0.5rem;
    font-size: 1.2rem;
}

.mood-message-text {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.mood-message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--medium-gray);
    border-top: 1px solid rgba(233, 30, 99, 0.2);
    padding-top: 1rem;
}

.send-mood-message-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.send-mood-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

/* Loading states for mood features */
.mood-loading {
    text-align: center;
    padding: 2rem;
    color: var(--medium-gray);
}

.mood-loading .spinner-border {
    color: var(--primary-color);
}

.mood-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem;
    color: var(--danger-color);
    text-align: center;
}

/* Responsive adjustments for mood features */
@media (max-width: 768px) {
    .mood-option {
        padding: 0.75rem 0.5rem;
    }
    
    .mood-emoji {
        font-size: 2rem;
    }
    
    .mood-name {
        font-size: 0.8rem;
    }
    
    .mood-description {
        font-size: 0.7rem;
    }
    
    .mood-controls {
        padding: 1rem;
    }
    
    .mood-actions .btn {
        display: block;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .mood-message-meta {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* AI Message Generator Styles */
.ai-generator-card {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 132, 181, 0.1));
    border: 2px solid rgba(120, 119, 198, 0.2);
    box-shadow: 0 8px 32px rgba(120, 119, 198, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.ai-generator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(120, 119, 198, 0.2);
}

.ai-controls .form-select {
    border-radius: 12px;
    border: 2px solid rgba(120, 119, 198, 0.2);
    transition: all 0.3s ease;
}

.ai-controls .form-select:focus {
    border-color: #7877c6;
    box-shadow: 0 0 0 0.2rem rgba(120, 119, 198, 0.25);
}

.ai-actions .btn {
    border-radius: 15px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ai-actions .btn:hover::before {
    left: 100%;
}

.ai-results,
.ai-variations {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-message-preview {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #7877c6;
}

.message-length {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

.message-info {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.sentiment-score {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.variation-option {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(120, 119, 198, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.variation-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(120, 119, 198, 0.1), transparent);
    transition: left 0.5s ease;
}

.variation-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.2);
    border-color: #7877c6;
}

.variation-option:hover::before {
    left: 100%;
}

.variation-option.selected {
    border-color: #7877c6;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.2), rgba(255, 132, 181, 0.1));
    transform: scale(1.02);
}

.variation-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #2c3e50;
    margin-bottom: 10px;
}

.variation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.ai-loading {
    padding: 40px 20px;
}

.ai-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.ai-loading p {
    color: #7877c6;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Tone Selection Modal Styles */
.tone-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tone-card:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tone-card.border-primary {
    border-color: #0d6efd !important;
    background-color: #e7f1ff !important;
}

.tone-emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tone-option {
    transition: all 0.2s ease;
}

.tone-option:hover {
    transform: scale(1.02);
}

/* Modal styles for tone selection */
#toneSelectionModal .modal-dialog {
    max-width: 800px;
}

#toneSelectionModal .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#toneSelectionModal .card-text {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.3;
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
    
    /* Mobile Card Layouts */
    .card {
        margin-bottom: 1rem;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Mobile Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 25px;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
    
    /* Mobile Forms */
    .form-control, .form-select {
        padding: 0.75rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    /* Mobile Typography */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Mobile Spacing */
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Mobile Modals */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    /* Mobile Tone Selection */
    .tone-card {
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }
    
    .tone-emoji {
        font-size: 1.5rem;
    }
    
    /* Mobile Mood Selector */
    .mood-option {
        padding: 1rem;
        border-radius: 15px;
        margin-bottom: 0.5rem;
    }
    
    .mood-emoji {
        font-size: 2rem;
    }
    
    /* Mobile Message Display */
    .message-content {
        padding: 1rem;
        border-radius: 15px;
        margin-bottom: 0.75rem;
    }
    
    /* Mobile Statistics */
    .stat-card {
        text-align: center;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Mobile Milestone Progress */
    .milestone-progress {
        height: 8px;
        border-radius: 4px;
    }
    
    /* Touch-Friendly Elements */
    .clickable, .tone-option, .mood-option, .variation-option {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
    
    .btn {
        width: auto;
    }
    
    .modal-dialog {
        max-width: 600px;
    }
}

/* Mobile Web Optimizations */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    body {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Improved Touch Targets */
.btn, .form-control, .form-select, .card, .alert {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

/* Mobile-First Loading States */
.mobile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 2rem;
}

.mobile-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Swipe Gestures for Mobile */
.swipeable {
    touch-action: pan-y;
}

/* Mobile Success/Error Messages */
@media (max-width: 768px) {
    .alert {
        border-radius: 10px;
        margin: 0.5rem;
        font-size: 0.9rem;
    }
}
