/* ============================================
   PREMIUM VIDEO EDITOR - FARE STYLE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    letter-spacing: -0.3px;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   ANIMATED BACKGROUND & SNOW
   ============================================ */

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 150, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(100, 200, 255, 0.04) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundShift {
    0%, 100% {
        background: 
            radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(0, 150, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 40% 20%, rgba(100, 200, 255, 0.04) 0%, transparent 50%);
    }
    50% {
        background: 
            radial-gradient(circle at 80% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 20% 70%, rgba(0, 150, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 60% 40%, rgba(100, 200, 255, 0.04) 0%, transparent 50%);
    }
}

/* Snow Effect */
#snow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 12px;
    opacity: 0.8;
    animation: snowFall linear infinite;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 16px rgba(100, 200, 255, 0.4);
    filter: drop-shadow(0 0 6px rgba(100, 200, 255, 0.3)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

@keyframes snowFall {
    to {
        transform: translateY(110vh);
    }
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 60px 24px;
    background: #000000;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 40px 20px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px 30px 16px;
        min-height: auto;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: heroGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-text {
    margin-bottom: 40px;
    animation: appleSlideUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@media (max-width: 768px) {
    .hero-text {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-text {
        margin-bottom: 20px;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(42px, 10vw, 92px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 16px;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #00d4ff, #0a9bff, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(20px, 4vw, 48px);
    color: #aaaaaa;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.3;
    animation: slideInUp 1s ease 0.4s both;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: slideInUp 1s ease 0.6s both;
}

@media (max-width: 768px) {
    .hero-links {
        gap: 12px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-links {
        gap: 10px;
        margin-bottom: 20px;
    }
}

.social-link {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 28px;
    border: 1px solid #333333;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transition: left 0.5s;
}

.social-link:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
}

.social-link:hover::before {
    left: 100%;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    animation: appleSlideUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

@media (max-width: 768px) {
    .scroll-indicator {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        margin-top: 25px;
    }
}

.scroll-indicator span {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 20px;
    color: #666666;
    animation: appleBounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 100px 24px;
    background: #000000;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 20px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 16px;
    }
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 24px;
    color: #ffffff;
    animation: fadeInScale 0.8s ease;
}

.about-description {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 48px;
    animation: appleSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-column {
    animation: appleSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.column-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .reviews-grid {
        display: flex;
        gap: 0;
        margin-bottom: 40px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 16px 16px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .reviews-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .reviews-grid::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .reviews-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 212, 255, 0.3);
        border-radius: 2px;
    }
}

.review-card {
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 150, 255, 0.02) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    display: flex;
    gap: 16px;
    animation: appleSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .review-card {
        flex-shrink: 0;
        width: 100%;
        padding: 24px;
        scroll-snap-align: start;
        margin-right: 16px;
    }
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.review-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-8px);
}

.review-card:hover::before {
    left: 100%;
}

.review-avatar {
    min-width: 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0a9bff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
    animation: avatarFloat 3s ease-in-out infinite;
    object-fit: cover;
}

@keyframes avatarFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.review-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.review-stars {
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.review-author {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}

.review-position {
    font-size: 11px;
    color: #00d4ff;
    font-weight: 500;
}

.creator-list {
    list-style: none;
}

.creator-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #1a1a1a;
    animation: appleSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.creator-list li:hover {
    border-bottom-color: #333333;
    transform: translateX(8px);
}

.creator-badge {
    font-size: 24px;
    min-width: 30px;
}

.creator-list strong {
    font-size: 14px;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.creator-list p {
    font-size: 12px;
    color: #888888;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .specialization-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.spec-item {
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.spec-item:hover {
    border-color: #333333;
    background: #1a1a1a;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.spec-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.spec-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.spec-item p {
    font-size: 11px;
    color: #888888;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.about-stats .stat {
    padding: 32px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.about-stats .stat:hover {
    border-color: #333333;
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
}

.stat-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.about-stats .stat h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.about-stats .stat p {
    font-size: 13px;
    color: #888888;
}
    letter-spacing: -1px;
    margin-bottom: 32px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease;
}

.about-description {
    font-size: 16px;
    color: #aaaaaa;
    line-height: 1.8;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.1s both;
    max-width: 600px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat {
    text-align: left;
    animation: fadeInUp 0.8s ease;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.3s; }
.stat:nth-child(3) { animation-delay: 0.4s; }

.stat-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
}

.stat:nth-child(2) .stat-icon {
    animation-delay: -0.5s;
}

.stat:nth-child(3) .stat-icon {
    animation-delay: -1s;
}

.stat h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat p {
    font-size: 13px;
    color: #888888;
}

/* ============================================
   HERO INFO CARDS
   ============================================ */

.hero-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    animation: slideInUp 1s ease 0.5s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-info {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.02);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-8px);
}

.info-number {
    font-size: 28px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 8px;
}

.info-label {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio {
    padding: 100px 24px;
    background: #000000;
    position: relative;
    z-index: 2;
}

.portfolio-category {
    margin-bottom: 140px;
}

.portfolio-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    letter-spacing: -0.8px;
    margin-bottom: 60px;
    text-align: left;
    color: #ffffff;
    animation: fadeInScale 0.8s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

/* Центрирование одного элемента в grid */
.portfolio-grid:has(> .portfolio-item:only-child) {
    display: flex;
    justify-content: center;
}

.portfolio-grid:has(> .portfolio-item:only-child) > .portfolio-item {
    max-width: 600px;
    width: 100%;
}

.portfolio-grid--vertical {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

/* Центрирование одного вертикального видео */
.portfolio-grid--vertical:has(> .portfolio-item:only-child) {
    display: flex;
    justify-content: center;
    grid-template-columns: unset;
}

.portfolio-grid--vertical:has(> .portfolio-item:only-child) > .portfolio-item {
    max-width: 240px;
    width: 100%;
}

@media (max-width: 480px) {
    .portfolio-grid--vertical {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 12px 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .portfolio-grid--vertical > .portfolio-item {
        flex-shrink: 0;
        min-width: 180px;
        width: 180px;
        height: 320px;
        scroll-snap-align: start;
    }
    
    .portfolio-grid--vertical::-webkit-scrollbar {
        height: 4px;
    }
    
    .portfolio-grid--vertical::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .portfolio-grid--vertical::-webkit-scrollbar-thumb {
        background: rgba(0, 212, 255, 0.3);
        border-radius: 2px;
    }
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #1a1a1a;
    position: relative;
    will-change: transform, opacity;
    animation: appleScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    aspect-ratio: 16/9;
}

.portfolio-item.revealed {
    animation: revealVideo 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes revealVideo {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item:hover {
    border-color: #333333;
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.portfolio-item.revealed:hover {
    transform: translateY(-12px) scale(1.02);
}

.portfolio-item--small {
    aspect-ratio: 9/16;
    max-width: 400px;
    position: center;
}

.portfolio-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    /* Mobile optimization */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Mobile video optimization */
@media (max-width: 768px) {
    .portfolio-video {
        transition: transform 0.3s ease;
        /* Reduce motion on mobile for better performance */
        transform: none !important;
    }
    
    .portfolio-item:hover .portfolio-video {
        transform: none;
    }
}

.portfolio-item:hover .portfolio-video {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 24px;
    background: #0a0a0a;
}

.portfolio-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.portfolio-label {
    font-size: 13px;
    color: #888888;
    font-weight: 400;
    margin-bottom: 4px;
}

.portfolio-subscribers {
    font-size: 13px;
    color: #666666;
    font-weight: 400;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    padding: 100px 24px;
    background: #000000;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 480px) {
    .cta {
        padding: 100px 0;
    }
}

.cta-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 48px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    animation: fadeInScale 0.8s ease;
}

@media (max-width: 480px) {
    .cta-title {
        padding: 0 24px;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 480px) {
    .pricing-grid {
        display: flex !important;
        gap: 0 !important;
        grid-template-columns: unset !important;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 16px 16px !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin-bottom: 40px;
    }
    
    .pricing-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .pricing-grid::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .pricing-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 212, 255, 0.3);
        border-radius: 2px;
    }
    
    .pricing-card {
        flex-shrink: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
        margin-right: 16px;
        padding: 24px !important;
    }
    
    .pricing-card:first-child {
        margin-left: 0 !important;
    }
    
    .pricing-card:last-child {
        margin-right: 16px !important;
    }
}
    letter-spacing: -1px;
    margin-bottom: 48px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    animation: fadeInScale 0.8s ease;
}

.cta-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease 0.2s both;
}

.cta-link {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 28px;
    border: 1px solid #333333;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-link:hover::before {
    width: 300px;
    height: 300px;
}

.cta-link:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #000000;
    border-top: 1px solid #1a1a1a;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-text {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease;
}

.footer-link {
    font-size: 14px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.footer-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.footer-separator {
    color: #666666;
}

.footer-policy-link {
    font-size: 12px;
    color: #888888;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-policy-link:hover {
    color: #00d4ff;
}

/* ============================================
   MODAL WINDOWS
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: #0a0a0a;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    color: #ffffff;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #888888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #00d4ff;
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.modal-text {
    font-size: 14px;
    line-height: 1.8;
    color: #cccccc;
}

.modal-text p {
    margin-bottom: 16px;
}

.modal-text strong {
    color: #ffffff;
}

.modal-text ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.modal-text li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.modal-text a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-text a:hover {
    color: #00ffff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 30px;
        margin: 20% auto;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .modal-text {
        font-size: 13px;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .portfolio {
        padding: 80px 20px;
    }

    .category-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-grid--vertical {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .portfolio-item:hover {
        transform: translateY(-8px) scale(1);
    }

    .cta {
        padding: 80px 20px;
    }

    .cta-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .cta-links {
        gap: 16px;
    }

    .snowflake {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: -0.8px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .social-link {
        padding: 10px 20px;
        font-size: 12px;
    }

    .info-card {
        padding: 16px 12px;
    }

    .info-number {
        font-size: 24px;
    }

    .info-label {
        font-size: 11px;
    }

    .portfolio {
        padding: 60px 16px;
    }

    .category-title {
        font-size: 18px;
        margin-bottom: 28px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-grid--vertical {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .portfolio-grid--vertical > .portfolio-item {
        flex-shrink: 0;
        min-width: 160px;
        width: 160px;
        height: 280px;
    }

    .portfolio-info {
        padding: 16px;
    }

    .cta {
        padding: 60px 16px;
    }

    .cta-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .cta-link {
        padding: 10px 20px;
        font-size: 12px;
    }

    .snowflake {
        font-size: 1em;
    }
}

/* ============================================
   APPLE STYLE ANIMATIONS
   ============================================ */

@keyframes appleScale {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes appleFade {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes appleSlideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes appleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes glassGlow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 10px 50px rgba(0, 212, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ============================================
   CHAT WIDGET STYLES
   ============================================ */

.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #0a9bff 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: appleBounce 2s infinite;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.chat-button:active {
    transform: scale(0.95);
}

.chat-button.hidden {
    display: none;
}

.chat-widget {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    max-height: 600px;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 212, 255, 0.5);
    animation: appleScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.chat-widget.open {
    display: flex;
    animation: appleScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: appleSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.chat-title-container {
    display: flex;
    flex-direction: column;
}

.chat-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #00d4ff, #0a9bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chat-subtitle {
    font-size: 12px;
    color: #888888;
    margin: 4px 0 0 0;
}

.chat-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: appleSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

.message {
    display: flex;
    margin-bottom: 8px;
    animation: appleScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    word-wrap: break-word;
    line-height: 1.4;
    animation: appleFade 0.4s ease;
}

.message.user .message-content {
    background: linear-gradient(135deg, #00d4ff, #0a9bff);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.assistant .message-content {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message.system .message-content {
    background: rgba(255, 200, 0, 0.1);
    color: #ffc800;
    border: 1px solid rgba(255, 200, 0, 0.2);
    font-size: 12px;
    justify-content: center;
}

.chat-input-area {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: appleSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.chat-api-setup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.api-key-input {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.api-key-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.api-key-submit {
    padding: 10px 16px;
    background: linear-gradient(135deg, #00d4ff, #0a9bff);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 13px;
}

.api-key-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.api-key-submit:active {
    transform: translateY(0);
}

.api-hint {
    font-size: 11px;
    color: #888888;
    margin: 0;
}

.api-hint a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.api-hint a:hover {
    color: #0a9bff;
    text-decoration: underline;
}

.chat-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.chat-send {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff, #0a9bff);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.chat-send:active {
    transform: translateY(0);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.7);
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.5;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-6px);
    }
}

/* Pricing Cards Animations */
.pricing-card {
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 150, 255, 0.02) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    animation: appleSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.pricing-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-8px);
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card-featured {
    animation: appleSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

/* Mobile Responsive Chat */
@media (max-width: 640px) {
    .chat-widget {
        width: calc(100% - 20px);
        max-height: 70vh;
        bottom: 90px;
        right: 10px;
        left: 10px;
    }
    
    .chat-button {
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
    }

    a {
        transition: all 0.3s ease;
    }
}
