/* Pet Website Builder - Premium Stunning Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --secondary: #3b82f6;
    --accent: #8b5cf6;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

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

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

/* Animated Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header - Clean & Professional */
.header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}


/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #e5e7eb, #f3f4f6);
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}

.hero .container {
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #0891b2;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 400;
    max-width: 750px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

/* Hero Image Section */
.hero-image-section {
    background: linear-gradient(to bottom, #f3f4f6, #e0f2fe);
    padding: 3rem 1.5rem 5rem;
}

.hero-image-display {
    width: calc(100% - 6rem);
    max-width: 700px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    display: block;
}

/* New Section Below Hero */
.intro-section {
    background: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.intro-section p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

.intro-cta {
    font-size: 1rem;
    color: var(--gray-500);
    margin-top: 2rem !important;
}

/* Premium Form Card */
.form-card {
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    margin: 0 auto 4rem;
    max-width: 800px;
    position: relative;
    border: 1px solid var(--gray-200);
}

.form-card h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--gray-900);
    text-align: left;
    letter-spacing: -0.02em;
}

.form-card > p:first-of-type {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    text-align: left;
}

/* Form Groups - Beautiful Spacing */
.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--gray-700);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.required {
    color: #ef4444;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
    transform: translateY(-2px);
}

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

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
}

/* Photo Upload - Premium Design */
.photo-upload {
    border: 3px dashed var(--gray-300);
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.photo-upload::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent);
    transition: transform 0.5s ease;
}

.photo-upload:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.photo-upload:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    transform: translateY(-4px);
}

.photo-upload input[type="file"] {
    display: none;
}

.upload-btn {
    position: relative;
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 1;
}

.upload-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(6, 182, 212, 0.5);
}

.upload-btn:active {
    transform: translateY(-1px);
}

.photo-upload p {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.photo-preview img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 0.875rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.photo-preview img:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

/* Stunning Buttons */
.btn {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -8px rgba(6, 182, 212, 0.5);
}

.btn-full {
    width: 100%;
}

/* Pet Showcase - STUNNING Design */
.showcase {
    background: white;
    min-height: 100vh;
}

.showcase-header {
    background: linear-gradient(135deg, #0891b2 0%, #0ea5e9 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: 1.5rem;
    object-fit: cover;
    object-position: center center;
    margin: 0 auto 2rem;
    display: block;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    border: 5px solid white;
}

.pet-info {
    text-align: center;
    padding: 0 1.5rem;
}

.pet-name {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pet-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.pet-description {
    font-size: 1.375rem;
    color: white;
    max-width: 750px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Photo Gallery - Stunning Grid */
.photo-gallery {
    padding: 4rem 1.5rem;
    background: linear-gradient(to bottom, #f9fafb, white);
}

.photo-gallery h2 {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
}

.gallery-grid img:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
}

/* Upgrade Section - Compact Premium Box */
.upgrade-section {
    background: white;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
}

.upgrade-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 750px;
    width: 100%;
    box-shadow: 
        0 20px 40px -12px rgba(6, 182, 212, 0.3),
        0 0 0 1px rgba(6, 182, 212, 0.1) inset;
    text-align: center;
}

.countdown-compact p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.375rem;
    font-weight: 600;
}

.countdown-timer {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.375rem;
}

.countdown-compact small {
    display: block;
    color: var(--gray-600);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.payment-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-buttons .btn {
    flex: 1;
    min-width: 220px;
}

/* Premium Plan Tooltip */
.premium-plan-btn {
    position: relative;
}

.premium-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--gray-900);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.premium-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--gray-900);
}

.premium-plan-btn:hover .premium-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    padding: 2rem 1.5rem 4rem;
    flex-wrap: wrap;
}

/* Footer - Premium */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 2rem 0;
}

.footer .container {
    text-align: center;
}

.footer-links {
    margin-top: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border: 1px solid;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem 4rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
    
    .hero-image-display {
        width: calc(100% - 2rem);
    }
    
    .form-card {
        padding: 2rem;
    }
    
    .pet-name {
        font-size: 2.75rem;
    }
    
    .hero-image {
        max-width: 350px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-buttons {
        flex-direction: column;
    }
    
    .payment-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .form-card h2 {
        font-size: 1.75rem;
    }
    
    .gallery-grid img {
        height: 280px;
    }
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    z-index: 9999;
    border-top: 3px solid var(--primary);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    color: var(--gray-700);
    flex: 1;
    min-width: 250px;
}

.cookie-content strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
    }
}

.hidden {
    display: none;
}
