@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary: #f43f5e;
    --primary-light: #fb7185;
    --primary-hover: #e11d48;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --bg-color: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: rgba(226, 232, 240, 0.8);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 25px -5px rgba(244, 63, 94, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Decorative background blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

body::before {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

body::after {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #db2777 100%);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(244, 63, 94, 0.5);
    color: #fff;
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
}

/* Header */
header {
    position: sticky;
    /* top: 1.5rem; */
    z-index: 50;
    transition: var(--transition);
    /* width: calc(100% - 3rem); */
    margin: 0 auto;
}

.header-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    /* border-radius: 100px; */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    /* max-width: 1200px; */
    padding: .5rem 2rem;
}

.header-glass .container {
    padding: 0;
    max-width: 88%;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: -50px;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-dropdown .nav-link:hover {
    color: var(--text-main);
}

.nav-submenu {
    position: absolute;
    top: calc(100% );
    left: 0;
    min-width: 220px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
    pointer-events: none;
}

.nav-dropdown.open .nav-submenu,
.nav-dropdown:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-submenu li {
    list-style: none;
}

.nav-submenu li a {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-submenu li a:hover {
    background: #f8fafc;
    color: var(--text-main);
}

.nav-submenu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
    list-style: none;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    cursor: pointer;
    perspective: 1000px;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.user-trigger:hover {
    border-color: var(--primary-light);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.user-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) rotateX(-10deg);
    transition: var(--transition);
    z-index: 100;
    transform-origin: top right;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotateX(0);
}

/* Dropdown Triangle */
.user-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}

.dropdown-header {
    padding: 0.5rem 0.75rem 1rem;
}

.dropdown-header strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
}

.dropdown-header span {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-item i {
    font-size: 1.2rem;
    color: #94a3b8;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: #fff1f2;
    color: var(--primary);
}

.dropdown-item:hover i {
    color: var(--primary);
    transform: translateX(3px);
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-item.logout:hover i {
    color: #dc2626;
}

/* Hero Section */
.hero {
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.97) 0%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244, 63, 94, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    border: 1px solid rgba(244, 63, 94, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeIn 1.2s ease-out 0.4s both;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2rem;
    opacity: 0.1;
    transform: rotate(3deg);
    z-index: -1;
    transition: var(--transition);
}

.hero-image-wrapper:hover::before {
    transform: rotate(0deg);
}

.hero-image {
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.badge-1 {
    bottom: 10%;
    left: -10%;
}

.badge-2 {
    top: 15%;
    right: -5%;
    animation-delay: 2s;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Sections */
section {
    padding: 3rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border: none;
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02), 0 10px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: #111827;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Step Card (How it works) */
.step-wrapper {
    position: relative;
    text-align: center;
}

.step-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
    height: 100%;
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.step-number {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    font-family: 'Playfair Display', serif;
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scale(1.1);
}

/* Pricing Table */
.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: left;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    background: #fff;
    transform: translateY(-5px);
}

.pricing-card.popular {
    background: linear-gradient(180deg, #fff 0%, rgba(244, 63, 94, 0.03) 100%);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #db2777 100%);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features {
    margin: 2.5rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.pricing-features li i {
    color: var(--primary);
    background: rgba(244, 63, 94, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* CTA Highlight Box */
.cta-box {
    background: linear-gradient(135deg, var(--text-main) 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cta-box .section-title {
    color: white;
}

/* Footer */
footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo {
    font-size: 2rem;
    color: white;
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Forms */
.auth-container {
    max-width: 480px;
    margin: 4rem auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

.auth-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.1);
    background: #fff;
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-image {
        height: 400px;
    }

    .badge-1 {
        left: 5%;
    }

    .badge-2 {
        right: 5%;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .fank {
        font-size: 12px !important;
    }

    .header-glass .container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .hero-image {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .user-name {
        display: none;
    }

    .user-trigger {
        padding: 0.4rem;
        gap: 0;
    }

    .user-trigger i:last-child {
        display: none;
    }

    .user-dropdown .dropdown-menu {
        right: -1rem;
        width: 260px;
    }
}

.input-error {
    border: 1px solid red !important;
}

.error-text {
    color: red;
    font-size: 13px;
    margin-top: 5px;
}

/* Fix for Goals section in mobile view - stacked layout */
@media (max-width: 768px) {
    section#about .grid-3[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
    }

    section#about .grid-3>div {
        padding: 1.5rem !important;
        width: 100%;
    }

    section#about .grid-3 h3 {
        font-size: 1.25rem !important;
    }

    section#about .grid-3 p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    section#about .grid-3 i {
        font-size: 1.75rem !important;
    }
}

/* For better spacing on very small screens */
@media (max-width: 480px) {
    section#about .grid-3>div {
        padding: 1.25rem !important;
    }
}
.flash-offer-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff4d6d, #7c3aed);
    color: white;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: bounceGlow 1.5s infinite;
    position: relative;
    overflow: hidden;
}

/* Highlight part */
.offer-highlight {
    background: white;
    color: #ff4d6d;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
}

/* Icon animation */
.offer-icon {
    animation: fireJump 1s infinite alternate;
}

/* Glow + bounce */
@keyframes bounceGlow {
    0% {
        transform: translateY(0);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(255,77,109,0.4);
    }
    100% {
        transform: translateY(0);
    }
}

/* Fire jump */
@keyframes fireJump {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}
.flash-offer-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff4d6d, #7c3aed);
    color: white;
    padding: 16px 28px; /* 🔥 increased */
    border-radius: 50px;
    font-size: 16px; /* 🔥 bigger text */
    font-weight: 700;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255,77,109,0.5);
    animation: bounce 1.5s infinite;
}

/* Highlight text */
.offer-highlight {
    background: #fff;
    color: #ff4d6d;
    padding: 8px 16px; /* 🔥 bigger */
    border-radius: 25px;
    font-weight: 800;
    font-size: 15px;
}

/* Shine effect */
.flash-offer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

/* Animation */
@keyframes bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); } /* 🔥 more movement */
    100% { transform: translateY(0); }
}

