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

:root {
    --primary-color: #0a0810;
    --primary-light: #1a1a2e;
    --primary-dark: #050408;
    --secondary-color: #dcfce7;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-bg: linear-gradient(135deg, #ffffff 0%, #dcfce7 30%, #ffffff 100%);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 16px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 80px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: black;
    position: absolute;
    right: 40px;
    padding-left: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 400;
    color: black;
    letter-spacing: 4px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: capitalize;
}

.nav-link:hover {
    color: #1e40af;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1e40af;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 2px;
    background: black;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 80px;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    margin: 0;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-download-buttons {
    display: flex;
    gap: 16px;
}

.hero-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.hero-download-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.hero-download-btn.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.hero-download-btn.coming-soon:hover {
    transform: none;
}

.hero-download-btn svg {
    width: 20px;
    height: 20px;
}

.hero-qr {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 160px;
}

.qr-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: right;
    width: 100%;
    margin-right: 23px;
}

.qr-codes {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.qr-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-bg-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.15;
}

.about-content-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.about-text-center {
    max-width: 600px;
    text-align: center;
}

.about-title {
    font-size: 3rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 32px;
    line-height: 1.2;
}

.about-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #333;
}

.feature-icon {
    color: #d4af37;
    font-size: 1.2rem;
}

/* Phone Showcase */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.phone-container {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.phone-frame-premium {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a, #000);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame-premium::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: #333;
    border-radius: 4px;
}

.phone-screen-premium {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
}

.app-interface {
    padding: 30px 20px;
    height: 100%;
}

.interface-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    justify-content: center;
}

