/* ============================================
   PAHELUKADAM - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0D1A63;
    --secondary: #1A2CA3;
    --accent: #2845D6;
    --cta: #F68048;
    --dark: #0a0f1c;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --shadow: 0 10px 40px rgba(13, 26, 99, 0.15);
    --shadow-sm: 0 4px 15px rgba(13, 26, 99, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-cta: linear-gradient(135deg, var(--cta), #ff9f6b);
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for webkit browsers (Chrome, Safari, Opera) */
body::-webkit-scrollbar {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Page Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

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

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

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes shake {

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

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(40, 69, 214, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(40, 69, 214, 0.6);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 26, 99, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    width: 100%;
}

.header.scrolled {
    background: rgba(13, 26, 99, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header.scrolled .logo {
    font-size: 24px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px clamp(15px, 2vw, 30px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--cta);
}

.nav-menu {
    display: flex;
    gap: clamp(15px, 2vw, 35px);
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cta);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--cta);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    -webkit-user-select: none;
}

.nav-dropdown .nav-link i {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dropdown open state */
.nav-dropdown.active .nav-link i {
    transform: rotate(180deg);
}

.nav-dropdown .nav-link:focus {
    outline: none;
    color: var(--cta);
}

.nav-dropdown .nav-link:focus::after {
    width: 100%;
}

/* Dropdown Content */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(13, 26, 99, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 15px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Show dropdown */
.nav-dropdown.active .dropdown-content,
.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Dropdown Arrow */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: -2px -2px 5px rgba(40, 69, 214, 0.08);
    transition: transform 0.3s ease;
}

.dropdown-content:hover::before {
    transform: translateX(-50%) rotate(45deg);
}

/* Dropdown Items */
.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 4px 12px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transform: translateX(0);
}

/* Left accent bar */
.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--cta));
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.3s ease;
}

/* Hover effects */
.dropdown-content a:hover,
.dropdown-content a:focus {
    background: rgba(40, 69, 214, 0.05);
    color: var(--primary);
    padding-left: 28px;
    padding-right: 20px;
    transform: translateX(4px);
}

.dropdown-content a:hover::before,
.dropdown-content a:focus::before {
    opacity: 1;
    transform: scaleY(0.6);
}

/* Icons */
.dropdown-content a i {
    width: 24px;
    text-align: center;
    color: var(--accent);
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-content a:hover i,
.dropdown-content a:focus i {
    color: var(--cta);
    transform: scale(1.15);
}

/* Active state */
.dropdown-content a.active {
    background: linear-gradient(135deg, rgba(26, 44, 163, 0.12), rgba(40, 69, 214, 0.16));
    color: var(--primary);
}

.dropdown-content a.active i {
    color: var(--cta);
}

/* Pro Badge */
.pro-badge {
    background: linear-gradient(135deg, #F68048, #ff9f6b);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Dropdown separator */
.dropdown-content .dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(40, 69, 214, 0.15), transparent);
    margin: 8px 20px;
}

/* Submenu indicator */
.dropdown-content .has-submenu::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    font-size: 10px;
    color: var(--gray);
    transition: transform 0.3s ease;
}

.dropdown-content .has-submenu:hover::after {
    transform: translateX(4px);
    color: var(--cta);
}

/* Keyboard focus visible */
.nav-dropdown .nav-link:focus-visible {
    outline: 2px solid var(--cta);
    outline-offset: 4px;
    border-radius: 4px;
}

.dropdown-content a:focus-visible {
    outline: 2px solid var(--cta);
    outline-offset: 2px;
}

/* Mobile optimizations */
@media (max-width: 1024px) {
    .dropdown-content {
        min-width: 240px;
        margin-top: 8px;
    }

    .dropdown-content a {
        color: white;
        padding: 12px 20px;
        margin: 2px 8px;
    }

    .dropdown-content a:hover {
        padding-left: 26px;
    }
}

.pro-badge {
    background: linear-gradient(135deg, #F68048, #ff9f6b);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    gap: clamp(10px, 1.5vw, 15px);
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

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

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

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

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

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(246, 128, 72, 0.4);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Google Login Button */
.btn-google {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #d2d3d4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-google i {
    font-size: 18px;
}

/* Social Login Container */
.social-login {
    position: relative;
}

.social-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.social-login .btn-google {
    position: relative;
    background: #ffffff;
    z-index: 1;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(40, 69, 214, 0.3), transparent);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(246, 128, 72, 0.2), transparent);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title .highlight {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    display: inline-block;
    border-right: 3px solid var(--cta);
    animation: blink 0.7s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

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

.hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
}

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

.bg-secondary {
    background: var(--secondary);
}

.bg-light {
    background: var(--light);
}

.text-white {
    color: var(--white) !important;
}

.text-white .section-title {
    color: var(--white);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.card-glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--white);
}

.card-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.card-text {
    color: var(--gray);
    margin-bottom: 20px;
}

.card-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 10px;
}

/* Idea Card */
.idea-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.idea-card-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.idea-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.idea-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-premium {
    background: var(--gradient-cta);
    color: var(--white);
}

.badge-free {
    background: var(--success);
    color: var(--white);
}

.badge-premium-locked {
    background: #999;
    color: var(--white);
}

.idea-card-body {
    padding: 25px;
}

.idea-category {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.idea-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.idea-investment {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 14px;
}

.idea-investment svg {
    width: 16px;
    height: 16px;
}

/* Premium Lock */
.premium-lock {
    position: relative;
    overflow: hidden;
}

.premium-lock::after {
    content: '🔒 Premium';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-cta);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
}

.premium-lock .locked-content {
    filter: blur(5px);
    pointer-events: none;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 100px 30px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(40, 69, 214, 0.1);
}

.form-control.error {
    border-color: var(--danger);
    animation: shake 0.5s ease;
}

.form-control.success {
    border-color: var(--success);
}

.form-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.form-control.error+.form-error {
    display: block;
}

/* Floating Label */
.floating-label {
    position: relative;
}

.floating-label .form-control {
    padding-top: 20px;
}

