/* ===========================================
   KAPTAN IPTV - MODERN STYLES
   =========================================== */

/* CSS Variables */
:root {
    --primary-color: #00f5ff;
    --secondary-color: #7b2cbf;
    --accent-color: #ff006e;
    --success-color: #06d6a0;
    --warning-color: #ffd60a;
    --bg-dark: #0a0e27;
    --bg-darker: #050816;
    --bg-card: rgba(20, 25, 50, 0.8);
    --bg-card-hover: rgba(30, 40, 80, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
    --gradient-1: linear-gradient(135deg, #00f5ff 0%, #7b2cbf 100%);
    --gradient-2: linear-gradient(135deg, #7b2cbf 0%, #ff006e 100%);
    --gradient-3: linear-gradient(135deg, #06d6a0 0%, #00f5ff 100%);
    --shadow-1: 0 10px 40px rgba(0, 245, 255, 0.3);
    --shadow-2: 0 20px 60px rgba(123, 44, 191, 0.4);
    --border-glow: 2px solid rgba(0, 245, 255, 0.5);
    --glass: rgba(20, 25, 50, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 8, 22, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.nav-logo i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.nav-logo span:first-of-type {
    background: linear-gradient(90deg, #00f5ff, #0091ff, #00f5ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.iptv-text {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-telegram {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0088cc;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 8, 22, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--primary-color);
    box-shadow: 0 -5px 20px rgba(0, 245, 255, 0.2);
    z-index: 9999;
    padding: 0.5rem 1rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 60px;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: var(--primary-color);
    background: rgba(0, 245, 255, 0.1);
}

.mobile-nav-item.telegram-btn {
    color: #0088cc;
}

.mobile-nav-item.telegram-btn:hover,
.mobile-nav-item.telegram-btn:active {
    background: rgba(0, 136, 204, 0.2);
    color: #00a8e8;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(ellipse at top, rgba(123, 44, 191, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(0, 245, 255, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.gradient-text {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-title-xl {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 0, 110, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-cta,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-darker);
    box-shadow: var(--shadow-1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 245, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-tag i {
    color: var(--success-color);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-device {
    position: relative;
    animation: float-device 6s ease-in-out infinite;
}

@keyframes float-device {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.device-screen {
    width: 350px;
    height: 500px;
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-2);
    position: relative;
    overflow: hidden;
}

.device-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.screen-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    color: var(--text-primary);
    transition: var(--transition);
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
}

.channel-item:nth-child(1) { animation-delay: 0.1s; }
.channel-item:nth-child(2) { animation-delay: 0.2s; }
.channel-item:nth-child(3) { animation-delay: 0.3s; }
.channel-item:nth-child(4) { animation-delay: 0.4s; }
.channel-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.channel-item:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.channel-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Section Styles */
section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-dark);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 20px;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--bg-darker);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.feature-card:hover .feature-glow {
    opacity: 1;
}

/* Content Categories */
.content-categories {
    margin-top: 5rem;
    text-align: center;
}

.categories-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(123, 44, 191, 0.1);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 15px;
    transition: var(--transition);
}

.category-item:hover {
    transform: scale(1.05);
    background: rgba(123, 44, 191, 0.2);
    border-color: var(--secondary-color);
}

.category-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.category-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Pricing Section */
.pricing {
    background: var(--bg-dark);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-btn {
    padding: 1rem 2.5rem;
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover,
.toggle-btn.active {
    background: var(--gradient-1);
    border-color: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-2px);
}

.pricing-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    position: relative;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: rgba(0, 245, 255, 0.05);
}

.pricing-card.premium {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.2) 0%, rgba(255, 0, 110, 0.1) 100%);
}

.pricing-card.trial {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, rgba(0, 200, 255, 0.1) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--gradient-1);
    color: var(--bg-darker);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-badge.best-value {
    background: var(--warning-color);
    animation: pulse-glow 2s infinite;
}

.pricing-badge.special {
    background: var(--gradient-2);
}

.pricing-badge.trial-badge {
    background: linear-gradient(135deg, #00f5ff, #0088cc);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.old-price {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success-color);
}

.pricing-features li i.fa-times {
    color: var(--text-secondary);
}

.pricing-vip {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 214, 10, 0.1);
    border: 1px solid rgba(255, 214, 10, 0.3);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.pricing-vip span {
    display: block;
    font-weight: 700;
    color: var(--warning-color);
    font-size: 1.1rem;
}

.pricing-vip small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.pricing-trial-note {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.pricing-trial-note p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-price,
.btn-price-vip,
.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-price {
    background: var(--success-color);
    color: var(--bg-darker);
}

.btn-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.4);
}

.btn-price-vip,
.btn-buy {
    background: var(--gradient-2);
    color: var(--text-primary);
}

.btn-price-vip:hover,
.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.btn-price.trial-btn {
    background: linear-gradient(135deg, #00f5ff, #0088cc);
    color: #000;
    font-weight: 700;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 245, 255, 0.8);
    }
}

.btn-price.trial-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 245, 255, 1);
}

/* Devices Section */
.devices {
    background: var(--bg-darker);
}

.devices-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.device-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.device-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-1);
}

