/*
Theme Name: Fuschia
Description: Intelligent Process Automation WordPress Theme with Gutenberg support
Author: Your Name
Version: 1.0
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px 0;
    font-weight: 300;
    line-height: 1.2;
    background: linear-gradient(135deg, #ff1493, #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(16, 16, 35, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

@property --glow-deg {
  syntax: "<angle>";
  inherits: true;
  initial-value: -90deg;
}

/* the colors don't need to be registed */
@property --clr-1 {
  syntax: "<color>";
  inherits: true;
  initial-value: red;
}

@property --clr-2 {
  syntax: "<color>";
  inherits: true;
  initial-value: yellow;
}

@property --clr-3 {
  syntax: "<color>";
  inherits: true;
  initial-value: green;
}

@property --clr-4 {
  syntax: "<color>";
  inherits: true;
  initial-value: blue;
}

@property --clr-5 {
  syntax: "<color>";
  inherits: true;
  initial-value: purple;
}

.glowing-border {
  --gradient-glow: var(--clr-1), var(--clr-2), var(--clr-3), var(--clr-4),
    var(--clr-5), var(--clr-1);

  margin-block: 3rem;
  padding: 8rem 3rem;
  max-width: 60ch;

  border: var(--border-width, 3px) solid transparent;
  border-left: 0;
  border-radius: 0 100vw 100vw 0;
  background: linear-gradient(var(--surface, canvas) 0 0) padding-box,
    conic-gradient(from var(--glow-deg), var(--gradient-glow)) border-box;

  position: relative;
  isolation: isolate;

  animation: glow 10s infinite linear;
}

@keyframes glow {
  100% {
    --glow-deg: 270deg;
  }
}

.glowing-border::before,
.glowing-border::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.glowing-border::before {
  z-index: -1;
  background: var(--surface, canvas);
  inset: 0.5rem;
  scale: 1.2 1;
  transform-origin: right;
  filter: blur(var(--glow-size, 1rem));
}

.glowing-border::after {
  z-index: -2;
  inset: -1.5rem;
  background: conic-gradient(from var(--glow-deg), var(--gradient-glow));
  filter: blur(var(--glow-size, 1rem));
  opacity: var(--glow-intensity, 0.125);
}

.custom-logo-link img, .custom-logo-link svg {
	width:100%;
	max-width:150px;
	height:auto;
	max-height:50px !important;
}

.glowing-border.right {
  margin-inline-start: auto;
  border-radius: 100vw 0 0 100vw;
  border: var(--border-width, 3px) solid transparent;
  border-right: 0;

  &::before {
    transform-origin: left;
  }
}

@layer general-styling {
  * {
    box-sizing: border-box;
  }

  html {
    font-family: system-ui;
    color-scheme: dark;
  }

  body {
    margin: 0;
    overflow-x: clip;

    /* --surface: purple; */

    background: var(--surface);
  }
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.fuschia-logo {
    width: 100%;
    height: 100%;
    animation: gentleFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.3));
    transition: all 0.3s ease;
}

.fuschia-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 20, 147, 0.5));
}

.logo-text {
    font-size: 24px;
    font-weight: 300;
    background: linear-gradient(135deg, #ff1493, #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ff1493;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff1493, #da70d6);
    transition: width 0.3s ease;
}

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

.cta-button {
    background: linear-gradient(135deg, #ff1493, #da70d6);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.15) 0%, rgba(218, 112, 214, 0.1) 20%, rgba(0, 255, 255, 0.08) 40%, transparent 70%),
                radial-gradient(circle at 30% 20%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(218, 112, 214, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(218, 112, 214, 0.1));
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-logo-icon {
    width: 80px;
    height: 80px;
    position: relative;
}

.fuschia-hero-logo {
    width: 100%;
    height: 100%;
    animation: gentleFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.4));
    transition: all 0.3s ease;
}

.fuschia-hero-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(255, 20, 147, 0.6));
}

.hero-logo-text {
    font-size: 64px;
    font-weight: 300;
    background: linear-gradient(135deg, #ff1493, #da70d6, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

.hero-tagline {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* WordPress Button Block Styling */
.wp-block-buttons.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Primary Button Styling */
.hero-buttons .wp-block-button.primary-button .wp-block-button__link {
    background: linear-gradient(135deg, #ff1493, #da70d6) !important;
    color: white !important;
    padding: 16px 32px !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.hero-buttons .wp-block-button.primary-button .wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4) !important;
}

/* Secondary Button Styling */
.hero-buttons .wp-block-button.secondary-button .wp-block-button__link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 16px 32px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.hero-buttons .wp-block-button.secondary-button .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
}

/* Reset parent button div styling */
.hero-buttons .wp-block-button.primary-button,
.hero-buttons .wp-block-button.secondary-button {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-buttons .wp-block-button.primary-button::before,
.hero-buttons .wp-block-button.secondary-button::before,
.hero-buttons .wp-block-button.primary-button::after,
.hero-buttons .wp-block-button.secondary-button::after {
    display: none !important;
}

/* Responsive Header */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-menu {
        flex-basis: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .nav-menu li {
        margin: 0 10px;
    }
    
    .cta-button {
        margin-top: 15px;
    }
    
    body {
        padding-top: 120px;
    }
}

/* Footer Styles */
.footer {
    background: rgba(16, 16, 35, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px 0;
    margin-top: 100px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-menu-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Fallback static footer content grid */
.footer-content:not(:has(.footer-menu-wrapper)) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #ff1493;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff1493;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-menu-wrapper,
    .footer-content:not(:has(.footer-menu-wrapper)) {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer {
        padding: 40px 0 30px 0;
    }
}

@media (max-width: 480px) {
    .footer-menu-wrapper,
    .footer-content:not(:has(.footer-menu-wrapper)) {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* CTA Section - Full Width */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(218, 112, 214, 0.1) 100%);
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff1493, #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.primary-button {
    background: linear-gradient(135deg, #ff1493, #da70d6);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-title {
        font-size: 36px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    .primary-button {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* Animations for Gutenberg Features Block */
.fuschia-features-block {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fuschia-features-block .feature-card {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fuschia-features-block .feature-card:nth-child(1) { animation-delay: 0.3s; }
.fuschia-features-block .feature-card:nth-child(2) { animation-delay: 0.4s; }
.fuschia-features-block .feature-card:nth-child(3) { animation-delay: 0.5s; }
.fuschia-features-block .feature-card:nth-child(4) { animation-delay: 0.6s; }
.fuschia-features-block .feature-card:nth-child(5) { animation-delay: 0.7s; }
.fuschia-features-block .feature-card:nth-child(6) { animation-delay: 0.8s; }

/* Animations for Gutenberg Pricing Block */
.fuschia-pricing-block {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fuschia-pricing-block .pricing-card {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fuschia-pricing-block .pricing-card:nth-child(1) { animation-delay: 0.3s; }
.fuschia-pricing-block .pricing-card:nth-child(2) { animation-delay: 0.5s; }
.fuschia-pricing-block .pricing-card:nth-child(3) { animation-delay: 0.7s; }

/* CTA Section Animations */
.cta-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Animations */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Viewport Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Viewport Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.animate-fade-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.animate-fade-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.animate-scale.animate {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section Animations */
.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

.hero-logo {
    animation: scaleIn 1s ease-out 0.2s both;
}

.hero-tagline {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Hero Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-logo-text {
        font-size: 48px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .wp-block-buttons.hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}