.floating-label .form-label {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 5px;
    margin: 0;
}

.floating-label .form-control:focus+.form-label,
.floating-label .form-control:not(:placeholder-shown)+.form-label {
    top: 0;
    font-size: 12px;
    color: var(--accent);
}

/* Password Strength */
.password-strength {
    height: 5px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: var(--transition);
    border-radius: 5px;
}

.strength-weak {
    width: 33%;
    background: var(--danger);
}

.strength-medium {
    width: 66%;
    background: var(--warning);
}

.strength-strong {
    width: 100%;
    background: var(--success);
}

/* ============================================
   BUTTONS & INTERACTIVE
   ============================================ */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: ripple 0.6s linear;
    transform: scale(0);
}

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand span {
    color: var(--cta);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--cta);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cta);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.step-card {
    text-align: center;
    padding: 40px 30px;
}

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

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.step-card:last-child .step-number::after {
    display: none;
}

/* ============================================
   FILTERS
   ============================================ */
.filters {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.filter-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: rgba(40, 69, 214, 0.05);
}

.comparison-highlight {
    background: rgba(40, 69, 214, 0.1);
    border: 2px solid var(--accent);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
}

.timeline-item.completed::before {
    background: var(--success);
    border-color: var(--success);
}

.timeline-date {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-desc {
    color: var(--gray);
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.calculator-result {
    background: var(--gradient);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 30px;
}

.calculator-result h3 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 10px;
}

.calculator-result .result-value {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* ============================================
   COMMUNITY
   ============================================ */
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
}

.post-date {
    color: var(--gray);
    font-size: 13px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.post-content {
    color: var(--gray);
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.post-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.post-action:hover {
    color: var(--accent);
}

.post-action.accepted {
    color: var(--success);
}

.post-action.liked {
    color: var(--accent);
}

.post-action.liked i {
    animation: likePulse 0.3s ease;
}

@keyframes likePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.reply-form {
    background: var(--light);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.reply-form .form-control {
    border-color: #e0e0e0;
}

.reply-form .btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* ============================================
   MENTOR CARDS
   ============================================ */
.mentor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.mentor-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--white);
}

.mentor-info {
    padding: 25px;
    text-align: center;
}

.mentor-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.mentor-expertise {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 15px;
}

.mentor-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    color: var(--warning);
    margin-bottom: 20px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.pricing-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
}

.pricing-price span {
    font-size: 16px;
    color: var(--gray);
    font-weight: 400;
}

.pricing-features {
    margin: 30px 0;
    text-align: left;
}

.pricing-feature {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.pricing-feature svg {
    color: var(--success);
    flex-shrink: 0;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: var(--accent);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch.active::after {
    left: 33px;
}

/* ============================================
   BLOG
   ============================================ */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    background: var(--gradient);
    position: relative;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray);
    font-size: 14px;
}

/* Read Progress Bar */
.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient);
    z-index: 9999;
    transition: width 0.1s;
}

/* ============================================
   ABOUT
   ============================================ */
.mission-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-info {
    background: var(--gradient);
    border-radius: var(--radius);
    padding: 40px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard {
    padding-top: 100px;
    height: 100vh;
    background: var(--light);
    overflow: hidden;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: calc(100vh - 100px);
}

.sidebar {
    background: var(--white);
    border-radius: 0;
    padding: 30px 20px;
    height: calc(100vh - 100px);
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.user-profile {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--white);
    font-weight: 600;
}

.user-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.user-role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.role-free {
    background: rgba(40, 69, 214, 0.1);
    color: var(--accent);
}

.role-premium {
    background: var(--gradient-cta);
    color: var(--white);
}

.dashboard-menu {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    color: var(--gray);
    transition: var(--transition);
    margin-bottom: 5px;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background: var(--gradient);
    color: var(--white);
}

.dashboard-menu a[href="logout.php"] {
    margin-top: auto;
    color: var(--danger);
    background: rgba(220, 53, 69, 0.05);
    /* very light red bg */
}

.dashboard-menu a[href="logout.php"]:hover {
    background: var(--danger);
    color: var(--white);
}

.dashboard-content {
    background: var(--light);
    border-radius: 0;
    padding: 30px 40px 100px;
    box-shadow: none;
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.dashboard-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--white);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
}

/* Progress Bars */
.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

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

/* ============================================
   TABS
   ============================================ */
.tabs {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--accent);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   LOADERS & MESSAGES
   ============================================ */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid var(--warning);
}

