/* ============================================
   APPWIN Theme - Main CSS (moban-45)
   Purple-Blue Gradient App Showcase Theme
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-start: #667eea;
    --purple-end: #764ba2;
    --purple-light: #a78bfa;
    --purple-dark: #4c1d95;
    --purple-mid: #8b5cf6;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --mid-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #1a1a2e;
    --gold-star: #fbbf24;
    --green-success: #10b981;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-light: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    --gradient-dark: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%);
    --shadow-sm: 0 2px 8px rgba(102,126,234,0.1);
    --shadow-md: 0 4px 20px rgba(102,126,234,0.15);
    --shadow-lg: 0 8px 40px rgba(102,126,234,0.2);
    --shadow-xl: 0 16px 60px rgba(102,126,234,0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* === UTILITY CLASSES === */
.purple-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title i {
    margin-right: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--mid-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === BUTTONS === */
.btn-purple-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-purple-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.5);
}

.btn-outline-purple {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-purple:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* === HEADER === */
.site-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img {
    height: 45px;
    width: auto;
    filter: brightness(1.2);
}

.header-time {
    color: var(--purple-light);
    font-size: 14px;
    font-weight: 500;
}

.header-btn-group {
    display: flex;
    gap: 10px;
}

.header-btn-group .btn-login {
    padding: 8px 20px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--purple-light);
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.header-btn-group .btn-login:hover {
    background: var(--purple-light);
    color: var(--black);
}

.header-btn-group .btn-register {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102,126,234,0.4);
}

.header-btn-group .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.6);
}

.header-btn-group .btn-demo {
    padding: 8px 20px;
    background: transparent;
    color: var(--gold-star);
    border: 2px solid var(--gold-star);
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.header-btn-group .btn-demo:hover {
    background: var(--gold-star);
    color: var(--black);
}

/* === NAVIGATION === */
.main-navigation {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu .nav-item {
    position: relative;
}

.nav-menu .nav-item .nav-link {
    display: block;
    padding: 12px 16px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu .nav-item .nav-link:hover,
.nav-menu .nav-item.current-menu-item .nav-link {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    border-bottom-color: var(--purple-light);
}

.nav-menu .nav-item .nav-link i {
    margin-right: 5px;
    font-size: 12px;
}

/* Dropdown */
.nav-menu .has-dropdown > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--black);
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 100;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.nav-menu .has-dropdown:hover > .sub-menu {
    display: block;
}

.sub-menu .nav-item .nav-link {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* === NOTIFICATION BAR === */
.notification-bar {
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 8px 0;
}

.notification-content {
    display: flex;
    white-space: nowrap;
    animation: notificationScroll 30s linear infinite;
    gap: 80px;
}

.notification-content span {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

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

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.announcement-modal.active {
    display: flex;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.announcement-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalPopIn 0.4s ease;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

@keyframes modalPopIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.announcement-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--mid-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.announcement-close:hover {
    color: var(--purple-start);
}

.announcement-header-icon {
    text-align: center;
    margin-bottom: 15px;
}

.announcement-header-icon i {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.announcement-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background: #e0e7ff;
    transform: translateX(5px);
}

.announcement-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.announcement-badge.hot {
    background: #ef4444;
    color: white;
}

.announcement-badge.new {
    background: var(--green-success);
    color: white;
}

.announcement-badge.info {
    background: var(--purple-start);
    color: white;
}

.announcement-text {
    flex: 1;
    font-size: 13px;
    color: var(--dark-gray);
}

.announcement-item i.fa-chevron-right {
    color: var(--mid-gray);
    font-size: 12px;
}

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

.announcement-cta {
    display: inline-block;
    padding: 12px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    transition: all 0.3s ease;
}

.announcement-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.6);
}

/* === HERO SECTION === */
.appwin-hero {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
    min-height: 600px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -2;
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
}

.hero-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: var(--white);
}

.fs-1 { width: 300px; height: 300px; top: -50px; right: -50px; animation: floatShape 8s ease-in-out infinite; }
.fs-2 { width: 200px; height: 200px; bottom: 50px; left: -30px; animation: floatShape 10s ease-in-out infinite reverse; }
.fs-3 { width: 150px; height: 150px; top: 40%; right: 20%; animation: floatShape 12s ease-in-out infinite; }
.fs-4 { width: 80px; height: 80px; top: 20%; left: 15%; animation: floatShape 6s ease-in-out infinite reverse; }
.fs-5 { width: 120px; height: 120px; bottom: 20%; right: 10%; animation: floatShape 9s ease-in-out infinite; }

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-inner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text-side {
    flex: 1;
    max-width: 550px;
}

.hero-main-title {
    margin-bottom: 20px;
}

.hero-brand {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-divider {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold-star);
    margin: 10px 0;
    border-radius: 2px;
}

.hero-tagline {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 25px;
}

.hero-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 18px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    min-width: 90px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--gold-star);
}

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

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-download-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    width: fit-content;
}

