/*
Theme Name: FramerClone
Theme URI: https://wp.brightenly.online
Author: Developer
Description: Modern SaaS theme inspired by Brightenly.io
Version: 1.0.0
Text Domain: framerclone
*/

/* Base Animation Styles */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-in {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade"] {
    transform: none;
}

[data-animate="scale"] {
    transform: scale(0.95);
}

[data-animate="scale"].is-in {
    transform: scale(1);
}

[data-animate="slide-left"] {
    transform: translateX(-30px);
}

[data-animate="slide-left"].is-in {
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(30px);
}

[data-animate="slide-right"].is-in {
    transform: translateX(0);
}

/* Primary Gradient */
.gradient-primary {
    background: linear-gradient(135deg, #2258EF 0%, #1a4fd4 100%);
}

/* Orange/Coral Gradient (accent) */
.gradient-accent {
    background: linear-gradient(133deg, rgb(255, 88, 127) 0%, rgb(255, 105, 117) 15%, rgb(255, 129, 99) 31%, rgb(255, 153, 72) 80%, rgb(255, 162, 57) 100%);
}

/* Soft Pink/Orange Gradient */
.gradient-soft {
    background: radial-gradient(50% 50%, rgb(248, 198, 214) 45%, rgb(254, 208, 156) 100%);
}

/* Glow Effects */
.glow-blue {
    box-shadow: 0 0 60px rgba(34, 88, 239, 0.3);
}

.glow-accent {
    box-shadow: 0 0 60px rgba(255, 162, 57, 0.25);
}

/* Card Shadow */
.card-shadow {
    box-shadow: rgba(0, 0, 0, 0.04) 0px 0.75px 0.53px -0.29px,
                rgba(0, 0, 0, 0.04) 0px 1.93px 1.35px -0.58px,
                rgba(0, 0, 0, 0.04) 0px 3.86px 2.7px -0.88px,
                rgba(0, 0, 0, 0.04) 0px 7.32px 5.13px -1.17px,
                rgba(0, 0, 0, 0.05) 0px 14.56px 10.19px -1.46px,
                rgba(0, 0, 0, 0.07) 0px 32px 22.4px -1.75px;
}

/* Decorative Shapes */
.blob-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Icon Circle */
.icon-circle {
    background: linear-gradient(131deg, rgb(254, 208, 156) 4%, rgb(248, 198, 214) 100%);
}

/* Logo Ticker Animation */
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-animate {
    animation: ticker 30s linear infinite;
}

.ticker-animate:hover {
    animation-play-state: paused;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Pulse Animation */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse-soft {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* Button Hover Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Accordion Styles */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.is-open {
    max-height: 500px;
}

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

::-webkit-scrollbar-track {
    background: #f0f1f5;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #1a4fd4;
}

/* Selection */
::selection {
    background: rgba(34, 88, 239, 0.2);
    color: #191919;
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 2px solid #2258EF;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2258EF;
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Pricing Card Highlight */
.pricing-highlight {
    position: relative;
}

.pricing-highlight::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(133deg, rgb(255, 88, 127) 0%, rgb(255, 162, 57) 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Blog Card Hover */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Nav Link Underline Effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2258EF;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    background: rgba(25, 25, 25, 0.5);
    backdrop-filter: blur(4px);
}

/* Form Input Styles */
.form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: #2258EF;
    box-shadow: 0 0 0 3px rgba(34, 88, 239, 0.1);
}

/* Alpine cloak */
[x-cloak] {
    display: none !important;
}