.device-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 20px;
    font-size: 2.5rem;
    color: var(--bg-darker);
}

.device-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.device-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Applications */
.applications {
    margin-top: 5rem;
    text-align: center;
}

.apps-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.app-item {
    padding: 2rem;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.app-item:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.app-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: var(--gradient-3);
    border-radius: 15px;
    font-size: 1.75rem;
    color: var(--bg-darker);
}

.app-item span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.app-item small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-dark);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--warning-color);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    position: relative;
    padding: 8rem 2rem;
    background: var(--gradient-2);
    overflow: hidden;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    background: var(--text-primary);
    color: var(--secondary-color);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-cta-secondary:hover {
    background: var(--text-primary);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.cta-animation {
    position: absolute;
    bottom: -50px;
    right: 10%;
}

.floating-icon {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 10s ease-in-out infinite;
}

/* ===========================================
   ENHANCED CONTACT SECTION
   =========================================== */
.contact {
    background: linear-gradient(180deg, var(--bg-darker) 0%, #0f1429 100%);
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.contact-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.contact-card:hover .contact-glow {
    opacity: 1;
    animation: glow-rotate 3s linear infinite;
}

@keyframes glow-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow:
        0 25px 80px rgba(0, 245, 255, 0.25),
        0 0 0 1px rgba(0, 245, 255, 0.1);
}

.contact-card.telegram-card:hover {
    border-color: #0088cc;
    box-shadow:
        0 25px 80px rgba(0, 136, 204, 0.25),
        0 0 0 1px rgba(0, 136, 204, 0.1);
}

.contact-card.email-card:hover {
    border-color: var(--accent-color);
    box-shadow:
        0 25px 80px rgba(255, 0, 110, 0.25),
        0 0 0 1px rgba(255, 0, 110, 0.1);
}

.contact-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--bg-darker);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.telegram-card .contact-icon {
    background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
}

.channel-card .contact-icon {
    background: var(--gradient-2);
}

.email-card .contact-icon {
    background: linear-gradient(135deg, #ff006e 0%, #c9004f 100%);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-detail {
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    background: var(--gradient-1);
    color: var(--bg-darker);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.telegram-card .contact-link {
    background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
}

.email-card .contact-link {
    background: linear-gradient(135deg, #ff006e 0%, #c9004f 100%);
}

.contact-link:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 245, 255, 0.4);
}

.contact-link span {
    position: relative;
    z-index: 1;
}

.contact-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(3px);
}

/* Contact Stats */
.contact-stats {
    max-width: 800px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.contact-stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.15);
}

.contact-stat i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-stat div {
    display: flex;
    flex-direction: column;
}