/* Success Animation */
@keyframes successTick {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.success-animation {
    animation: successTick 0.5s ease;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

/* ============================================
   RESPONSIVE STYLES - COMPREHENSIVE
   ============================================ */

/* ============================================
   EXTRA LARGE DESKTOP (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 60px;
    }

    .section-title {
        font-size: 46px;
    }
}

/* ============================================
   LARGE DESKTOP (1200px - 1439px)
   ============================================ */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 25px;
    }

    .nav-container {
        max-width: 1140px;
        margin-left: 8rem;
    }

    .nav-menu {
        gap: 25px;
        margin-left: 2rem;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 38px;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ============================================
   TABLET LANDSCAPE (992px - 1199px)
   ============================================ */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }

    /* Header */
    .nav-container {
        max-width: 960px;
        padding: 12px 20px;
    }

    .logo {
        font-size: 24px;
    }

    .nav-menu {
        gap: 20px;
        margin-left: 1rem;
    }

    .header-actions {
        margin-left: -1rem;
    }

    /* Hero */
    .hero-title {
        font-size: 42px;
    }

    .hero-desc {
        font-size: 17px;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stat-number {
        font-size: 30px;
    }

    /* Grids */
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Dashboard */
    .dashboard-container {
        grid-template-columns: 240px 1fr;
        gap: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }

    /* Cards */
    .card {
        padding: 25px;
    }

    .idea-card-body {
        padding: 20px;
    }
}

/* ============================================
   TABLET PORTRAIT (768px - 991px)
   ============================================ */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    /* Header - Enable Mobile Menu */
    .nav-container {
        max-width: 720px;
        margin-left: 0;
        padding: 10px 15px;
    }

    .logo {
        font-size: 20px;
        z-index: 1001;
    }

    .logo span {
        margin-left: 0;
        display: inline;
    }

    .logo-text {
        display: inline;
    }

    /* Mobile Toggle */
    .mobile-toggle {
        display: flex;
        z-index: 1001;
        margin-left: auto;
    }

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

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

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

    /* Navigation Menu - Slide in from right */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(180deg, #0D1A63 0%, #1A2CA3 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 25px 30px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.65, 0, 0.35, 1);
        overflow-y: auto;
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 15px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
    }

    .nav-link::after {
        display: none;
    }

    /* Dropdown on Mobile */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .nav-link {
        justify-content: space-between;
        padding: 15px 10px;
    }

    .nav-dropdown .nav-link i {
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-content {
        position: relative;
        top: auto;
        left: 0;
        transform: none !important;
        width: 100%;
        min-width: 100%;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 0;
        margin-top: 5px;
        opacity: 0;
        visibility: hidden;
        display: block;
        max-height: 0;
        overflow: hidden;
        box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
        border: none;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
        pointer-events: none;
    }

    .nav-dropdown.active .dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        /* high enough to fit content */
        padding: 10px 0;
        pointer-events: auto;
    }

    .nav-dropdown:not(.active):hover .dropdown-content {
        /* Prevent hover from triggering on mobile */
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        pointer-events: none;
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown-content a {
        padding: 12px 15px;
        margin: 2px 8px;
        font-size: 14px;
        background: transparent;
    }

    .dropdown-content a:hover {
        padding-left: 20px;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    .dropdown-content a::before {
        display: none;
    }

    /* Header Actions */
    .header-actions {
        margin-left: auto;
        gap: 10px;
    }

    .header-actions .btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .header-actions .btn-sm {
        padding: 8px 12px;
        font-size: 12px;
    }

    .header-actions .btn-secondary,
    .header-actions .btn-cta {
        display: none;
    }

    /* Mobile Auth Buttons */
    .mobile-auth-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 20px 10px;
        margin-top: auto;
    }

    .mobile-auth-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero Section */
    .hero {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 25px;
        margin-top: 40px;
    }

    .hero-image {
        order: -1;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-image .hero-img,
    .hero-image>div {
        max-width: 100%;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .section-desc {
        font-size: 15px;
    }

    /* Grids */
    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .category-grid .category-box {
        padding: 25px 15px !important;
    }

    .category-grid .category-icon-wrap {
        width: 60px !important;
        height: 60px !important;
    }

    .category-grid .category-icon-wrap i {
        font-size: 24px !important;
    }

    .category-grid h3 {
        font-size: 16px !important;
    }

    /* Cards */
    .card {
        padding: 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Idea Card */
    .idea-card-image {
        height: 180px;
    }

    .idea-title {
        font-size: 16px;
    }

    /* Pricing */
    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-card.featured {
        transform: scale(1.02);
    }

    .pricing-price {
        font-size: 40px;
    }

    .pricing-features {
        margin: 20px 0;
    }

    .pricing-feature {
        font-size: 14px;
    }

    /* Dashboard */
    .dashboard {
        padding-top: 80px;
    }

    .dashboard-container {
        grid-template-columns: 1fr;
        padding: 0;
        height: calc(100vh - 80px);
    }

    .sidebar {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 85%;
        max-width: 300px;
        height: calc(100vh - 80px);
        z-index: 1001;
        border-radius: 0;
        overflow-y: auto;
        padding-top: 30px;
    }

    .sidebar.active {
        display: block;
        animation: slideInRight 0.3s ease;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 28px;
    }

    .dashboard-content {
        padding: 20px;
    }

    .dashboard-title {
        font-size: 24px;
    }

    /* Dashboard Mobile Menu Toggle */
    .dashboard-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        background: var(--white);
        padding: 15px 20px;
        border-radius: var(--radius);
        margin-bottom: 20px;
        box-shadow: var(--shadow-sm);
        cursor: pointer;
    }

    .dashboard-mobile-toggle span {
        font-weight: 600;
        color: var(--primary);
    }

    .dashboard-mobile-toggle i {
        color: var(--primary);
    }

    /* Footer */
    .footer {
        padding: 50px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        font-size: 24px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-links a {
        font-size: 14px;
        padding: 8px 0;
    }

    /* Filters */
    .filters {
        padding: 20px;
    }

    .filter-group {
        flex-direction: column;
    }

    .filter-item {
        width: 100%;
        min-width: 100%;
    }

    /* Forms */
    .form-group {
        margin-bottom: 15px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 15px;
    }

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .btn-sm {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Modal */
    .modal-content {
        padding: 25px;
        margin: 15px;
        width: calc(100% - 30px);
    }

    /* Tabs */
    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 10px;
    }

    .tab-buttons::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    /* Timeline */
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -26px;
    }

    /* Contact */
    .contact-form,
    .contact-info {
        padding: 25px;
    }

    /* Calculator */
    .calculator {
        padding: 25px;
    }

    .calculator-result {
        padding: 20px;
        margin-top: 20px;
    }

    .calculator-result .result-value {
        font-size: 36px;
    }

    /* Blog */
    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 17px;
    }

    /* Mentor */
    .mentor-image {
        height: 180px;
    }

    .mentor-info {
        padding: 20px;
    }

    /* Page Loader */
    .loader-main-text {
        font-size: 28px;
    }

    .loader-logo {
        width: 60px;
        height: 60px;
    }
}

/* Hero Stats - Mobile Only Layout */
.hero-stats-mobile {
    /* Visible on all screens by default */
}

@media (max-width: 768px) {
    .hero-stats-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
        padding: 15px 10px;
        margin-top: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        width: 100%;
    }

    .hero-stats-mobile .hero-stat {
        flex: 1;
        text-align: center;
        padding: 5px;
        min-width: 0;
    }

    .hero-stats-mobile .hero-stat-number {
        font-size: 16px;
        font-weight: 700;
        color: #ffffff;
        display: block;
        line-height: 1.2;
    }

    .hero-stats-mobile .hero-stat-label {
        font-size: 8px;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        margin-top: 2px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .hero-stats-mobile {
        padding: 12px 8px;
        gap: 2px;
    }

    .hero-stats-mobile .hero-stat-number {
        font-size: 14px;
    }

    .hero-stats-mobile .hero-stat-label {
        font-size: 7px;
    }
}

/* ============================================
   MOBILE LANDSCAPE (576px - 767px)
   ============================================ */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* Header */
    .header {
        padding: 0;
    }

    .logo {
        font-size: 20px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Hero */
    .hero {
        padding-top: 70px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons .btn {
        max-width: 100%;
    }

    .hero-stats {
        gap: 5px;
        /* Extremely tight gap */
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100%;
    }

    .hero-stat {
        flex: 1;
        min-width: 0;
        padding: 0 2px;
    }

    .hero-stat-number {
        font-size: 18px;
        /* Drop size to fit */
    }

    .hero-stat-label {
        font-size: 9px;
        /* Very small but readable labels */
        white-space: nowrap;
    }

    .hero-image {
        max-width: 95%;
        /* Use more width */
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    /* Grids */
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Cards */
    .card {
        padding: 18px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Idea Card */
    .idea-card-image {
        height: 160px;
    }

    .idea-card-body {
        padding: 15px;
    }

    .idea-category {
        font-size: 11px;
    }

    .idea-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .idea-investment {
        font-size: 13px;
    }

    /* Pricing */
    .pricing-card.featured {
        transform: none;
    }

    .pricing-price {
        font-size: 32px;
    }

    /* Dashboard */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-card>div {
        flex: 1;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-brand {
        font-size: 22px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    /* Filters */
    .filters {
        padding: 15px;
    }

    .filter-select {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Step Cards */
    .step-card {
        padding: 25px 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* How It Works */
    .how-it-works .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Tabs */
    .tab-buttons {
        gap: 5px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Features Grid */
    .features-grid .grid-3 {
        grid-template-columns: 1fr;
    }

    /* Comparison Table */
    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }

    /* Timeline */
    .timeline {
        padding-left: 25px;
    }

    .timeline-title {
        font-size: 18px;
    }

    .timeline-desc {
        font-size: 14px;
    }

    /* Contact */
    .contact-form,
    .contact-info {
        padding: 20px;
    }

    /* Calculator */
    .calculator {
        padding: 20px;
    }

    /* Post Card */
    .post-card {
        padding: 18px;
    }

    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .post-author {
        gap: 10px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .post-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* ============================================
   MOBILE PORTRAIT (0px - 575px)
   ============================================ */
@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }

    /* Typography */
    html {
        font-size: 14px;
    }

    h1,
    h2,
    h3,
    h4 {
        line-height: 1.3;
    }

    /* Header */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .header.scrolled {
        padding: 5px 0;
    }

    .nav-container {
        padding: 8px 12px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-text {
        font-size: 16px;
    }

    .mobile-toggle {
        padding: 8px;
    }

    .mobile-toggle span {
        width: 22px;
        height: 2px;
    }

    /* Nav Menu Mobile */
    .nav-menu {
        width: 100%;
        max-width: 100%;
        padding: 70px 15px 20px;
    }

    .nav-link {
        padding: 12px 8px;
        font-size: 15px;
    }

    .dropdown-content a {
        padding: 10px 12px;
        margin: 2px 5px;
        font-size: 13px;
    }

    .dropdown-content a i {
        width: 20px;
        font-size: 14px;
    }

    /* Header Actions */
    .header-actions .btn {
        padding: 8px 10px;
    }

    /* Hero */
    .hero {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 15px;
        margin-top: 30px;
    }

    .hero-stat {
        min-width: 70px;
    }

    .hero-stat-number {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .hero-image {
        max-width: 100%;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .section-desc {
        font-size: 14px;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-top: 30px !important;
    }

    .category-grid .category-box {
        padding: 20px 10px !important;
        border-radius: 15px !important;
    }

    .category-grid .category-icon-wrap {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }

    .category-grid .category-icon-wrap i {
        font-size: 20px !important;
    }

    .category-grid h3 {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .category-grid p {
        font-size: 12px !important;
    }

    .category-grid span {
        font-size: 18px !important;
    }

    /* Grids */
    .grid-4,
    .grid-3,
    .grid-2 {
        gap: 12px;
    }

    /* Cards */
    .card {
        padding: 15px;
        border-radius: 12px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .card-text {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .card-link {
        font-size: 13px;
    }

    /* Idea Card */
    .idea-card {
        border-radius: 12px;
    }

    .idea-card-image {
        height: 140px;
    }

    .idea-card-body {
        padding: 12px;
    }

    .idea-category {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .idea-title {
        font-size: 14px;
    }

    .idea-investment {
        font-size: 12px;
    }

    .idea-badge {
        padding: 4px 8px;
        font-size: 10px;
    }

    .idea-card-body .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Pricing */
    .pricing-card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .pricing-name {
        font-size: 20px;
    }

    .pricing-price {
        font-size: 28px;
    }

    .pricing-price span {
        font-size: 14px;
    }

    .pricing-features {
        margin: 15px 0;
    }

    .pricing-feature {
        font-size: 13px;
        padding: 8px 0;
    }

    .pricing-toggle {
        margin-bottom: 25px;
        gap: 10px;
    }

    .toggle-switch {
        width: 50px;
        height: 26px;
    }

    .toggle-switch::after {
        width: 20px;
        height: 20px;
    }

    .toggle-switch.active::after {
        left: 27px;
    }

    /* Dashboard */
    .dashboard {
        padding-top: 70px;
    }

    .dashboard-container {
        padding: 0;
        height: calc(100vh - 70px);
    }

    .dashboard-mobile-toggle {
        padding: 12px 15px;
    }

    .dashboard-content {
        padding: 15px 15px 80px;
        border-radius: 0;
        height: calc(100vh - 70px);
    }

    .dashboard-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .user-profile {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .user-avatar {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }

    .user-name {
        font-size: 16px;
    }

    .dashboard-menu a {
        padding: 10px 12px;
        font-size: 14px;
        gap: 10px;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-brand {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer-desc {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 13px;
        padding: 6px 0;
    }

    .footer-social {
        gap: 10px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }

    /* Filters */
    .filters {
        padding: 12px;
        border-radius: 12px;
    }

    .filter-group {
        gap: 10px;
    }

    .filter-label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .filter-select {
        padding: 8px 10px;
        font-size: 13px;
    }

    .filters .btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    /* Forms */
    .form-group {
        margin-bottom: 12px;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-sm {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-group {
        flex-direction: column;
        gap: 8px;
    }

    .btn-group .btn {
        width: 100%;
    }

    /* Modal */
    .modal-content {
        padding: 20px;
        border-radius: 12px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }

    /* Tabs */
    .tab-buttons {
        padding-bottom: 8px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    /* Step Card */
    .step-card {
        padding: 20px 12px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .step-number::after {
        display: none;
    }

    /* Timeline */
    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-item::before {
        left: -20px;
        width: 12px;
        height: 12px;
    }

    .timeline-date {
        font-size: 12px;
    }

    .timeline-title {
        font-size: 16px;
    }

    .timeline-desc {
        font-size: 13px;
    }

    /* Contact */
    .contact-form,
    .contact-info {
        padding: 15px;
        border-radius: 12px;
    }

    .contact-item {
        margin-bottom: 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Calculator */
    .calculator {
        padding: 15px;
        border-radius: 12px;
    }

    .calculator-result {
        padding: 15px;
        border-radius: 10px;
    }

    .calculator-result h3 {
        font-size: 14px;
    }

    .calculator-result .result-value {
        font-size: 28px;
    }

    /* Post Card */
    .post-card {
        padding: 15px;
        border-radius: 12px;
    }

    .post-title {
        font-size: 16px;
    }

    .post-content {
        font-size: 13px;
    }

    /* Blog */
    .blog-image {
        height: 150px;
    }

    .blog-category {
        padding: 4px 10px;
        font-size: 10px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-date {
        font-size: 11px;
    }

    .blog-title {
        font-size: 15px;
    }

    .blog-excerpt {
        font-size: 13px;
    }

    /* Mentor */
    .mentor-image {
        height: 150px;
        font-size: 40px;
    }

    .mentor-info {
        padding: 15px;
    }

    .mentor-name {
        font-size: 16px;
    }

    .mentor-expertise {
        font-size: 12px;
    }

    /* Comparison Table */
    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    /* Alert */
    .alert {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* Loader */
    .loader-logo {
        width: 50px;
        height: 50px;
    }

    .loader-logo img {
        width: 40px;
        height: 40px;
    }

    .loader-main-text {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .loader-tagline {
        font-size: 10px;
    }

    .loader-progress {
        width: 120px;
    }

    .loader-corner {
        display: none;
    }

    /* Utilities for Mobile */
    .d-flex {
        flex-direction: column;
    }

    .gap-2,
    .gap-3 {
        gap: 10px;
    }

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

    .mt-2,
    .mt-3,
    .mt-4,
    .mt-5 {
        margin-top: 15px;
    }

    .mb-2,
    .mb-3,
    .mb-4,
    .mb-5 {
        margin-bottom: 15px;
    }

    .p-2,
    .p-3,
    .p-4 {
        padding: 15px;
    }

    .w-100 {
        width: 100%;
    }

    /* Hide on Mobile */
    .hide-mobile {
        display: none !important;
    }

    /* Center on Mobile */
    .mobile-center {
        text-align: center !important;
        align-items: center !important;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (0 - 379px)
   ============================================ */
@media (max-width: 380px) {

    /* Even smaller adjustments */
    .hero-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 20px;
    }

    .pricing-price {
        font-size: 24px;
    }

    .idea-card-image {
        height: 120px;
    }

    .category-grid .category-box {
        padding: 15px 8px !important;
    }

    .category-grid .category-icon-wrap {
        width: 40px !important;
        height: 40px !important;
    }

    .category-grid .category-icon-wrap i {
        font-size: 16px !important;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-card .stat-icon {
        margin-bottom: 8px;
    }
}

/* ============================================
   RESPONSIVE UTILITY CLASSES
   ============================================ */

/* Show/Hide based on breakpoints */
@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }

    .show-mobile {
        display: none !important;
    }

    .show-tablet {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }

    .show-tablet {
        display: none !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .show-tablet {
        display: block !important;
    }
}

/* Mobile only - show only on phones */
@media (max-width: 575px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Tablet and up */
@media (min-width: 576px) {
    .mobile-only {
        display: none !important;
    }
}

/* Desktop only */
@media (min-width: 992px) {
    .desktop-only {
        display: block !important;
    }
}

/* ============================================
   ORIENTATION SPECIFIC STYLES
   ============================================ */

/* Landscape mobile */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 80px 0 30px;
    }

    .hero-image {
        display: none;
    }

    .hero-stats {
        margin-top: 20px;
    }

    .page-loader {
        overflow: hidden;
    }
}



/* ============================================
   DARK MODE SUPPORT (Future)
   ============================================ */
/* @media (prefers-color-scheme: dark) {
    :root {
        --light: #1a1a2e;
        --white: #eaeaea;
    }
} */

/* ============================================
   PREFER REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .header,
    .footer,
    .mobile-toggle,
    .btn,
    .hero-buttons,
    .sidebar {
        display: none !important;
    }

    .hero {
        padding-top: 0;
    }

    .section {
        padding: 20px 0;
    }

    body {
        background: white;
        color: black;
    }

    .card,
    .idea-card,
    .pricing-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ============================================
   CUSTOM PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0D1A63 0%, #1A2CA3 50%, #0D1A63 100%);
    background-size: 200% 200%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Logo icon */
.loader-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(246, 128, 72, 0.4);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

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

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

/* Main text with elegant styling */
.loader-main-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 6px;
    margin-bottom: 8px;
    position: relative;
}

/* Gradient underline */
.loader-main-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F68048, transparent);
    border-radius: 2px;
}

/* Subtitle */
.loader-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Progress bar style loader */
.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #F68048, #ff9f6b, #F68048);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: progressMove 2s ease-in-out infinite;
}

@keyframes progressMove {
    0% {
        left: -100%;
        background-position: 100% 0;
    }

    100% {
        left: 100%;
        background-position: -100% 0;
    }
}

/* Dot indicators */
.loader-indicators {
    display: flex;
    gap: 8px;
    margin-top: 25px;
}

.loader-indicators span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: indicatorPulse 1.5s ease-in-out infinite;
}

.loader-indicators span:nth-child(1) {
    animation-delay: 0s;
}

.loader-indicators span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-indicators span:nth-child(3) {
    animation-delay: 0.4s;
}

.loader-indicators span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes indicatorPulse {

    0%,
    100% {
        transform: scale(1);
        background: rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.3);
        background: #F68048;
    }
}

/* Elegant corner decorations */
.loader-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(246, 128, 72, 0.3);
}

.loader-corner-tl {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}

.loader-corner-tr {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
}

.loader-corner-bl {
    bottom: 40px;
    left: 40px;
    border-right: none;
    border-top: none;
}

.loader-corner-br {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
}

/* ============================================
   ADDITIONAL RESPONSIVE HELPERS
   ============================================ */

/* Mobile sidebar overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Dashboard mobile toggle */
.dashboard-mobile-toggle {
    display: none;
}

/* Mobile auth buttons (hidden by default) */
.mobile-auth-buttons {
    display: none;
}

/* Ensure proper z-index stacking */
@media (max-width: 991px) {
    .mobile-toggle {
        z-index: 1001;
    }

    .nav-menu.active {
        z-index: 1000;
    }
}

/* Smooth transitions for all interactive elements */
@media (prefers-reduced-motion: no-preference) {

    .card,
    .btn,
    .nav-link,
    .idea-card,
    .pricing-card,
    .mentor-card,
    .blog-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mt-5 {
    margin-top: 50px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 50px;
}

.p-1 {
    padding: 10px;
}

.p-2 {
    padding: 20px;
}

.p-3 {
    padding: 30px;
}

.p-4 {
    padding: 40px;
}

.p-5 {
    padding: 50px;
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 10px;
}

.gap-2 {
    gap: 20px;
}

.gap-3 {
    gap: 30px;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.border-radius {
    border-radius: var(--radius);
}

.border-radius-sm {
    border-radius: var(--radius-sm);
}

.box-shadow {
    box-shadow: var(--shadow);
}

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

/* Spacing */
.py-5 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.px-3 {
    padding-left: 30px;
    padding-right: 30px;
}

/* ============================================
   PREMIUM LOCKED STYLES
   ============================================ */
/* Grayscale effect for premium icons/features */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

/* Premium locked card styling */
.premium-locked {
    background: #f8f9fa;
    border: 2px dashed #ccc;
}

.premium-locked .card-title,
.premium-locked .card-text {
    color: #999;
}

/* Premium badge for free users */
.premium-badge-locked {
    background: linear-gradient(135deg, #666, #999);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Premium idea card grayscale for free users */
.idea-card.premium-locked {
    filter: grayscale(100%);
    opacity: 0.7;
}

.idea-card.premium-locked .idea-card-image {
    background: linear-gradient(135deg, #666, #999);
}

/* ============================================
   ROADMAP PAGE STYLES
   ============================================ */

/* Hero Section */
.roadmap-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.roadmap-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.roadmap-float {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.roadmap-float-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.roadmap-float-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.roadmap-float-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.roadmap-float-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.roadmap-float-5 {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

.roadmap-hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.roadmap-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease forwards;
}

.roadmap-hero-title {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.roadmap-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.roadmap-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.roadmap-hero-stat {
    text-align: center;
}

.roadmap-hero-stat-num {
    display: block;
    font-size: 42px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    line-height: 1.2;
}

.roadmap-hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roadmap-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.roadmap-hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Roadmap Detail Header */
.roadmap-detail-header {
    margin-bottom: 30px;
}

.roadmap-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.roadmap-detail-badge.premium {
    background: linear-gradient(135deg, var(--cta), #ff9f6b);
    color: var(--white);
}

.roadmap-detail-badge.free {
    background: linear-gradient(135deg, var(--success), #34ce57);
    color: var(--white);
}

.roadmap-detail-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
}

.roadmap-detail-subtitle {
    color: var(--gray);
    font-size: 16px;
}

/* Progress Card */
.roadmap-progress-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(40, 69, 214, 0.1);
}

.roadmap-progress-card h4 {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.roadmap-progress-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.roadmap-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--cta));
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.roadmap-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: shimmer 2s infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

/* Roadmap Timeline Steps - Glassmorphism Aesthetic */
.roadmap-steps-container {
    position: relative;
    padding: 20px 0;
}

.roadmap-timeline {
    position: relative;
    padding-left: 50px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--cta) 50%, rgba(246, 128, 72, 0) 100%);
    opacity: 0.6;
}

.roadmap-step {
    display: flex;
    gap: 30px;
    padding-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.roadmap-step:nth-child(1) {
    animation-delay: 0.1s;
}

.roadmap-step:nth-child(2) {
    animation-delay: 0.2s;
}

.roadmap-step:nth-child(3) {
    animation-delay: 0.3s;
}

.roadmap-step:nth-child(4) {
    animation-delay: 0.4s;
}

.roadmap-step:nth-child(5) {
    animation-delay: 0.5s;
}

.roadmap-step:last-child {
    padding-bottom: 0;
}

.roadmap-step:last-child .roadmap-step-line {
    display: none;
}

.roadmap-step-marker {
    position: absolute;
    left: -50px;
    top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 44px;
}

.roadmap-step-dot {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 4px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5), 0 8px 20px rgba(40, 69, 214, 0.15);
}

.roadmap-step-dot i {
    font-size: 14px;
    color: var(--accent);
}

.roadmap-step-dot .step-dot-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
}

.roadmap-step:hover .roadmap-step-dot {
    transform: scale(1.1);
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(40, 69, 214, 0.1), 0 12px 30px rgba(40, 69, 214, 0.25);
}

.roadmap-step:hover .roadmap-step-dot i,
.roadmap-step:hover .roadmap-step-dot .step-dot-number {
    color: var(--white);
}

.roadmap-step.completed .roadmap-step-dot {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15), 0 8px 20px rgba(16, 185, 129, 0.15);
}

.roadmap-step.completed .roadmap-step-dot i {
    opacity: 1;
    color: var(--white);
}

.roadmap-step.completed:hover .roadmap-step-dot {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.2), 0 12px 30px rgba(16, 185, 129, 0.3);
}

.roadmap-step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    margin-left: 2rem;
    padding: 35px;
    box-shadow:
        0 4px 24px -1px rgba(13, 26, 99, 0.04),
        0 12px 48px -12px rgba(13, 26, 99, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.roadmap-step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--cta));
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-step:hover .roadmap-step-content {
    transform: translateY(-8px);
    box-shadow:
        0 8px 32px -4px rgba(13, 26, 99, 0.08),
        0 24px 64px -16px rgba(13, 26, 99, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.9);
}

.roadmap-step:hover .roadmap-step-content::before {
    opacity: 1;
    transform: translateX(0);
}

.roadmap-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.roadmap-step-title {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 0;
    font-weight: 700;
}

.roadmap-step.premium-locked .roadmap-step-content {
    background: rgba(248, 249, 250, 0.85);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    filter: grayscale(80%);
}

.roadmap-step.premium-locked:hover .roadmap-step-content {
    filter: grayscale(0%);
    border-style: solid;
}

.roadmap-step.premium-locked .roadmap-step-title {
    color: #64748b;
}

/* Step Duration */
.roadmap-step-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(40, 69, 214, 0.1), rgba(40, 69, 214, 0.05));
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(40, 69, 214, 0.1);
    box-shadow: 0 4px 10px rgba(40, 69, 214, 0.05);
}

/* Step Description */
.roadmap-step-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.roadmap-step-body {
    position: relative;
    z-index: 1;
}

.roadmap-step-cost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(246, 128, 72, 0.08);
    padding: 8px 20px;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(246, 128, 72, 0.1);
}

.roadmap-step-cost .cost-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.roadmap-step-cost .cost-value {
    font-weight: 700;
    color: var(--cta);
    font-size: 16px;
}

/* Step Details Grid */
.roadmap-step-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.roadmap-step-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(40, 69, 214, 0.05), rgba(40, 69, 214, 0.1));
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(40, 69, 214, 0.1);
}

.roadmap-step-detail .detail-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.roadmap-step-detail .detail-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.roadmap-step-detail .detail-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-step-detail .detail-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

/* Step Resources */
.roadmap-step-resources {
    background: linear-gradient(135deg, rgba(40, 69, 214, 0.03), rgba(40, 69, 214, 0.08));
    border-radius: 12px;
    padding: 15px 18px;
    border-left: 3px solid var(--accent);
}

.roadmap-step-resources h5 {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.roadmap-step-resources h5 i {
    color: var(--accent);
}

.roadmap-step-resources p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Step Dot Number */
.step-dot-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

/* Related Idea Section */
.roadmap-related-idea {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 40px rgba(13, 26, 99, 0.1);
    border: 1px solid rgba(40, 69, 214, 0.1);
}

.related-idea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(40, 69, 214, 0.1);
}

.related-idea-header h3 {
    font-size: 22px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.related-idea-header h3 i {
    color: var(--cta);
}

.related-idea-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
}

.related-idea-tagline {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}

.related-idea-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.related-idea-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 69, 214, 0.08);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--gray);
}

.related-idea-stat i {
    color: var(--accent);
    font-size: 14px;
}

.related-idea-stat span {
    font-weight: 500;
    color: var(--primary);
}

.related-idea-overview {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.related-idea-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.related-idea-actions .btn {
    white-space: nowrap;
    min-width: 150px;
}

/* Responsive for Related Idea */
@media (max-width: 768px) {
    .related-idea-content {
        grid-template-columns: 1fr;
    }

    .related-idea-actions {
        flex-direction: row;
        width: 100%;
    }

    .related-idea-actions .btn {
        flex: 1;
    }
}

.roadmap-complete-btn {
    transition: all 0.3s ease;
}

.roadmap-complete-btn:hover {
    transform: scale(1.02);
}

.roadmap-complete-btn.completed {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

/* Roadmap Cards */
.roadmap-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(40, 69, 214, 0.08);
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--cta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.roadmap-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(13, 26, 99, 0.2);
}

.roadmap-card:hover::before {
    transform: scaleX(1);
}

.roadmap-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 25px 20px;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.roadmap-card:hover .roadmap-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.roadmap-card-icon.premium {
    background: linear-gradient(135deg, var(--cta), #ff9f6b);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(246, 128, 72, 0.3);
}

.roadmap-card-icon.free {
    background: linear-gradient(135deg, var(--accent), #4a6ee0);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(40, 69, 214, 0.3);
}

.roadmap-card-body {
    padding: 0 25px 25px;
}

.roadmap-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.roadmap-card-badge.premium {
    background: linear-gradient(135deg, rgba(246, 128, 72, 0.15), rgba(255, 159, 107, 0.15));
    color: var(--cta);
}

.roadmap-card-badge.free {
    background: linear-gradient(135deg, rgba(40, 69, 214, 0.15), rgba(74, 110, 224, 0.15));
    color: var(--accent);
}

.roadmap-card-title {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.roadmap-card-text {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.roadmap-card-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.roadmap-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.roadmap-card-btn {
    transition: all 0.3s ease;
}

.roadmap-card-btn:hover {
    transform: translateX(5px);
}

/* CTA Card */
.roadmap-cta-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.roadmap-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(246, 128, 72, 0.2), transparent);
    animation: float 8s ease-in-out infinite;
}

.roadmap-cta-content {
    position: relative;
    z-index: 1;
}

.roadmap-cta-content h3 {
    color: var(--white);
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.roadmap-cta-content p {
    color: rgba(255, 255, 255, 0.8);
}

.roadmap-cta-card .btn {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* Premium Lock Icon */
.premium-lock-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--cta), #ff9f6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(246, 128, 72, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .roadmap-hero-title {
        font-size: 42px;
    }

    .roadmap-hero-stats {
        gap: 30px;
    }

    .roadmap-hero-stat-num {
        font-size: 32px;
    }

    .roadmap-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .roadmap-cta-content h3 {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .roadmap-hero {
        min-height: 60vh;
        padding: 100px 0 60px;
    }

    .roadmap-hero-title {
        font-size: 32px;
    }

    .roadmap-hero-desc {
        font-size: 16px;
    }

    .roadmap-hero-stats {
        flex-wrap: wrap;
        gap: 25px;
    }

    .roadmap-hero-stat {
        flex: 1;
        min-width: 100px;
    }

    .roadmap-hero-stat-num {
        font-size: 28px;
    }

    .roadmap-detail-title {
        font-size: 28px;
    }

    .roadmap-timeline {
        padding-left: 20px;
    }

    .roadmap-timeline::before {
        left: 5px;
    }

    .roadmap-step {
        gap: 15px;
        padding-bottom: 30px;
    }

    .roadmap-step-marker {
        left: -20px;
        top: 25px;
        width: 32px;
    }

    .roadmap-step-dot {
        width: 32px;
        height: 32px;
    }

    .roadmap-step-dot .step-dot-number {
        font-size: 13px;
    }

    .roadmap-step-content {
        padding: 20px;
        border-radius: 16px;
    }

    .roadmap-step-title {
        font-size: 18px;
    }

    .roadmap-step-cost {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .roadmap-hero {
        padding: 80px 0 50px;
    }

    .roadmap-hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .roadmap-hero-title {
        font-size: 26px;
    }

    .roadmap-hero-desc {
        font-size: 14px;
    }

    .roadmap-hero-stat-num {
        font-size: 24px;
    }

    .roadmap-hero-stat-label {
        font-size: 12px;
    }

    .roadmap-card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin: 20px 20px 15px;
    }

    .roadmap-card-body {
        padding: 0 20px 20px;
    }

    .roadmap-card-title {
        font-size: 18px;
    }
}

/* Premium locked timeline */
.timeline-item.premium-locked {
    filter: grayscale(100%);
    opacity: 0.6;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    padding: 15px;
    border-left: 3px dashed #999;
}

.timeline-item.premium-locked .timeline-title {
    color: #999;
}

/* ============================================
   CUSTOM PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0D1A63 0%, #1A2CA3 50%, #0D1A63 100%);
    background-size: 200% 200%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Logo icon */
.loader-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(246, 128, 72, 0.4);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

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

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

/* Main text with elegant styling */
.loader-main-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 6px;
    margin-bottom: 8px;
    position: relative;
}

/* Gradient underline */
.loader-main-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F68048, transparent);
    border-radius: 2px;
}

/* Subtitle */
.loader-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Progress bar style loader */
.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #F68048, #ff9f6b, #F68048);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: progressMove 2s ease-in-out infinite;
}

@keyframes progressMove {
    0% {
        left: -100%;
        background-position: 100% 0;
    }

    100% {
        left: 100%;
        background-position: -100% 0;
    }
}

/* Dot indicators */
.loader-indicators {
    display: flex;
    gap: 8px;
    margin-top: 25px;
}

.loader-indicators span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: indicatorPulse 1.5s ease-in-out infinite;
}

.loader-indicators span:nth-child(1) {
    animation-delay: 0s;
}

.loader-indicators span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-indicators span:nth-child(3) {
    animation-delay: 0.4s;
}

.loader-indicators span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes indicatorPulse {

    0%,
    100% {
        transform: scale(1);
        background: rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.3);
        background: #F68048;
    }
}

/* Elegant corner decorations */
.loader-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(246, 128, 72, 0.3);
}

.loader-corner-tl {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}

.loader-corner-tr {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
}

.loader-corner-bl {
    bottom: 40px;
    left: 40px;
    border-right: none;
    border-top: none;
}

.loader-corner-br {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
}

/* Responsive */
@media (max-width: 768px) {
    .loader-main-text {
        font-size: 26px;
        letter-spacing: 4px;
    }

    .loader-logo {
        width: 60px;
        height: 60px;
        font-size: 28px;
        border-radius: 16px;
    }

    .loader-tagline {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .loader-progress {
        width: 150px;
    }

    .loader-corner {
        width: 30px;
        height: 30px;
    }

    .loader-corner-tl,
    .loader-corner-tr {
        top: 20px;
    }

    .loader-corner-bl,
    .loader-corner-br {
        bottom: 20px;
    }

    .loader-corner-tl,
    .loader-corner-bl {
        left: 20px;
    }

    .loader-corner-tr,
    .loader-corner-br {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .loader-main-text {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .loader-logo {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 14px;
    }
}

/* ============================================
   GLOBAL RESPONSIVE STYLES
   ============================================ */

/* Tablet Landscape & Below */
@media (max-width: 1024px) {

    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 42px;
    }
}

/* Tablet Portrait & Mobile Menu Boundary */
@media (max-width: 768px) {

    /* Grids */
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Typography */
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    /* Spacing */
    .section {
        padding: 50px 0;
    }

    /* General forms */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px;
        /* Prevents iOS zoom */
        padding: 10px 14px;
    }
}

/* Large Mobile */
@media (max-width: 575px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6,
    .admin-grid-2,
    .admin-grid-3,
    .admin-grid-4 {
        grid-template-columns: 1fr !important;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }

    /* Flex wrappers that should stack */
    .d-flex.mobile-stack {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Base Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .section {
        padding: 40px 0;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }
}