/* ============================================
   Doshy Support Page Styles
   Modern, clean design with glassmorphism
   ============================================ */

/* CSS Variables for easy theming */
:root {
    --primary-gradient: linear-gradient(135deg, #FFE616 0%, #FFC107 100%);
    --secondary-gradient: linear-gradient(135deg, #FFD54F 0%, #FF9800 100%);
    --accent-color: #FFE616;
    --accent-light: #FFF59D;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8888a8;
    --bg-primary: #fffef5;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(255, 230, 22, 0.3);
    --shadow-soft: 0 8px 32px rgba(255, 193, 7, 0.15);
    --shadow-hover: 0 16px 48px rgba(255, 193, 7, 0.25);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(255, 230, 22, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 152, 0, 0.1) 0%, transparent 60%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.app-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 40px rgba(255, 193, 7, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    animation: float 3s ease-in-out infinite;
}

.icon-symbol {
    font-size: 48px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Section Titles */
main h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Card Styles */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* Contact Section */
.contact-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
    color: #1a1a2e;
}

.email-link:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.5);
}

.email-icon {
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.faq-item {
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out calc(0.4s + var(--delay, 0s)) both;
}

.faq-item:nth-child(2) {
    --delay: 0.1s;
}

.faq-item:nth-child(3) {
    --delay: 0.2s;
}

.faq-item:nth-child(4) {
    --delay: 0.3s;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Steps Navigation */
.steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 230, 22, 0.1);
    border-radius: var(--radius-sm);
}

.step {
    background: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.step.highlight {
    background: var(--primary-gradient);
    color: #1a1a2e;
    font-weight: 600;
}

.arrow {
    color: var(--text-muted);
    font-weight: 300;
}

/* Features Section */
.features-section {
    margin-bottom: 40px;
}

.features-section h2 {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

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

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out calc(0.7s + var(--delay, 0s)) both;
}

.feature-card:nth-child(1) {
    --delay: 0s;
}

.feature-card:nth-child(2) {
    --delay: 0.1s;
}

.feature-card:nth-child(3) {
    --delay: 0.2s;
}

.feature-card:nth-child(4) {
    --delay: 0.3s;
}

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

.feature-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 1s both;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.made-with {
    margin-top: 8px;
    font-size: 0.85rem !important;
}

.footer-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin: 8px 0;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Privacy Policy Section */
.privacy-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.privacy-section .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.privacy-section h2 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.privacy-section h2:first-of-type {
    margin-top: 0;
}

.privacy-section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.privacy-section ul {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-section .email-link {
    margin-top: 8px;
}

/* Back Link Section */
.back-link-section {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    transform: translateX(-4px);
    box-shadow: var(--shadow-soft);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

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

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

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 24px 16px;
    }

    .hero {
        padding: 40px 16px 30px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .app-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

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

    .card {
        padding: 20px;
        border-radius: var(--radius-md);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        justify-content: center;
    }

    .email-link {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    main h2 {
        font-size: 1.3rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f0f0f5;
        --text-secondary: #b0b0c5;
        --text-muted: #707090;
        --bg-primary: #0f0f1a;
        --bg-card: rgba(30, 30, 50, 0.85);
        --bg-card-hover: rgba(40, 40, 65, 0.95);
        --border-color: rgba(255, 255, 255, 0.08);
        --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 16px 48px rgba(102, 126, 234, 0.25);
    }

    body {
        background-image:
            radial-gradient(ellipse at 20% 20%, rgba(255, 230, 22, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 50%, rgba(255, 152, 0, 0.08) 0%, transparent 60%);
    }

    .step:not(.highlight) {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-secondary);
    }

    .steps {
        background: rgba(255, 230, 22, 0.08);
    }
}