.contact-stat strong {
    font-size: 1.3rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.contact-stat span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===========================================
   COMPACT FOOTER
   =========================================== */
.footer {
    background: linear-gradient(180deg, #0a0e27 0%, #050816 100%);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0 5rem 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: currentColor;
}

.telegram-social:hover {
    color: #0088cc;
}

.instagram-social:hover {
    color: #E1306C;
}

.youtube-social:hover {
    color: #FF0000;
}

.social-link i {
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 2rem 1rem;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===========================================
   ENHANCED TELEGRAM FLOAT BUTTON
   =========================================== */
.telegram-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 2.2rem;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 30px rgba(0, 136, 204, 0.4),
        0 0 0 0 rgba(0, 136, 204, 0.4);
    position: relative;
}

.telegram-float-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

.telegram-float::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, #00a8e8, #0088cc);
    background-size: 200% 200%;
    animation: gradient-rotate 3s ease infinite;
    z-index: -2;
    opacity: 0.6;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.telegram-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow:
        0 15px 45px rgba(0, 136, 204, 0.6),
        0 0 0 15px rgba(0, 136, 204, 0.1);
}

.telegram-float:active {
    transform: scale(1.05);
}

.telegram-float i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.telegram-tooltip {
    position: absolute;
    right: 75px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    white-space: nowrap;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.4;
}

.telegram-tooltip small {
    display: block;
    color: var(--primary-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.telegram-float:hover .telegram-tooltip {
    opacity: 1;
    right: 85px;
    transform: translateX(-5px);
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    left: 30px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Responsive Design - Tablet & Below */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* ===========================================
   MOBILE OPTIMIZATION - 768px and below
   =========================================== */
@media (max-width: 768px) {
    /* ========== NAVIGATION ========== */
    .navbar {
        padding: 0.5rem 1rem;
        background: rgba(5, 8, 22, 0.9);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid rgba(0, 245, 255, 0.05);
    }

    .nav-container {
        padding: 0;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(5, 8, 22, 0.98) 0%, rgba(10, 14, 39, 0.98) 100%);
        backdrop-filter: blur(30px);
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--primary-color);
        border-top: 2px solid var(--primary-color);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999999;
        box-shadow: -5px 0 30px rgba(0, 245, 255, 0.15);
    }

    .nav-menu.active {
        right: 0;
    }

    /* Overlay when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 999998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--text-primary);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(0, 245, 255, 0.05);
        border: 1px solid rgba(0, 245, 255, 0.1);
        margin-bottom: 0.5rem;
        position: relative;
        overflow: hidden;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: var(--primary-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-link:active {
        transform: scale(0.98);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 245, 255, 0.15);
        border-color: var(--primary-color);
        color: var(--primary-color);
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        transform: scaleY(1);
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn-telegram {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
    }

    .btn-telegram span {
        display: inline;
    }

    .nav-toggle {
        display: none !important;
    }

    /* Show mobile bottom navigation */
    .mobile-bottom-nav {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    /* ========== HERO SECTION ========== */
    .hero {
        padding: 6rem 1.25rem 5rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero-container {
        padding: 0;
    }

    .hero-content {
        padding: 0;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
    }

    .gradient-text {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        letter-spacing: 1px;
    }

    .hero-title-xl {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 1rem;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .stat-item {
        padding: 1rem;
        background: rgba(0, 245, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(0, 245, 255, 0.1);
    }

    .stat-number {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        border-radius: 12px;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        width: 100%;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        background: rgba(6, 214, 160, 0.1);
        border-radius: 20px;
    }

    /* ========== SECTIONS GENERAL ========== */
    section {
        padding: 4rem 1.25rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .section-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    /* ========== FEATURES ========== */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* ========== CONTENT CATEGORIES ========== */
    .content-categories {
        margin-top: 3rem;
    }

    .categories-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-item {
        padding: 1.25rem 0.75rem;
        border-radius: 14px;
    }

    .category-item i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .category-item span {
        font-size: 0.8rem;
        font-weight: 600;
    }

    /* ========== PRICING ========== */
    .pricing {
        padding: 4rem 1rem;
    }

    .pricing-toggle {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .toggle-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        border-radius: 25px;
        font-weight: 600;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }

    .pricing-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.85rem;
        top: -10px;
        letter-spacing: 0.5px;
    }

    .pricing-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .pricing-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .pricing-price {
        margin-bottom: 0.5rem;
    }

    .pricing-price .amount {
        font-size: 2.25rem;
    }

    .pricing-price .currency {
        font-size: 1.15rem;
    }

    .old-price {
        font-size: 1.15rem;
        margin-right: 0.25rem;
    }

    .pricing-period {
        font-size: 0.85rem;
    }

    .pricing-features {
        margin-bottom: 1.25rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.55rem 0;
        line-height: 1.5;
    }

    .pricing-features li i {
        font-size: 0.8rem;
    }

    .pricing-vip {
        padding: 0.65rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .pricing-vip span {
        font-size: 0.95rem;
    }

    .pricing-vip small {
        font-size: 0.7rem;
        margin-top: 0.25rem;
    }

    .pricing-actions {
        gap: 0.5rem;
    }

    .btn-price,
    .btn-price-vip,
    .btn-buy {
        padding: 0.8rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 10px;
    }

    /* ========== DEVICES ========== */
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .device-item {
        padding: 1.25rem 0.75rem;
        border-radius: 16px;
    }

    .device-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .device-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .device-item p {
        font-size: 0.75rem;
    }

    /* ========== APPLICATIONS ========== */
    .applications {
        margin-top: 3rem;
    }

    .apps-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .app-item {
        padding: 1rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
        border-radius: 14px;
    }

    .app-icon {
        width: 45px;
        height: 45px;
        margin: 0;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .app-item span {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .app-item small {
        font-size: 0.7rem;
    }

    /* ========== TESTIMONIALS ========== */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }

    .testimonial-stars {
        margin-bottom: 0.75rem;
    }

    .testimonial-stars i {
        font-size: 0.85rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .testimonial-author strong {
        font-size: 1rem;
    }

    .testimonial-author span {
        font-size: 0.8rem;
    }

    /* ========== CTA ========== */
    .cta {
        padding: 4rem 1.25rem;
    }

    .cta h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .cta p {
        font-size: 0.9rem;
        margin-bottom: 1.75rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-cta,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .cta-animation {
        display: none;
    }

    /* ========== CONTACT ========== */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .contact-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .contact-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    /* ========== FOOTER ========== */
    .footer {
        padding: 3rem 1.25rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-social {
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links li {
        margin: 0;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.75rem;
    }
}

/* ===========================================
   SMALL MOBILE PHONES - 480px and below
   =========================================== */
@media (max-width: 480px) {
    /* ========== NAVIGATION ========== */
    .navbar {
        padding: 0.65rem 1rem;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-logo i {
        font-size: 1.2rem;
    }

    .nav-menu {
        top: 52px;
        padding: 1.5rem 1rem;
    }

    .nav-link {
        padding: 1rem 0.75rem;
        font-size: 1rem;
    }

    /* ========== HERO ========== */
    .hero {
        padding: 5.5rem 1rem 2.5rem;
    }

    .hero-title-xl {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-buttons {
        padding: 0;
        gap: 0.65rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }

    /* ========== SECTIONS ========== */
    section {
        padding: 3.5rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        padding: 0;
    }

    /* ========== FEATURES ========== */
    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* ========== CATEGORIES ========== */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .category-item {
        padding: 1rem;
    }

    /* ========== PRICING ========== */
    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .pricing-header h3 {
        font-size: 1.1rem;
    }

    .pricing-price .amount {
        font-size: 2rem;
    }

    .pricing-features li {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    /* ========== DEVICES ========== */
    .devices-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* ========== TESTIMONIALS ========== */
    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    /* ========== FOOTER ========== */
    .footer {
        padding: 2.5rem 1rem 1rem;
    }

    .telegram-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ===========================================
   ULTRA SMALL MOBILE - 360px and below
   =========================================== */
@media (max-width: 360px) {
    .hero-title-xl {
        font-size: 1.6rem;
    }

    .hero-stats {
        gap: 0.65rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .pricing-price .amount {
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .nav-logo {
        font-size: 0.95rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 5rem 1rem 2rem;
    }

    .hero-title-xl {
        font-size: 1.8rem;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .nav-menu {
        top: 50px;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-darker);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--bg-darker);
}

/* Touch Device Optimizations */
.touch-device {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.touch-device * {
    -webkit-tap-highlight-color: rgba(0, 245, 255, 0.2);
}

/* Better button touch targets on mobile */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .btn-price,
    .btn-price-vip,
    .btn-buy,
    .btn-cta,
    .btn-cta-secondary,
    .btn-telegram,
    .pricing-card,
    .feature-card,
    .device-item,
    .contact-card {
        position: relative;
    }

    /* Add active state for touch */
    .btn-primary:active,
    .btn-secondary:active,
    .btn-price:active,
    .btn-price-vip:active,
    .btn-buy:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

    /* Smooth scrolling on mobile */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent bounce scroll on fixed elements */
    .navbar {
        position: fixed;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* Optimize images and heavy elements for mobile */
    .device-screen {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Safe area support for iPhone X+ */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .hero {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .telegram-float {
        right: max(30px, env(safe-area-inset-right));
        bottom: max(30px, env(safe-area-inset-bottom));
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass-border: rgba(255, 255, 255, 0.3);
    }

    .pricing-card,
    .feature-card,
    .device-item,
    .contact-card {
        border-width: 2px;
    }
}

/* Dark mode enhancement */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-dark: #0a0e27;
        --bg-darker: #050816;
    }
}

/* Mobile text size adjustment */
@media (max-width: 768px) {
    html {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Hide focus outline on mouse, show on keyboard */
:focus:not(:focus-visible) {
    outline: none;
}

/* ===========================================
   NETFLIX STYLE LOADING SCREEN
   =========================================== */

.netflix-loader {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0e27 0%, #050816 100%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}

.netflix-loader.loaded {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loader-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: loader-particle-float 15s infinite;
}

@keyframes loader-particle-float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.loader-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.logo-anchor {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: anchor-float 3s ease-in-out infinite;
}

.logo-anchor i {
    font-size: 5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
    animation: anchor-glow 2s ease-in-out infinite, anchor-reveal 1.5s ease-out forwards;
    opacity: 0;
    transform: scale(0);
}

@keyframes anchor-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes anchor-glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 245, 255, 0.8));
    }
}

@keyframes anchor-reveal {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.logo-text,
.logo-iptv {
    display: flex;
    gap: 0.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) scale(0.5);
    animation: letter-reveal 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.letter-k { animation-delay: 0.1s; color: #00f5ff; }
.letter-a { animation-delay: 0.2s; color: #7b2cbf; }
.letter-p { animation-delay: 0.3s; color: #ff006e; }
.letter-t { animation-delay: 0.4s; color: #06d6a0; }
.letter-a2 { animation-delay: 0.5s; color: #ffd60a; }
.letter-n { animation-delay: 0.6s; color: #00f5ff; }

.letter-i { animation-delay: 0.7s; color: #7b2cbf; }
.letter-p2 { animation-delay: 0.8s; color: #ff006e; }
.letter-t2 { animation-delay: 0.9s; color: #06d6a0; }
.letter-v { animation-delay: 1.0s; color: #ffd60a; }

@keyframes letter-reveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
        filter: blur(10px);
    }
    50% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.logo-iptv {
    font-size: 2rem;
    margin-top: 0.5rem;
}

/* Netflix-style letter animation */
.letter.animate-in {
    animation: netflix-letter 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes netflix-letter {
    0% {
        opacity: 0;
        transform: scale(3) translateY(100px);
        filter: blur(20px);
    }
    50% {
        opacity: 0.5;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.loader-bar {
    width: 300px;
    max-width: 90vw;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg,
        #00f5ff 0%,
        #7b2cbf 25%,
        #ff006e 50%,
        #06d6a0 75%,
        #ffd60a 100%);
    background-size: 200% 100%;
    animation: progress-shine 2s linear infinite, progress-grow 3s ease-out forwards;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

@keyframes progress-shine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes progress-grow {
    0% {
        width: 0%;
    }
    30% {
        width: 30%;
    }
    60% {
        width: 60%;
    }
    80% {
        width: 80%;
    }
    100% {
        width: 100%;
    }
}

.loader-tagline {
    opacity: 0;
    animation: fade-in 1s ease-out 2s forwards;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

.tagline-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00f5ff, #7b2cbf, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shine 3s linear infinite;
}

@keyframes text-shine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.loader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Netflix N-style shadow effect */
.logo-container::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.3) 0%, transparent 70%);
    animation: shadow-glow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes shadow-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* Mobile adjustments for loader */
@media (max-width: 768px) {
    .netflix-loader {
        position: fixed;
        z-index: 99999;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .logo-anchor {
        width: 80px;
        height: 80px;
    }

    .logo-anchor i {
        font-size: 3.5rem;
    }

    .logo-text {
        font-size: 2rem;
        gap: 0.15rem;
    }

    .logo-iptv {
        font-size: 1.4rem;
        gap: 0.15rem;
    }

    .loader-bar {
        width: 250px;
    }

    .tagline-text {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .loader-glow {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .logo-anchor {
        width: 70px;
        height: 70px;
    }

    .logo-anchor i {
        font-size: 3rem;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .logo-iptv {
        font-size: 1.2rem;
    }

    .loader-bar {
        width: 200px;
    }
}

/* Prevent scroll during loading */
body.loading {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

body.loading .navbar,
body.loading .hero,
body.loading section {
    filter: blur(5px);
}

/* Smooth reveal after loading */
body.loaded .navbar,
body.loaded .hero,
body.loaded section {
    animation: content-reveal 1s ease-out forwards;
}

@keyframes content-reveal {
    from {
        filter: blur(5px);
        opacity: 0;
    }
    to {
        filter: blur(0);
        opacity: 1;
    }
}

/* ===========================================
   RESPONSIVE STYLES FOR BOTTOM SECTIONS
   =========================================== */

/* Tablet & Below - Contact & Footer */
@media (max-width: 1024px) {
    .contact-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 2rem 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile - Contact & Footer */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-icon {
        width: 75px;
        height: 75px;
        font-size: 2.2rem;
    }

    .contact-card h3 {
        font-size: 1.4rem;
    }

    .contact-stats {
        gap: 1rem;
    }

    .contact-stat {
        padding: 1.25rem;
    }

    .contact-stat i {
        font-size: 1.6rem;
    }

    .contact-stat strong {
        font-size: 1.1rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 1.5rem 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem 1rem;
    }

    .footer-brand {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .trust-badges {
        align-items: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links-header {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    /* Floating Buttons Mobile */
    .telegram-float {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 20px;
        font-size: 2rem;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 80px;
        left: 20px;
        font-size: 1.1rem;
    }
    
    .telegram-tooltip {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-card {
        padding: 1.75rem 1.25rem;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .trust-badges {
        width: 100%;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 0.65rem 0.85rem;
    }
    
    .telegram-float {
        width: 54px;
        height: 54px;
        bottom: 15px;
        right: 15px;
        font-size: 1.8rem;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 85px;
        left: 15px;
    }

    .telegram-float {
        bottom: 85px;
    }
}

/* Ultra Small Mobile */
@media (max-width: 360px) {
    .contact-stat {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .telegram-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* iPhone Safe Area */
@media (max-width: 768px) {
    .telegram-float {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(20px, env(safe-area-inset-right));
    }
    
    .back-to-top {
        bottom: max(85px, calc(env(safe-area-inset-bottom) + 80px));
        left: max(20px, env(safe-area-inset-left));
    }

    .telegram-float {
        bottom: max(85px, calc(env(safe-area-inset-bottom) + 80px));
        right: max(20px, env(safe-area-inset-right));
    }
}

