/**
 * Gift Page Styles - Modern Dark Theme
 * Matches the AI Revolution / Landing page style
 */

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

html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

html {
    margin-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(26, 26, 36, 0.6);
    --accent: #22c55e;
    --accent-glow: rgba(34, 197, 94, 0.3);
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --text-primary: #f0f0f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Ambient background glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 80% 40%, rgba(6, 182, 212, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 20% 60%, rgba(16, 185, 129, 0.1), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Floating Particles */
.gift-particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.gift-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    animation: gift-float-up 20s infinite linear;
}

.gift-particle:nth-child(2) { left: 10%; animation-delay: -2s; background: rgba(6, 182, 212, 0.4); }
.gift-particle:nth-child(3) { left: 20%; animation-delay: -4s; }
.gift-particle:nth-child(4) { left: 30%; animation-delay: -6s; background: rgba(34, 197, 94, 0.4); }
.gift-particle:nth-child(5) { left: 40%; animation-delay: -8s; }
.gift-particle:nth-child(6) { left: 50%; animation-delay: -10s; background: rgba(6, 182, 212, 0.4); }
.gift-particle:nth-child(7) { left: 60%; animation-delay: -12s; }
.gift-particle:nth-child(8) { left: 70%; animation-delay: -14s; background: rgba(34, 197, 94, 0.4); }
.gift-particle:nth-child(9) { left: 80%; animation-delay: -16s; }
.gift-particle:nth-child(10) { left: 90%; animation-delay: -18s; background: rgba(139, 92, 246, 0.4); }

@keyframes gift-float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
        transform: translateY(90vh) scale(1);
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.gift-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.gift-hero {
    text-align: center;
    margin-bottom: 60px;
}

.gift-hero-icon {
    font-size: 80px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

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

.gift-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Container */
.gift-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Info Card */
.gift-info {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.gift-info:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.gift-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.gift-benefits li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.gift-benefits li:last-child {
    border-bottom: none;
}

.gift-benefits .check {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.gift-price-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}

.gift-price-box .label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gift-price-box .price {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e 0%, #86efac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-price-box .duration {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Form Card */
.gift-form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    transition: all 0.3s;
}

.gift-form:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.gift-form h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Package selection */
.package-selection {
    margin-bottom: 32px;
}

.package-selection h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: white;
    text-align: center;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.package-card {
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.package-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
}

.package-card.selected {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}

.package-card.selected::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-card.selected::after {
    content: '✓';
    position: absolute;
    top: 14px;
    right: 17px;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.package-card.popular {
    border-color: var(--purple);
}

.package-card.popular .package-badge {
    display: block;
}

.package-badge {
    display: none;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-duration {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.package-price {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e 0%, #86efac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 8px 0;
}

.package-price .currency {
    font-size: 24px;
}

.package-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.package-savings {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

/* Submit Button */
.gift-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.gift-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
}

.gift-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fca5a5;
    margin-top: 16px;
    display: none;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--accent);
    margin-top: 16px;
    display: none;
}

/* Hide WordPress theme menu */
#site-header,
#masthead,
.site-header,
header:not(.ih-header) {
    display: none !important;
}

/* Hide old snowflakes */
.snowflake {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gift-container {
        grid-template-columns: 1fr;
    }

    .gift-form {
        position: static;
    }

    .gift-hero h1 {
        font-size: 32px;
    }

    .gift-page {
        padding-top: 100px !important;
    }

    .gift-info,
    .gift-form {
        padding: 24px;
    }
}
