/* FeelEase Website Styles — Redesigned */

:root {
    --primary: #6B7FF5;
    --primary-light: #8B9DF7;
    --primary-dark: #5468D4;
    --secondary: #A78BFA;
    --secondary-light: #C4B5FD;
    --accent: #F9A8C9;
    --accent-warm: #FFB088;
    --text: #2D3748;
    --text-light: #64748B;
    --bg: #F8FAFF;
    --white: #ffffff;
    --card-shadow: 0 2px 16px rgba(107, 127, 245, 0.07);
    --card-hover: 0 12px 32px rgba(107, 127, 245, 0.13);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   Animations
   ============================ */

@keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes blob-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade-up */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ============================
   Navigation — Glass Morphism
   ============================ */

.nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo a {
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    font-size: 0.92rem;
}

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

/* Language Switcher */
.lang-switcher {
    margin-left: 0;
}

.lang-dropdown {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 32px 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7FF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.lang-dropdown:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(107, 127, 245, 0.15);
}

.lang-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 127, 245, 0.1);
}

/* ============================
   Hero Section
   ============================ */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #7c5cbf 50%, #a78bfa 100%);
    color: white;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Floating gradient blobs */
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(240, 147, 251, 0.25);
    top: -150px;
    right: -100px;
    animation: blob-drift 10s ease-in-out infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(102, 126, 234, 0.2);
    bottom: -120px;
    left: -80px;
    animation: blob-drift 12s ease-in-out infinite reverse;
}

.hero-blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(249, 168, 201, 0.2);
    top: 40%;
    left: 30%;
    animation: blob-drift 14s ease-in-out infinite 2s;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(to right, #F9A8C9, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    max-width: 480px;
}

.hero-privacy {
    font-size: 0.95rem;
    opacity: 0.75;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-coming-soon {
    opacity: 0.85;
    cursor: default;
}

.btn-coming-soon:hover {
    transform: none;
    box-shadow: none;
}

/* ============================
   Phone Mockup
   ============================ */

.hero-phone {
    flex-shrink: 0;
    animation: phone-float 6s ease-in-out infinite;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 26px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: #1a1a2e;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ============================
   About Section
   ============================ */

.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, white 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -150px;
    pointer-events: none;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-lead {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    white-space: pre-line;
}

.about-subtitle {
    text-align: center;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.about-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: white;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}

.about-item:nth-child(1) .about-icon { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }
.about-item:nth-child(2) .about-icon { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.about-item:nth-child(3) .about-icon { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }

.about-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

/* Quote Block */
.quote-block {
    background: linear-gradient(135deg, #EEF2FF 0%, #EDE9FE 100%);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    margin-top: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-block::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 7rem;
    color: var(--secondary);
    opacity: 0.12;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    pointer-events: none;
}

.about-quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
}

/* ============================
   Features Section
   ============================ */

.features {
    padding: 5rem 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    pointer-events: none;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.feature {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.feature:nth-child(1)::before { background: linear-gradient(90deg, #7EB6FF, #6B7FF5); }
.feature:nth-child(2)::before { background: linear-gradient(90deg, #D8B4FE, #A78BFA); }
.feature:nth-child(3)::before { background: linear-gradient(90deg, #86EFAC, #4ADE80); }
.feature:nth-child(4)::before { background: linear-gradient(90deg, #FDE68A, #FBBF24); }

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

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.feature:nth-child(1) .feature-icon-wrap { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.feature:nth-child(2) .feature-icon-wrap { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.feature:nth-child(3) .feature-icon-wrap { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.feature:nth-child(4) .feature-icon-wrap { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================
   Privacy Section
   ============================ */

.privacy {
    padding: 5rem 0;
    background: white;
}

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

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.privacy-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--bg);
    transition: transform 0.3s ease;
}

.privacy-item:hover {
    transform: translateY(-3px);
}

.privacy-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
}

.privacy-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.privacy-item p {
    color: var(--text-light);
}

.privacy .btn-secondary {
    display: block;
    margin: 2rem auto 0;
    max-width: 300px;
    text-align: center;
}

/* ============================
   Disclaimer
   ============================ */

.disclaimer {
    background: #FEF9C3;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #FCD34D;
}

.disclaimer h3 {
    margin-bottom: 0.75rem;
    color: #92400E;
    font-size: 1rem;
}

.disclaimer p {
    color: #78350F;
    font-size: 0.9rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================
   Footer
   ============================ */

.footer {
    background: #1E293B;
    color: #CBD5E1;
    padding: 2.5rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* ============================
   Legal Pages (preserved)
   ============================ */

.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.legal-content h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--primary);
}

.legal-summary {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    border-left: 4px solid var(--primary);
}

.legal-summary h3 {
    margin-top: 0;
}

/* Privacy Policy Page */
.privacy-page {
    background: #f5f5f7;
    min-height: 100vh;
}

.privacy-page .container {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    padding: 40px 20px;
}

.privacy-page .header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

.privacy-page h1 {
    color: #667eea;
    font-size: 2.1rem;
    margin-bottom: 6px;
}

.privacy-page .last-updated {
    color: #666;
    font-size: 0.9rem;
}

.privacy-page h2 {
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 1.6rem;
    border-bottom: 2px solid #e8e8e8;
    padding-bottom: 8px;
}

.privacy-page h3 {
    color: #444;
    margin-top: 18px;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.privacy-page p {
    margin-bottom: 12px;
    color: #555;
}

.privacy-page ul,
.privacy-page ol {
    margin: 12px 0 12px 28px;
}

.privacy-page li {
    margin-bottom: 8px;
    color: #555;
}

.privacy-page .summary {
    background: #f0f6ff;
    border-left: 4px solid #667eea;
    padding: 16px;
    border-radius: 6px;
    margin: 20px 0;
}

.privacy-page .info-box {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
    padding: 16px;
    border-radius: 4px;
    margin: 18px 0;
}

.privacy-page .warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px;
    border-radius: 4px;
    margin: 18px 0;
}

.privacy-page .critical-box {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 16px;
    border-radius: 4px;
    margin: 18px 0;
}

.privacy-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}

.privacy-page th,
.privacy-page td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.privacy-page th {
    background: #667eea;
    color: white;
}

.privacy-page a {
    color: #667eea;
    text-decoration: none;
}

.privacy-page .back-link {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 18px;
    background: #667eea;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.privacy-page .footer {
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 1024px) {
    .hero .container {
        gap: 2rem;
    }

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

    .phone-frame {
        width: 240px;
        height: 480px;
        border-radius: 38px;
        padding: 10px;
    }

    .phone-screen {
        border-radius: 30px;
    }

    .phone-notch {
        width: 85px;
        height: 22px;
        border-radius: 0 0 14px 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-phone {
        margin-top: 1rem;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
        border-radius: 36px;
        padding: 10px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    .phone-notch {
        width: 80px;
        height: 20px;
        top: 10px;
        border-radius: 0 0 12px 12px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Hide nav links by default on mobile */
    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
        width: 100%;
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .lang-dropdown {
        padding: 6px 28px 6px 10px;
        font-size: 13px;
    }

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

    .about h2, .features h2, .privacy h2 {
        font-size: 2rem;
    }

    .quote-block {
        padding: 2rem 1.5rem;
    }

    .about-quote {
        font-size: 1.1rem;
    }

    /* Hide large blobs on mobile */
    .hero-blob-1,
    .hero-blob-2,
    .hero-blob-3 {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
        border-radius: 32px;
    }

    .phone-screen {
        border-radius: 24px;
    }
}
