/* =====================
   ROOT & GLOBAL STYLES
===================== */
:root {
    --primary: #ff4d8d;
    --primary-dark: #e6397a;
    --secondary: #6c63ff;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --muted: #6c757d;
    --light-muted: #adb5bd;
    --success: #4cc9a8;
    --warning: #ffb703;
    --danger: #ff4d6d;
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #ff4d8d, #ff6b9d, #ff8ab5);
    --gradient-dark: linear-gradient(135deg, #1a1a2e, #16213e);
    
    /* Dark mode variables */
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-text: #f1f5f9;
    --dark-muted: #94a3b8;
    --dark-border: #334155;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

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

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--muted);
}

.dark-mode p {
    color: var(--dark-muted);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-muted);
    margin-bottom: 2rem;
}

.dark-mode .section-subtitle {
    color: var(--dark-muted);
}

/* =====================
   BUTTONS
===================== */
.primary-btn, .secondary-btn, .card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 77, 141, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 77, 141, 0.4);
}

.primary-btn:active {
    transform: translateY(-1px);
}

.primary-btn.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-color: rgba(0,0,0,0.2);
}

.dark-mode .secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
    border-color: rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.card-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 24px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 77, 141, 0.25);
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 141, 0.35);
}

.btn-icon {
    font-size: 1.1em;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.primary-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}

/* =====================
   NAVBAR
===================== */
.site-nav {
    background: var(--card-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
}

.dark-mode .site-nav {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--dark-border);
}

.site-nav.hide {
    transform: translateY(-100%);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.dark-mode .logo {
    color: var(--primary);
}

.logo-icon {
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite;
}

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

/* =====================
   HAMBURGER MENU
===================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.dark-mode .hamburger span {
    background: var(--dark-text);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* =====================
   NAVIGATION LINKS
===================== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.dark-mode .nav-links a {
    color: var(--dark-text);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(255, 77, 141, 0.1);
}

.dark-mode .nav-links a:hover {
    background: rgba(255, 77, 141, 0.15);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(255, 77, 141, 0.1);
    font-weight: 600;
}

.dark-mode .nav-links a.active {
    background: rgba(255, 77, 141, 0.2);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-icon {
    font-size: 1.1em;
}

/* =====================
   DROPDOWN MENU
===================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.dark-mode .nav-dropdown-btn {
    color: var(--dark-text);
}

.nav-dropdown-btn:hover {
    color: var(--primary);
    background: rgba(255, 77, 141, 0.1);
}

.nav-dropdown-btn[aria-expanded="true"] {
    color: var(--primary);
    background: rgba(255, 77, 141, 0.1);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    width: 12px;
    height: 12px;
}

.nav-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .dropdown-menu {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-mode .dropdown-menu a {
    color: var(--dark-text);
    border-bottom-color: var(--dark-border);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 77, 141, 0.1);
    color: var(--primary);
    padding-left: 25px;
}

/* =====================
   MOBILE NAVIGATION
===================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .dark-mode .nav-links {
        background: var(--dark-card);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        margin-bottom: 5px;
    }
    
    .nav-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        margin-top: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dark-mode .dropdown-menu {
        background: rgba(255, 255, 255, 0.02);
    }
    
    .nav-dropdown.open .dropdown-menu {
        max-height: 200px;
    }
}

/* =====================
   HERO SECTION
===================== */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 80px 0 140px;
}

.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.dark-mode .hero-badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.6;
    color: var(--white);
}

/* SEO Text Section */
.seo-content {
    margin: 1.5rem auto;
    max-width: 700px;
}

.seo-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    max-height: 42px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    line-height: 1.6;
    text-align: center;
}

.seo-text.expanded {
    max-height: 260px;
}

.seo-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0.5rem 0;
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.seo-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* =====================
   HERO STATS
===================== */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    width: 100%;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 180px;
    transition: all 0.3s ease;
}

.dark-mode .stat {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(255, 77, 141, 0.2);
}

.dark-mode .stat:hover {
    background: rgba(99, 102, 241, 0.25);
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #ffd6e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--white);
    font-weight: 600;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.dark-mode .stat-label {
    color: #c7d2fe;
}

/* =====================
   HERO WAVES
===================== */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    overflow: hidden;
}

.hero-waves svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: var(--bg);
}

.dark-mode .hero-waves svg {
    fill: var(--dark-bg);
}

/* =====================
   PREVIEW SECTION
===================== */
.preview-section {
    padding: 80px 0;
    background: var(--bg);
}

.dark-mode .preview-section {
    background: var(--dark-bg);
}

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

.preview-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.dark-mode .preview-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}

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

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.preview-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preview-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.dark-mode .card-content h3 {
    color: var(--dark-text);
}

.card-content p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.dark-mode .card-content p {
    color: var(--dark-muted);
}

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

