/* Tailwind Configuration */
@config './tailwind.config.js';

/* Custom font stack */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
}

/* Product Cards */
.service-card {
    @apply border border-gray-200 rounded-lg p-6 sm:p-8;
    @apply transition-shadow duration-200;
}

.service-card:hover {
    @apply shadow-lg;
}

/* Buttons */
.btn-primary {
    @apply bg-black text-white px-6 py-3 rounded-lg;
    @apply hover:bg-gray-800 transition-all duration-200;
    @apply font-medium;
    @apply shadow-md hover:shadow-lg;
    @apply transform hover:-translate-y-0.5;
    @apply inline-block text-center;
    @apply cursor-pointer;
    @apply no-underline;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.btn-primary:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-primary:hover:after {
    opacity: 1;
}

.btn-secondary {
    @apply bg-black text-white px-6 py-3 rounded-lg;
    @apply hover:bg-gray-800 transition-all duration-200;
    @apply font-medium border border-gray-700;
    @apply shadow-md hover:shadow-lg;
    @apply transform hover:-translate-y-0.5;
    @apply inline-block text-center;
    @apply cursor-pointer;
    @apply no-underline;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.btn-secondary:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-secondary:hover:after {
    opacity: 1;
}

/* Custom spacing classes */
.space-y-18 {
    margin-top: 4.5rem;
}
.space-y-18 > * + * {
    margin-top: 4.5rem;
}
.space-y-24 {
    margin-top: 6rem;
}
.space-y-24 > * + * {
    margin-top: 6rem;
}

/* Benefits section simplified */

/* FAQ Items */
.faq-item {
    @apply border-b border-gray-200 pb-6;
}

.faq-item-last {
    @apply pb-0;
}

/* Footer */
.footer-section {
    @apply border-t border-gray-200 mt-16;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .service-card h3 {
        @apply text-lg;
    }

    .service-card p {
        @apply text-sm;
    }
}

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

/* Focus states for accessibility */
button:focus,
a:focus {
    @apply outline-none ring-2 ring-black ring-offset-2;
}

/* Link hover states */
a {
    @apply transition-colors duration-200;
}

a:hover {
    @apply text-gray-700;
}

/* Custom utility classes */
.container-max {
    @apply max-w-4xl mx-0;
}

/* Animation for CTA buttons */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.btn-primary:active {
    animation: pulse 0.3s ease-in-out;
}

/* Print styles */
@media print {
    .btn-primary,
    .btn-secondary {
        @apply border border-black;
    }

    footer {
        @apply border-t-0 mt-8 pt-4;
    }
}

/* Logo styling */
.logo {
    @apply font-bold text-lg;
}

/* Enhanced header */
h1 {
    @apply pb-4;
}

/* Full-width header background */
.bg-yellow-300 {
    @apply py-4 pb-20;
    min-height: 400px;
}

/* Value proposition container in header */
.value-prop-container {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
}

@media (min-width: 640px) {
    .value-prop-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Simple crossed-out text - now using inline styles in HTML */

/* All sections left-aligned but centered in page */
section,
header,
footer {
    @apply text-left;
}

/* Feature lists */
.feature-list {
    @apply pl-5 space-y-2;
}

.feature-list li {
    @apply flex items-start;
    @apply text-gray-800;
}

.feature-list li::before {
    content: "✓ ";
    @apply text-green-600 font-bold mr-3;
    letter-spacing: 1px;
}

/* Tags */
.tag {
    @apply bg-gray-100 rounded-full text-sm px-3 py-1;
    @apply text-gray-600 font-medium;
}

/* Price comparison */
/* Dropdown styling */
select.user-count-select {
    appearance: menulist;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #111827;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

select.user-count-select:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

select.user-count-select:hover {
    border-color: #9ca3af;
}

/* Price comparison box styling - moved from inline to here */
.price-comparison {
    @apply rounded-md;
    background-color: #f0fdf4;
    border-left: 4px solid #4ade80;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

/* Make sure buttons look clickable */
button,
.btn-primary,
.btn-secondary {
    @apply cursor-pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Add a slight scale effect to buttons on active state */
.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.98);
}

/* We're now adding the Swiss flag directly in the HTML */

/* Value proposition section */
.value-prop-item {
    margin-bottom: 0.75rem;
}

.value-prop-item h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.value-prop-item p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

/* Benefits section - simplified without cards */

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Form controls */
label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #4b5563;
}