.badge-stars i {
    color: var(--gold-star);
    font-size: 14px;
}

.badge-text {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
}

/* === HERO 3D PHONE SHOWCASE === */
.hero-phone-side {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.phone-3d-showcase {
    position: relative;
    perspective: 1000px;
    width: 400px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    position: absolute;
    width: 200px;
    height: 400px;
    background: #1a1a2e;
    border-radius: 30px;
    border: 3px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transition: all 0.5s ease;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.phone-center {
    z-index: 3;
    transform: translateZ(50px);
    animation: screenshotFloat 4s ease-in-out infinite;
    width: 220px;
    height: 440px;
}

.phone-left {
    z-index: 2;
    transform: rotateY(25deg) translateX(-120px) translateZ(-30px) scale(0.85);
    opacity: 0.8;
    animation: screenshotFloat 4s ease-in-out infinite 1s;
}

.phone-right {
    z-index: 2;
    transform: rotateY(-25deg) translateX(120px) translateZ(-30px) scale(0.85);
    opacity: 0.8;
    animation: screenshotFloat 4s ease-in-out infinite 2s;
}

@keyframes screenshotFloat {
    0%, 100% { transform: translateY(0) rotateY(var(--ry, 0deg)) translateX(var(--tx, 0px)) translateZ(var(--tz, 0px)) scale(var(--sc, 1)); }
    50% { transform: translateY(-15px) rotateY(var(--ry, 0deg)) translateX(var(--tx, 0px)) translateZ(var(--tz, 0px)) scale(var(--sc, 1)); }
}

.phone-center { --ry: 0deg; --tx: 0px; --tz: 50px; --sc: 1; }
.phone-left { --ry: 25deg; --tx: -120px; --tz: -30px; --sc: 0.85; }
.phone-right { --ry: -25deg; --tx: 120px; --tz: -30px; --sc: 0.85; }

@keyframes screenshotFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -15px; }
}

/* === FEATURES IOS GRID === */
.app-features-grid {
    padding: 80px 0;
    background: var(--white);
}

.features-ios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.feature-ios-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-ios-icon:hover {
    transform: translateY(-5px);
}

.feature-ios-icon:hover .ios-icon-box {
    box-shadow: 0 8px 30px rgba(102,126,234,0.4);
}

.ios-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 22%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.ios-icon-box i {
    font-size: 32px;
    color: var(--white);
}

