/* Tips & Tricks Page Styles */

/* Hero Section */
.tips-hero {
    background: linear-gradient(135deg, #b99cf4 0%, #7bb5cf 100%);
    color: white;
    padding: 100px 0 60px;
    margin-top: -90px;
    padding-top: 150px;
    margin-bottom: 0;
}

.tips-hero h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.tips-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

.tips-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* Cards Section */
.tips-cards-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.tip-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.tip-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.tip-card:hover .tip-card-icon {
    transform: scale(1.1);
}

.tip-card-icon i {
    font-size: 2rem;
    color: white;
}

.tip-card-icon.getting-started {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.tip-card-icon.voice {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.tip-card-icon.writing {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.tip-card-icon.stress {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.tip-card-icon.privacy {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.tip-card-icon.video {
    background: linear-gradient(135deg, #b99cf4, #7bb5cf);
}

.tip-card h4 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tip-card .card-link {
    color: var(--primary-color, #6366f1);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}

.tip-card:hover .card-link {
    gap: 0.7rem;
}

/* Modal Styles */
.tips-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.tips-modal .modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
}

.tips-modal .modal-header .modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.tips-modal .modal-header .modal-icon i {
    font-size: 1.3rem;
    color: white;
}

.tips-modal .modal-title {
    font-weight: 700;
    font-size: 1.4rem;
    color: #1e293b;
}

.tips-modal .modal-body {
    padding: 1rem 2rem 2rem;
}

.tips-modal .modal-footer {
    border-top: none;
    padding: 0 2rem 2rem;
}

/* Tip Steps */
.tip-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.tip-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b99cf4, #7bb5cf);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tip-step-content h6 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.tip-step-content p {
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Tip Highlights */
.tip-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.tip-highlight i {
    color: var(--primary-color, #6366f1);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tip-highlight p {
    margin-bottom: 0;
    color: #475569;
    line-height: 1.5;
}

/* Example prompts */
.example-prompt {
    background: #f1f5f9;
    border-left: 3px solid #b99cf4;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0.75rem;
    font-style: italic;
    color: #475569;
}

/* Video Container */
.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 1.5rem;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.video-placeholder p {
    opacity: 0.6;
    margin-bottom: 0;
}

/* CTA Section */
.tips-cta-section {
    background: linear-gradient(135deg, #b99cf4 0%, #7bb5cf 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.tips-cta-section h2 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.tips-cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.tips-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #6366f1;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tips-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #6366f1;
    text-decoration: none;
}

/* Section title */
.tips-section-title {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.tips-section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tips-hero {
        padding: 80px 0 40px;
    }

    .tips-hero h1 {
        font-size: 2rem;
    }

    .tips-cards-section {
        padding: 2.5rem 0;
    }

    .tip-card {
        padding: 2rem 1.5rem;
    }

    .tip-card-icon {
        width: 65px;
        height: 65px;
    }

    .tip-card-icon i {
        font-size: 1.5rem;
    }

    .tips-modal .modal-header,
    .tips-modal .modal-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .tips-cta-section {
        padding: 3rem 0;
    }
}

/* Dark Mode */
.dark-mode .tips-hero {
    background: linear-gradient(135deg, #222831 0%, #393e46 100%);
}

.dark-mode .tips-cards-section {
    background: #222831;
}

.dark-mode .tip-card {
    background: #393e46;
    border-color: #555;
}

.dark-mode .tip-card h4 {
    color: #f8f9fa;
}

.dark-mode .tip-card p {
    color: #adb5bd;
}

.dark-mode .tip-card .card-link {
    color: #b99cf4;
}

.dark-mode .tips-section-title {
    color: #f8f9fa;
}

.dark-mode .tips-section-subtitle {
    color: #adb5bd;
}

.dark-mode .tips-modal .modal-content {
    background: #393e46;
}

.dark-mode .tips-modal .modal-title {
    color: #f8f9fa;
}

.dark-mode .tip-step-content h6 {
    color: #f8f9fa;
}

.dark-mode .tip-step-content p {
    color: #adb5bd;
}

.dark-mode .tip-highlight {
    background: linear-gradient(135deg, #2d3340, #222831);
}

.dark-mode .tip-highlight p {
    color: #ccc;
}

.dark-mode .example-prompt {
    background: #2d3340;
    color: #ccc;
}

.dark-mode .tips-cta-section {
    background: linear-gradient(135deg, #393e46 0%, #222831 100%);
}

.dark-mode .btn-close {
    filter: invert(1);
}
