/* Custom Styles for WeNitro */

:root {
    --color-purple: #7c3aed;
    --color-purple-dark: #6d28d9;
    --color-purple-light: #a78bfa;
    --color-pink: #d946ef;
    --color-gray-900: #111827;
    --color-gray-600: #4b5563;
    --color-brand-gradient: linear-gradient(135deg,#283592,#e01b84);
    --color-primary: #283592;
    --color-secondary: #e01b84;
    --color-background: #fafbfc;
    --color-foreground: #1a202c;
    --color-border: #e2e8f0;
    --font-body: "Inter",sans-serif;
}
.from-primary{
  --tw-gradient-from: var(--color-primary) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-secondary{
  --tw-gradient-to: var(--color-secondary) var(--tw-gradient-to-position);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}
.bg-gradient-brand {
    background: var(--color-brand-gradient);
}
/* Logo Diamond Animation */
.logo-diamond {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-diamond:hover {
    transform: rotate(180deg);
}

/* Navigation Styles */
header {
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}

nav a {
    position: relative;
    font-size: 15px;
    font-weight: 500;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, #7c3aed, #d946ef);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* Smooth Transitions */
button {
    transition: all 0.3s ease;
}

a {
    transition: color 0.3s ease;
}

/* Card Hover Effects */
.hover\:shadow-lg:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Custom Button Styles */
button {
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

/* Hero Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2 {
    animation: fadeInUp 0.6s ease-out;
}

/* Section Spacing */
section {
    position: relative;
}

/* Gradient Text */
.text-gradient {
    background: var(--color-brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Styles */
nav {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Header Logo */
nav .text-purple-600 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* CTA Buttons */
.btn-primary {
    background-color: var(--color-purple);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-purple-dark);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    border: 2px solid var(--color-purple);
    color: var(--color-purple);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: rgba(124, 58, 237, 0.05);
}

/* Footer Links */
footer a:hover {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    section {
        padding: 3rem 1rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Accessibility */
focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}