.ios-icon-gradient-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.ios-icon-gradient-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.ios-icon-gradient-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.ios-icon-gradient-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.ios-icon-gradient-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.ios-icon-gradient-6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.ios-icon-gradient-7 { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
.ios-icon-gradient-8 { background: linear-gradient(135deg, #ffecd2, #fcb69f); }

.ios-icon-gradient-8 i { color: #333; }

.feature-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
}

/* Icon Pop Animation */
@keyframes iconPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* === APP SCREENS CAROUSEL === */
.app-screens {
    padding: 80px 0;
    background: var(--gradient-light);
}

.app-screens-swiper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.screen-phone-frame {
    width: 260px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 30px;
    border: 3px solid #333;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.swiper-slide-active .screen-phone-frame {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--purple-start);
}

.screen-phone-notch {
    width: 100px;
    height: 22px;
    background: #1a1a2e;
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
}

.screen-phone-content {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.screen-phone-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen-label {
    text-align: center;
    padding: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    background: rgba(102,126,234,0.3);
    font-family: var(--font-heading);
}

.app-screens-swiper .swiper-pagination-bullet {
    background: var(--purple-start);
    opacity: 0.4;
    width: 10px;
    height: 10px;
}

.app-screens-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--purple-end);
    width: 30px;
    border-radius: 5px;
}

.app-screens-swiper .swiper-button-next,
.app-screens-swiper .swiper-button-prev {
    color: var(--purple-start);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.app-screens-swiper .swiper-button-next::after,
.app-screens-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

/* === RATINGS SECTION === */
.app-ratings {
    padding: 80px 0;
    background: var(--white);
}

.ratings-content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.rating-overview {
    flex: 1;
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.rating-big-number {
    text-align: center;
    min-width: 120px;
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.rating-big-stars {
    margin: 8px 0;
}

.rating-big-stars i {
    color: var(--gold-star);
    font-size: 20px;
}

.rating-total {
    font-size: 12px;
    color: var(--mid-gray);
}

.rating-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    min-width: 30px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.bar-label i {
    color: var(--gold-star);
    font-size: 10px;
}

.bar-track {
    flex: 1;
    height: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    transition: width 1.5s ease-out;
    width: 0;
}

.bar-percent {
    font-size: 12px;
    color: var(--mid-gray);
    min-width: 30px;
    text-align: right;
}

/* Star Fill Animation */
@keyframes starFill {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

/* Sample Reviews */
.sample-reviews {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.review-card {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--purple-start);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-gray);
    display: block;
}

.review-stars i {
    color: var(--gold-star);
    font-size: 12px;
}

.review-date {
    font-size: 12px;
    color: var(--mid-gray);
}

.review-text {
    font-size: 14px;
    color: var(--mid-gray);
    line-height: 1.7;
}

/* === DOWNLOAD SECTION === */
.download-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.download-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.download-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.download-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.download-qr-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.qr-placeholder {
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px dashed rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.qr-placeholder i {
    font-size: 48px;
    color: var(--white);
}

.qr-placeholder span {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    text-align: center;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 220px;
}

.store-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: var(--white);
    transform: translateX(5px);
}

.store-btn i {
    font-size: 28px;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-small {
    font-size: 11px;
    opacity: 0.8;
}

.store-big {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.download-devices {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.device-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.device-icon i {
    font-size: 32px;
    color: var(--white);
}

/* === FOOTER CTA === */
.footer-cta-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.footer-cta-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-icon {
    position: absolute;
    font-size: 40px;
    color: rgba(255,255,255,0.05);
    animation: floatIcon 6s ease-in-out infinite;
}

.ci-1 { top: 10%; left: 10%; animation-delay: 0s; }
.ci-2 { top: 20%; right: 15%; animation-delay: 1s; }
.ci-3 { bottom: 20%; left: 20%; animation-delay: 2s; }
.ci-4 { bottom: 15%; right: 10%; animation-delay: 3s; }
.ci-5 { top: 50%; left: 5%; animation-delay: 4s; }

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

.footer-cta-inner h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-cta-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}

.cta-feature i {
    color: var(--gold-star);
}

.cta-main-btn {
    padding: 16px 48px;
    font-size: 18px;
}

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

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

.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    display: block;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-light);
}

.article-card-thumb {
    height: 180px;
    overflow: hidden;
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-card-thumb img {
    transform: scale(1.1);
}

.article-card-title {
    padding: 15px 15px 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.4;
    color: var(--dark-gray);
    min-height: 52px;
}

.article-card-title span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    padding: 0 15px;
    font-size: 12px;
    color: var(--mid-gray);
    display: flex;
    gap: 15px;
}

.article-card-meta i {
    margin-right: 4px;
    color: var(--purple-start);
}

.article-card-excerpt {
    padding: 10px 15px 15px;
    font-size: 13px;
    color: var(--mid-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-more {
    display: block;
    padding: 12px 15px;
    color: var(--purple-start);
    font-weight: 600;
    font-size: 13px;
    border-top: 1px solid var(--light-gray);
    transition: all 0.3s;
}

.article-card-more:hover {
    background: #e0e7ff;
    color: var(--purple-end);
}

.article-card-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.article-card-more:hover i {
    transform: translateX(5px);
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.purple-view-more {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.purple-view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}

.view-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.view-more-btn:hover i {
    transform: translateX(5px);
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

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

.footer-brand-logo img {
    height: 40px;
    filter: brightness(1.3);
    margin-bottom: 15px;
}

.footer-brand-text {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
}

.footer-18plus {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: 700;
    color: #ef4444;
    font-size: 14px;
    margin-bottom: 15px;
}

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

.footer-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
}

.footer-social-links a:hover {
    background: var(--purple-start);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

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

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '\203A';
    color: var(--purple-light);
    font-size: 16px;
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Footer License Bar */
.footer-license-bar {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-license-bar h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-license-bar h4::after {
    display: none;
}

.license-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.license-item i {
    font-size: 28px;
    color: var(--purple-light);
}

.license-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 5px;
    font-weight: 600;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--purple-start);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--purple-end);
}

.breadcrumb span {
    color: var(--mid-gray);
}

/* === CONTENT AREA === */
.content-area {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* === CATEGORY HEADER === */
.category-header {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--purple-start);
}

.category-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 14px;
    color: var(--mid-gray);
}

/* === PROVIDER TABS === */
.provider-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.provider-tab {
    padding: 8px 18px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mid-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.provider-tab:hover {
    border-color: var(--purple-light);
    color: var(--purple-start);
}

.provider-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* === ARTICLE GRID === */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-posts p {
    font-size: 16px;
    color: var(--mid-gray);
}

/* === PAGINATION === */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 5px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* === SINGLE ARTICLE === */
.single-article {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 25px;
}

.article-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--mid-gray);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    color: var(--purple-start);
}

.article-featured-img {
    margin-bottom: 25px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--dark-gray);
}

.article-content h2,
.article-content h3 {
    margin: 25px 0 15px;
    color: var(--dark-gray);
}

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

.article-content img {
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.article-content a {
    color: var(--purple-start);
    font-weight: 500;
}

.article-content a:hover {
    color: var(--purple-end);
    text-decoration: underline;
}

.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

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

.article-content blockquote {
    border-left: 4px solid var(--purple-start);
    padding: 15px 20px;
    margin: 20px 0;
    background: #e0e7ff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.article-tags i {
    color: var(--purple-start);
}

.article-tags span {
    padding: 4px 12px;
    background: #e0e7ff;
    color: var(--purple-start);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Article Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.article-nav-prev a,
.article-nav-next a {
    color: var(--purple-start);
    font-weight: 600;
    font-size: 14px;
}

.article-nav-prev a:hover,
.article-nav-next a:hover {
    color: var(--purple-end);
}

/* === RELATED POSTS === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

.related-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--light-gray);
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.related-item-thumb {
    height: 120px;
    overflow: hidden;
}

.related-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-item-thumb img {
    transform: scale(1.1);
}

.related-item-title {
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === PAGE === */
.page-article {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.page-featured-img {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.page-content {
    font-size: 16px;
    line-height: 1.9;
}

/* === FLOATING SIDEBAR === */
.floating-sidebar {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102,126,234,0.6);
}

.sidebar-btn-facebook {
    background: #1877f2;
}

.sidebar-btn-telegram {
    background: #0088cc;
}

.sidebar-label {
    display: none;
    position: absolute;
    right: 60px;
    background: var(--dark-gray);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
}

.sidebar-btn:hover .sidebar-label {
    display: block;
}

/* === FADE IN UP ANIMATION === */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === HOME NEWS PLACEHOLDER === */
.home-news-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    grid-column: 1 / -1;
}

/* === NO POSTS === */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

/* === CAROUSEL SLIDE KEYFRAME === */
@keyframes carouselSlide {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