@keyframes shine {
    0% { left: -75%; }
    100% { left: 125%; }
}
/* Make only middle 4 items smaller (2nd to 5th) */
.nav-links li:nth-child(2) > a,
.nav-links li:nth-child(3) > a,
.nav-links li:nth-child(4) > a,
.nav-links li:nth-child(5) > a {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
}

/* Hover effect */
.nav-links li:nth-child(2) > a:hover,
.nav-links li:nth-child(3) > a:hover,
.nav-links li:nth-child(4) > a:hover,
.nav-links li:nth-child(5) > a:hover {
    opacity: 1;
}
/* ONLY top menu field names */
.nav-links > li:nth-child(2) > a,
.nav-links > li:nth-child(3) > a,
.nav-links > li:nth-child(4) > a,
.nav-links > li:nth-child(5) > a {
    color: #000 !important;
    font-weight: 600;
}
.g-tag {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;

    background: linear-gradient(90deg, #ff4d6d, #7c3aed); /* SAME AS BUTTON */

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* REMOVE old different colors */
.g-tag:nth-child(1),
.g-tag:nth-child(2),
.g-tag:nth-child(3) {
    background: linear-gradient(90deg, #ff4d6d, #7c3aed);
}
.genuine-section h4 {
    font-size: 18px;        /* increased */
    font-weight: 700;
    margin-bottom: 10px;
    color: #e11d48;         /* nice highlight color */
}
.genuine-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.g-tag {
    padding: 10px 18px;      /* increased size */
    border-radius: 22px;

    font-size: 15px;         /* 🔥 increase text size */
    font-weight: 600;        /* make it bold */

    color: #fff;
    background: linear-gradient(90deg, #ff4d6d, #7c3aed);

    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
/* Fix navbar font size (make all same) */
.nav-links a,
.nav-dropdown .nav-link,
.user-name {
    font-size: 15px !important;
    font-weight: 500;
}
.hero-content h1 {
    font-size: 4rem;
}
.hero-content h1 {
    line-height: 1.2;
    max-width: 600px;
}
.error {
    color: red;
    font-size: 13px;
    margin-top: 5px;
}