/* TrewMonitor Landing Page Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glow Button Effects */
.glow-button {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
}

.glow-button-large {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    transition: all 0.3s ease;
}

.glow-button-large:hover {
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.6);
    transform: translateY(-3px);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    touch-action: pan-y pinch-zoom;
}

.carousel-slide {
    min-height: 500px;
}

.phone-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-glow {
    position: absolute;
    width: 280px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.3) 0%, rgba(0, 217, 255, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: 260px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

/* Carousel Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(36, 36, 36, 0.9);
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #00D9FF;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: #00D9FF;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.carousel-arrow-left {
    left: 1rem;
}

.carousel-arrow-right {
    right: 1rem;
}

@media (min-width: 768px) {
    .carousel-arrow-left {
        left: 2rem;
    }
    .carousel-arrow-right {
        right: 2rem;
    }
}

/* Carousel Dots */
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: #555;
}

.carousel-dot.active {
    background: #00D9FF;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Feature Card Animations */
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Comparison Visual Animation */
.comparison-visual {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.comparison-visual.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Coming Soon Banner */
.coming-soon-banner {
    position: relative;
    overflow: hidden;
}

.coming-soon-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .phone-frame {
        width: 220px;
    }
    
    .phone-glow {
        width: 240px;
        height: 420px;
    }
    
    .carousel-slide {
        min-height: 420px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 200px;
    }
    
    .phone-glow {
        width: 220px;
        height: 380px;
    }
    
    .carousel-slide {
        min-height: 380px;
    }
}

/* Selection Color */
::selection {
    background: rgba(0, 217, 255, 0.3);
    color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00D9FF;
}