/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: var(--color-background);
    color: var(--color-text);
}

/* Logo font */
.logo {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
}

/* Navigation */
.nav-container {
    background-color: var(--color-surface);
    border-color: var(--color-border);
}

/* Feature Cards */
.feature-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px -1px var(--color-card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -6px var(--color-card-shadow);
}

/* Pricing Cards */
.pricing-section {
    background-color: var(--color-background);
}

.pricing-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px var(--color-card-shadow);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* Tailwind-like purple button classes */
.bg-purple-600 {
    background-color: var(--color-primary) !important;
}

.hover\:bg-purple-700:hover {
    background-color: var(--color-primary-hover) !important;
}

/* Tailwind-like purple text classes */
.text-purple-600 {
    color: var(--color-primary) !important;
}

.hover\:text-purple-800:hover {
    color: var(--color-primary-hover) !important;
}

/* Gradient color stops for purple theme */
.from-purple-600 {
    --tw-gradient-from: #AF52DE;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(175, 82, 222, 0));
}

.to-pink-500 {
    --tw-gradient-to: #ec4899;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    padding: 1rem;
    border-radius: 9999px;
    background-color: var(--color-surface);
    box-shadow: 0 4px 6px -1px var(--color-card-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Language Switcher */
.language-toggle {
    appearance: none;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.25rem;
    transition: all 0.2s ease;
}

.language-toggle:hover {
    border-color: var(--color-primary);
}

.language-toggle:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-hover);
}

.language-toggle option {
    background-color: var(--color-surface);
    color: var(--color-text);
    padding: 0.5rem;
}

/* Plan Selection Cards */
.plan-option {
    position: relative;
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--color-surface);
}

.plan-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-card-shadow);
}

/* Hide default radio button */
.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom radio button */
.plan-option .radio-mark {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.plan-option .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

/* Selected state */
.plan-option input[type="radio"]:checked + label {
    border-color: var(--color-primary);
    background-color: var(--color-surface);
}

.plan-option input[type="radio"]:checked + label .radio-mark {
    border-color: var(--color-primary);
}

.plan-option input[type="radio"]:checked + label .radio-mark::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Plan content layout */
.plan-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 3rem; /* Space for radio button */
}

.plan-details {
    flex-grow: 1;
}

.plan-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.plan-duration {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.plan-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}