/* ========================================
   BLOGY LANDING PAGE - CUSTOM STYLES
   ======================================== */

/* ========================================
   GLOBAL STYLES
======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* ========================================
   NAVIGATION
======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    overflow: hidden;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-logo img,
.footer-logo img
{
    width: 150px;
}

.navbar-logo i {
    font-size: 2rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #f16036;
}

.navbar-btn {
    display: flex;
    flex-shrink: 0;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #4a5568;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

.navbar-mobile {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid #e2e8f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.navbar-mobile.active {
    max-height: 500px;
}

.nav-link-mobile {
    padding: 16px 24px;
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #f7fafc;
    transition: all 0.2s ease;
    display: block;
}

.nav-link-mobile:hover {
    background: #f8f9fa;
    color: #f16036;
}

/* ========================================
   BUTTONS
======================================== */

.btn-primary {
    background: linear-gradient(135deg, #f16036 0%, #ffa443 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(241, 96, 54, 0.3);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e04d28 0%, #d43d18 100%);
    opacity: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 96, 54, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: white;
    color: #f16036;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #f16036;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #f16036;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: #fff !important;
    border-color: #f16036;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(241, 96, 54, 0.3);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary span,
.btn-secondary i {
    position: relative;
    z-index: 1;
}

.btn-white {
    background: white;
    color: #f16036;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 96, 54, 0.3);
    background: #f8fafc;
}

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

.gradient-text {
    background: linear-gradient(135deg, #f16036 0%, #ffa443 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.color-blue {
    color: #f16036;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

/* ========================================
   FEATURE CARDS
======================================== */

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(241, 96, 54, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
}

/* ========================================
   HOW IT WORKS - STEP CARDS
======================================== */

.step-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    padding-top: 60px;
}

.step-number {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f16036 0%, #ffa443 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(241, 96, 54, 0.4);
    z-index: 10;
}

.step-content {
    order: 1;
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(241, 96, 54, 0.15);
}

.step-content h3 {
    color: #1a202c;
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

.step-image {
    order: 2;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.step-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   USER TYPE CARDS
======================================== */

.user-type-card {
    background: white;
    padding: 48px 32px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.user-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f16036 0%, #ffa443 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-type-card:hover::before {
    transform: scaleX(1);
}

.user-type-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(241, 96, 54, 0.2);
    border-color: rgba(241, 96, 54, 0.2);
}

.user-type-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f16036 0%, #ffa443 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 32px;
    box-shadow: 0 8px 25px rgba(241, 96, 54, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-type-card:hover .user-type-icon {
    transform: scale(1.1) rotate(5deg);
}

.user-type-card h3 {
    color: #1a202c;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.user-type-card:hover h3 {
    color: #f16036;
}

.user-type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-type-card ul li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: #4a5568;
    font-size: 1rem;
}

.user-type-card ul li i {
    font-size: 1.125rem;
}

/* ========================================
   STATS BAR
======================================== */

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 48px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f16036 0%, #ffa443 100%);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stats-label {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

.stats-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   UPDATE CARDS
======================================== */

.update-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.update-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.update-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.update-badge:not(.new-badge) {
    background: linear-gradient(135deg, #f16036 0%, #ffa443 100%);
    box-shadow: 0 4px 15px rgba(241, 96, 54, 0.4);
}

.badge {
    background: rgba(241, 96, 54, 0.1);
    color: #f16036;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

/* ========================================
   PRICING CARDS
======================================== */

.pricing-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card-featured {
    border: 4px solid #f16036;
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f16036 0%, #ffa443 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(241, 96, 54, 0.4);
    white-space: nowrap;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
}

.pricing-card ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #4a5568;
}

/* ========================================
   COUNTER ANIMATION
======================================== */

.counter {
    transition: all 0.5s ease-out;
}

/* ========================================
   PHONE MOCKUP
======================================== */

.phone-container {
    position: relative;
    width: 320px;
    height: 640px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1a202c;
    border-radius: 36px;
    border: 8px solid #2d3748;
    box-shadow: 0 20px 60px rgba(241, 96, 54, 0.3);
    padding: 0;
    overflow: hidden;
    animation: floatPhone 8s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    background: #000;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: #1a202c;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(
        ellipse at center,
        rgba(241, 96, 54, 0.3) 0%,
        rgba(241, 96, 54, 0.1) 50%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.phone-container:hover .phone-frame {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 768px) {
    /* Navigation */
    .navbar-container {
        padding: 12px 16px;
    }

    .navbar-menu,
    .navbar-btn,
    .open-in-tg {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-mobile {
        display: flex;
    }

    /* Typography */
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    .text-xl {
        font-size: 1rem !important;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-white {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    /* Sections */
    section {
        /* padding-top: 60px !important; */
        padding-bottom: 60px !important;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Step Cards */
    .step-card {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
        gap: 32px;
    }

    .step-number {
        transform: translate(-50%, 50%);
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-content {
        padding: 32px 24px;
    }

    .step-image {
        max-width: 250px;
    }

    /* User Type Cards */
    .user-type-card {
        padding: 40px 24px;
    }

    .user-type-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    /* Stats Bar */
    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 24px;
    }

    .stats-divider {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 24px 0;
    }

    .stats-number {
        font-size: 2rem;
    }

    /* Phone Mockup */
    .phone-container {
        width: 280px;
        height: 560px;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
        animation: none !important;
    }

    /* Cards */
    .feature-card,
    .update-card,
    .pricing-card {
        padding: 24px;
    }

    /* Grid */
    .grid {
        gap: 24px !important;
    }
}

@media (min-width: 769px) {
    /* Desktop - Step Cards Zigzag */
    .step-card {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .step-number {
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
    }

    .step-card:nth-child(even) .step-content {
        order: 2;
    }

    .step-card:nth-child(even) .step-image {
        order: 1;
    }

    .step-card:nth-child(even) .step-number {
        left: auto;
        right: -40px;
    }

    .step-image.left {
        margin-left: auto;
        margin-right: 0;
    }

    .step-image.right {
        margin-left: 0;
        margin-right: auto;
    }
}

/* ========================================
   ANIMATIONS & EFFECTS
======================================== */

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

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth transitions */
a,
button,
.transition {
    transition: all 0.3s ease;
}

/* Focus states */
button:focus,
a:focus {
    outline: 2px solid #f16036;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #f16036;
    color: white;
}

::-moz-selection {
    background: #f16036;
    color: white;
}