/* ============================================
   EasyStore24 - Global Styles
   ============================================ */

:root {
    --primary-cyan: #00d4ff;
    --primary-purple: #d946ef;
    --primary-pink: #ec4899;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: rgba(20, 20, 35, 0.7);
    --text-light: #e8e8f0;
    --text-muted: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #d946ef 50%, #ec4899 100%);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-purple: 0 0 20px rgba(217, 70, 239, 0.3);
}

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

body {
    font-family: 'Sora', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(217, 70, 239, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 60%);
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Grid Pattern Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Tilt Warp', sans-serif;
    font-weight: 400;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.95);
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.1);
}

.navbar-brand img {
    height: 50px;
    filter: drop-shadow(var(--glow-cyan));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(2deg);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-link.active::after {
    width: 80%;
}

.btn-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--glow-cyan);
    position: relative;
    overflow: hidden;
}

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

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

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
    background-image: url('/images/easystore24-hero-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    will-change: transform;
}

.hero-parallax-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(217, 70, 239, 0.5)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Form Card */
.form-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), var(--glow-cyan);
}

.form-card h3 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-light);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Section Styles */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-cyan);
}

.feature-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Gallery */
.gallery-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(0, 212, 255, 0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-cyan);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Support */
.support-section {
    padding: 100px 0;
}

.support-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 70, 239, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--glow-purple);
}

.support-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(217, 70, 239, 0.3);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.2);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-pink);
    object-fit: cover;
}

.author-info h5 {
    color: var(--primary-pink);
    margin: 0;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Pricing */
.pricing-section {
    padding: 100px 0;
}

.pricing-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-cyan);
}

.pricing-card.featured {
    border: 2px solid var(--primary-purple);
    box-shadow: var(--glow-purple);
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.8rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.plan-price {
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.plan-price sup {
    font-size: 1.5rem;
}

.plan-period {
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.plan-features li {
    padding: 0.8rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--primary-cyan);
    margin-right: 0.5rem;
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(217, 70, 239, 0.1));
    padding: 60px 0;
    margin: 100px 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(217, 70, 239, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 400;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(var(--glow-cyan));
}

.footer-section h5 {
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-cyan);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Page Header (for inner pages) */
.page-header {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* Content Card (for inner pages) */
.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.content-card h3 {
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.content-card p,
.content-card li {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.comparison-table th {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-cyan);
    padding: 1rem;
    text-align: center;
    font-family: 'Tilt Warp', sans-serif;
}

.comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-muted);
    text-align: center;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .feature-name {
    text-align: left;
    color: var(--text-light);
    font-weight: 500;
}

.comparison-table .check {
    color: var(--primary-cyan);
}

.comparison-table .cross {
    color: var(--primary-pink);
    opacity: 0.5;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 15px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--text-light);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    box-shadow: none;
    padding: 1.2rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 212, 255, 0.05);
    color: var(--primary-cyan);
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
    color: var(--text-muted);
    line-height: 1.8;
    padding: 1.5rem;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 30px;
    bottom: -30px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-cyan), var(--primary-purple));
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot i {
    color: white;
    font-size: 0.7rem;
}

/* Offcanvas */
.offcanvas {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98), rgba(20, 10, 25, 0.98));
    backdrop-filter: blur(20px);
    border-left: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1.5rem;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.offcanvas-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.offcanvas-body {
    padding: 2rem 1.5rem;
}

.offcanvas .nav-link {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
    padding-left: 15px;
    color: var(--primary-cyan) !important;
}

.offcanvas .nav-link::after {
    display: none;
}

.offcanvas .btn-gradient {
    margin-top: 1rem;
}

.offcanvas-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Text utilities */
.text-primary-cyan { color: var(--primary-cyan) !important; }
.text-primary-purple { color: var(--primary-purple) !important; }
.text-primary-pink { color: var(--primary-pink) !important; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .form-card { padding: 1.5rem; }
    .page-header { padding: 120px 0 60px; }
    .content-card { padding: 1.5rem; }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--darker-bg); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-purple), var(--primary-pink));
}