.app-logo-premium {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.interface-title {
    font-size: 20px;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: 2px;
}

.category-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.category-premium {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

/* Download Section */
.download-section {
    text-align: center;
}

.download-title-premium {
    font-size: 1.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.download-buttons-premium {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.download-btn-premium {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: flex-start;
}

.download-btn-premium:hover {
    background: #333;
    transform: translateY(-2px);
}



.btn-icon-premium {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-icon-premium svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.btn-text-premium {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label-premium {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 300;
    line-height: 1;
}

.btn-store-premium {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.products-carousel {
    margin-top: 60px;
    overflow: hidden;
    width: 100%;
}

.products-track {
    display: flex;
    gap: 20px;
    animation: moveProducts 25s linear infinite;
    width: calc(140px * 18);
}

.product-item {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    animation-play-state: paused;
}

.products-carousel:hover .products-track {
    animation-play-state: paused;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

@keyframes moveProducts {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-140px * 9));
    }
}

/* Download Section */
.download {
    padding: 120px 0;
    background: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.floating-icons {
    position: relative;
    width: 300px;
    height: 300px;
}

.float-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    color: #0ea5e9;
}

.icon-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    color: #f43f5e;
}

.icon-3 {
    top: 10%;
    right: 10%;
    animation-delay: 4s;
    color: #fbbf24;
}

.float-icon svg {
    width: 32px;
    height: 32px;
}

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

.download-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.download-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    max-width: 200px;
}

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



.btn-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-store {
    font-size: 1rem;
    font-weight: 600;
}



/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    border: 2px solid #6b7280;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px) scale(1.05);
    border-color: #4b5563;
    color: #4b5563;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshots Section - Modern 3-Phone Layout */
.screenshots {
    padding: 120px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.screenshots .section-title {
    color: #1a1a1a;
}

.screenshots .section-subtitle {
    color: #666;
}

.phone-showcase-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    perspective: 1000px;
}

.phone-stack-modern {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1000px;
    height: 560px;
    margin: 0 auto;
}

.phone-modern {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-frame-modern {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame-modern::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #444;
    border-radius: 3px;
}

.phone-screen-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.phone-1 {
    left: 15%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.phone-2 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.phone-3 {
    left: 85%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.phone-showcase-modern:hover .phone-1 {
    transform: translate(-50%, -50%);
}

.phone-showcase-modern:hover .phone-2 {
    transform: translate(-50%, -50%) translateX(10px);
}

.phone-showcase-modern:hover .phone-3 {
    transform: translate(-50%, -50%) translateX(20px);
}

/* Expanded state */
.phone-stack-modern.expanded {
    width: 1000px;
}

.phone-stack-modern.expanded .phone-1 {
    left: 15%;
    transform: translate(-50%, -50%);
}

.phone-stack-modern.expanded .phone-2 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.phone-stack-modern.expanded .phone-3 {
    left: 85%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.phone-showcase-modern {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
}

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
    letter-spacing: 4px;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

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

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary-light);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-text-center {
        max-width: none;
    }
    
    .products-track {
        animation-duration: 20s;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .download-visual {
        height: 250px;
    }
    
    .floating-icons {
        width: 250px;
        height: 200px;
    }
    
    .float-icon {
        width: 60px;
        height: 60px;
    }
    
    .float-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .phone-stack-modern.expanded {
        width: 800px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .phone-frame-premium {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 30px 20px 26px 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        padding: 30px 0;
    }
    
    .phone-stack-modern {
        width: 300px;
        height: 480px;
    }
    
    .phone-frame-modern {
        width: 240px;
        height: 480px;
    }
    
    .phone-1 {
        left: 35%;
    }
    
    .phone-2 {
        left: 50%;
        top: 45%;
    }
    
    .phone-3 {
        left: 65%;
        top: 40%;
    }
    
    .phone-stack-modern.expanded {
        width: 600px;
    }
    
    .phone-stack-modern.expanded .phone-1 {
        left: 10%;
    }
    
    .phone-stack-modern.expanded .phone-3 {
        left: 90%;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        left: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .phone-frame-premium {
        width: 220px;
        height: 440px;
    }
    
    .download-visual {
        height: 200px;
    }
    
    .floating-icons {
        width: 200px;
        height: 150px;
    }
    
    .float-icon {
        width: 50px;
        height: 50px;
    }
    
    .float-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }
    
    .hero-qr {
        padding-top: 20px;
        align-items: center;
    }
    
    .qr-heading {
        text-align: center;
        margin-right: 0;
        font-size: 1rem;
    }
    
    .qr-codes {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }
    
    .qr-code {
        width: 80px;
        height: 80px;
    }
    
    .qr-label {
        font-size: 0.7rem;
    }
    
    .hero-download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-download-btn {
        width: 160px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .phone-frame-premium {
        width: 180px;
        height: 360px;
    }
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }


/* Blog Styles */
.blog-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    text-align: center;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.blog-posts {
    padding: 80px 0;
    background: white;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.post-content {
    padding: 24px;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.post-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Blog Article Styles */
.blog-article {
    padding: 140px 0 80px;
    background: white;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.back-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 24px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}


/* Blog Enhanced Styles */
.blog-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%) !important;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.blog-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.blog-title {
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    position: relative;
    z-index: 1;
}

.blog-subtitle {
    font-family: 'Poppins', sans-serif !important;
    position: relative;
    z-index: 1;
}

.blog-posts {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 50%, #ffffff 100%) !important;
}

.post-card {
    border-radius: 16px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.post-content {
    padding: 28px !important;
}

.post-title {
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.4;
}

.post-excerpt {
    font-family: 'Poppins', sans-serif !important;
}

.post-meta {
    font-family: 'Poppins', sans-serif !important;
}

.blog-article {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 20%, #ffffff 80%, #fafbfc 100%) !important;
}

.back-link {
    font-family: 'Poppins', sans-serif !important;
}

.article-title {
    font-weight: 600 !important;
    line-height: 1.3 !important;
    font-family: 'Poppins', sans-serif !important;
}

.article-meta {
    font-family: 'Poppins', sans-serif !important;
}

.article-content {
    font-family: 'Poppins', sans-serif !important;
}

.article-content h2 {
    font-family: 'Poppins', sans-serif !important;
}

.article-content h3 {
    font-family: 'Poppins', sans-serif !important;
}

.article-content img {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-content a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #1e40af;
    text-decoration: underline;
}