/* =====================
   FEATURES SECTION
===================== */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.dark-mode .features-section {
    background: var(--dark-card);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-mode .feature-card {
    background: var(--dark-bg);
    border-color: var(--dark-border);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.dark-mode .feature-card h3 {
    color: var(--dark-text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 0;
}

.dark-mode .feature-card p {
    color: var(--dark-muted);
}

/* =====================
   BLOG SECTION
===================== */
.latest-blogs {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.dark-mode .latest-blogs {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.latest-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Hide/show based on screen size */
.desktop-view {
    display: grid;
}

.mobile-view {
    display: none;
}

/* Blog Carousel */
.blog-carousel {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
}

.blog-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
}

.blog-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.blog-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.dark-mode .dot {
    background: rgba(255, 255, 255, 0.1);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dark-mode .blog-card {
    background: var(--dark-card);
    border-color: var(--dark-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.blog-category {
    display: inline-block;
    background: rgba(255, 77, 141, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-mode .blog-category {
    background: rgba(255, 77, 141, 0.2);
}

.blog-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.dark-mode .blog-card h3 a {
    color: var(--dark-text);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.dark-mode .blog-card p {
    color: var(--dark-muted);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    width: fit-content;
}

.read-more:hover {
    gap: 12px;
    border-bottom-color: var(--primary);
}

.read-more::after {
    content: "→";
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(4px);
}

.blog-date {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dark-mode .blog-date {
    color: var(--dark-muted);
}

/* =====================
   CTA SECTION
===================== */
.cta-section {
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.dark-mode .cta-section {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* =====================
   FAQ SECTION
===================== */
.faq {
    padding: 80px 0;
    background: var(--bg);
}

.dark-mode .faq {
    background: var(--dark-bg);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.dark-mode .faq h2 {
    color: var(--dark-text);
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.dark-mode .faq-item {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.dark-mode .faq-question {
    color: var(--dark-text);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-question:hover {
    background: rgba(255, 77, 141, 0.05);
    color: var(--primary);
}

.dark-mode .faq-question:hover {
    background: rgba(99, 102, 241, 0.1);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--muted);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.dark-mode .faq-answer {
    color: var(--dark-muted);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

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

.dark-mode .site-footer {
    background: #0a0a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3.footer-logo,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.dark-mode .footer-section h3,
.dark-mode .footer-section h4 {
    color: #e2e8f0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.dark-mode .footer-section p {
    color: #94a3b8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.dark-mode .footer-links a {
    color: #94a3b8;
}

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

.dark-mode .footer-links a:hover {
    color: #a5b4fc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.dark-mode .social-link {
    background: rgba(148, 163, 184, 0.1);
}

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

.dark-mode .social-link:hover {
    background: #6366f1;
}

.hinglish-seo {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    line-height: 1.5;
}

.dark-mode .hinglish-seo {
    background: rgba(148, 163, 184, 0.05);
    color: #64748b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .footer-bottom {
    border-top-color: #1e293b;
    color: #94a3b8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.dark-mode .footer-meta {
    color: #64748b;
}

/* =====================
   SCROLL TO TOP BUTTON
===================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.scroll-top.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 77, 141, 0.4);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================
   DARK MODE TOGGLE
===================== */
.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    font-size: 1.2rem;
}

.dark-mode-toggle:hover {
    transform: translateY(-3px) rotate(30deg);
    box-shadow: 0 10px 25px rgba(255, 77, 141, 0.4);
}

/* =====================
   NOTIFICATION TOAST
===================== */
.notification-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
}

.dark-mode .notification-toast {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: var(--transition);
}

.toast-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* =====================
   MODAL
===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 77, 141, 0.6);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

.dark-mode .modal-content {
    background: var(--dark-card);
}

@keyframes modalSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--white);
}

.modal-close {
    background: var(--white);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(255, 77, 141, 0.5);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 77, 141, 0.6);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.dark-mode .modal-body p {
    color: var(--dark-text);
}

.demo-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.dark-mode .demo-placeholder {
    background: var(--dark-bg);
}

.demo-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

.modal-body .secondary-btn,
.modal-body .primary-btn {
    margin: 0 5px;
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 100px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat {
        min-width: 160px;
        padding: 1.2rem 1.5rem;
    }
    
    .preview-section,
    .features-section,
    .cta-section,
    .faq,
    .latest-blogs {
        padding: 60px 0;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .notification-toast {
        width: 95%;
        padding: 12px 20px;
    }
    
    .dark-mode-toggle {
        bottom: 158px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat {
        flex: 1;
        min-width: 140px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .nav-inner {
        padding: 0.75rem 0;
    }
}

@media (max-width: 360px) {
    .stat {
        min-width: 130px;
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* =====================
   BLOG RESPONSIVE
===================== */
@media (max-width: 1023px) {
    .desktop-view {
        display: none;
    }
    
    .mobile-view {
        display: block;
    }
    
    .blog-carousel-slide {
        min-width: calc(100% - 2rem);
    }
    
    .carousel-dots {
        display: flex;
    }
    
    .blog-carousel-nav {
        display: flex;
    }
    
    .blog-card {
        padding: 1.5rem;
    }
    
    .blog-card h3 {
        font-size: 1.1rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .blog-carousel-slide {
        min-width: calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .desktop-view {
        display: grid;
    }
    
    .mobile-view {
        display: none;
    }
    
    .blog-carousel {
        display: none;
    }
}

/* Blog Grid specific responsive */
@media (min-width: 1024px) and (max-width: 1279px) {
    .latest-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .latest-blogs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================
   ACCESSIBILITY
===================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #ff0066;
        --dark: #000000;
        --white: #ffffff;
        --muted: #555555;
    }
}

/* Print styles */
@media print {
    .site-nav,
    .hero-cta,
    .modal-overlay,
    .scroll-top,
    .notification-toast,
    .dark-mode-toggle {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Smooth transition for dark mode */
body,
.site-nav,
.hero,
.preview-section,
.features-section,
.cta-section,
.faq,
.site-footer,
.modal-content,
.notification-toast,
.blog-card,
.preview-card,
.feature-card {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-legal {
  font-size: 14px;
  opacity: 0.85;
}
.adsense-content{
max-width:900px;
margin:60px auto;
line-height:1.8;
font-size:18px;
}

.adsense-content h2{
margin-bottom:20px;
}

.adsense-content h3{
margin-top:30px;
}

@media(max-width:768px){

.adsense-content{
padding:0 15px;
font-size:16px;
margin:40px auto;
}

}
