/* Variables */
:root {
    --primary-color: #00395F;
    --secondary-color: #F97316;
    --accent-color: #00A3CE;
    --gradient-primary: linear-gradient(135deg, #00789C 0%, #00A3CE 100%);
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-fast: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section with Background Image */
.hero-section {
    padding: 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    position: relative;
    padding: 20px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 60px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) translateZ(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 20px 40px -15px rgba(0, 57, 95, 0.4),
        0 15px 30px -10px rgba(0, 0, 0, 0.2),
        0 5px 15px -5px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.9),
        inset 0 -3px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 163, 206, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: perspective(1000px) rotateX(-15deg) translateY(-8px) translateZ(20px) scale(1.05);
    box-shadow:
        0 30px 60px -20px rgba(0, 57, 95, 0.5),
        0 20px 40px -15px rgba(0, 0, 0, 0.3),
        0 10px 20px -8px rgba(0, 0, 0, 0.2),
        inset 0 3px 8px rgba(255, 255, 255, 1),
        inset 0 -4px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 400px;
    height: 400px;
}

.cta-button:active {
    transform: perspective(1000px) rotateX(10deg) translateY(-2px) translateZ(10px) scale(0.98);
    box-shadow:
        0 10px 20px -10px rgba(0, 57, 95, 0.3),
        0 5px 10px -5px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.7),
        inset 0 -2px 3px rgba(0, 0, 0, 0.1);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icons img {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: float 3s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 50%;
    right: -10%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-woman {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

/* Floating Decorations */
.floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.float-item.gift-box {
    top: -10%;
    right: -10%;
    width: 60px;
    animation-delay: 0s;
}

.float-item.heart {
    top: 20%;
    left: -15%;
    width: 50px;
    animation-delay: 1s;
}

.float-item.confetti {
    bottom: 10%;
    right: -12%;
    width: 45px;
    animation-delay: 0.5s;
}

.float-item.envelope {
    top: 50%;
    right: -18%;
    width: 55px;
    animation-delay: 1.5s;
}

.float-item.emoji-heart {
    top: 5%;
    left: -10%;
    font-size: 30px;
    animation-delay: 2s;
}

.float-item.emoji-gift {
    bottom: 5%;
    left: -12%;
    font-size: 35px;
    animation-delay: 0.7s;
}

.float-item.emoji-party {
    top: 70%;
    left: -8%;
    font-size: 32px;
    animation-delay: 1.3s;
}

.float-item.emoji-cake {
    bottom: 25%;
    right: -15%;
    font-size: 28px;
    animation-delay: 1.8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    75% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Categories Section - New Design */
.categories-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

/* Occasion Cards */
.occasion-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
}

.occasion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.occasion-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.occasion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.occasion-card:hover .occasion-image img {
    transform: scale(1.1);
}

.occasion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
}

.occasion-overlay h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-name {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* How It Works Section - New Bubble Design */
.how-it-works-section {
    padding: 80px 20px;
    background: white;
}

.steps-bubbles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
}

.step-bubble {
    text-align: center;
    position: relative;
    padding: 20px;
}

.bubble-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a6b5c 0%, #2d8b7a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 10px 25px rgba(26, 107, 92, 0.3);
    transition: transform 0.3s ease;
}

.step-bubble:hover .bubble-number {
    transform: scale(1.1);
}

.step-bubble h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-bubble p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #1a6b5c, #2d8b7a);
    position: relative;
    margin: 0 -30px;
    align-self: center;
    margin-bottom: 60px;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #2d8b7a;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

@media (max-width: 768px) {
    .steps-bubbles {
        flex-direction: column;
        gap: 30px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: -10px 0;
    }

    .step-connector::after {
        right: 50%;
        bottom: -8px;
        top: auto;
        transform: translateX(50%);
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 8px solid #2d8b7a;
        border-bottom: none;
    }
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.step-card:hover::after {
    width: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-card:hover .step-number {
    transform: rotate(360deg) scale(1.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.cta-center {
    text-align: center;
}

.cta-button-secondary {
    display: inline-block;
    position: relative;
    padding: 20px 56px;
    background: linear-gradient(135deg, #00A3CE 0%, #00789C 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 60px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) translateZ(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 25px 50px -15px rgba(0, 120, 156, 0.5),
        0 20px 40px -10px rgba(0, 163, 206, 0.3),
        0 10px 25px -5px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.3),
        inset 0 -4px 10px rgba(0, 57, 95, 0.4);
    overflow: hidden;
    z-index: 1;
}

.cta-button-secondary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate 10s linear infinite;
}

.cta-button-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-button-secondary:hover {
    transform: perspective(1000px) rotateX(-20deg) translateY(-10px) translateZ(30px) scale(1.08);
    background: linear-gradient(135deg, #00B5E2 0%, #0086A8 100%);
    box-shadow:
        0 40px 80px -25px rgba(0, 120, 156, 0.6),
        0 30px 60px -20px rgba(0, 163, 206, 0.4),
        0 15px 30px -10px rgba(0, 0, 0, 0.3),
        inset 0 4px 15px rgba(255, 255, 255, 0.4),
        inset 0 -6px 15px rgba(0, 57, 95, 0.5);
}

.cta-button-secondary:hover::before {
    opacity: 1;
}

.cta-button-secondary:hover::after {
    left: 100%;
}

.cta-button-secondary:active {
    transform: perspective(1000px) rotateX(10deg) translateY(-3px) translateZ(15px) scale(0.98);
    box-shadow:
        0 15px 30px -10px rgba(0, 120, 156, 0.4),
        0 10px 20px -8px rgba(0, 163, 206, 0.3),
        0 5px 10px -4px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.2),
        inset 0 -3px 5px rgba(0, 57, 95, 0.3);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-icon {
    margin-bottom: 30px;
}

.about-icon img {
    width: 100px;
    height: 100px;
}

.about-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: var(--white);
}

.contact-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-button {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #00789C 0%, #00A3CE 50%, #00789C 100%);
    background-size: 200% 100%;
    color: var(--white);
    padding: 20px 40px;
    border: none;
    border-radius: 60px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow:
        0 20px 40px -15px rgba(0, 120, 156, 0.5),
        0 15px 30px -10px rgba(0, 163, 206, 0.3),
        0 8px 20px -5px rgba(0, 0, 0, 0.2),
        inset 0 2px 8px rgba(255, 255, 255, 0.3),
        inset 0 -3px 8px rgba(0, 57, 95, 0.3);
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.submit-button:hover {
    transform: perspective(1000px) rotateX(-15deg) translateY(-6px) translateZ(20px);
    background-position: 100% 0;
    box-shadow:
        0 35px 70px -20px rgba(0, 120, 156, 0.6),
        0 25px 50px -15px rgba(0, 163, 206, 0.4),
        0 12px 25px -8px rgba(0, 0, 0, 0.3),
        inset 0 3px 12px rgba(255, 255, 255, 0.4),
        inset 0 -5px 12px rgba(0, 57, 95, 0.4);
}

.submit-button:hover::before {
    transform: translateX(100%);
}

.submit-button:active {
    transform: perspective(1000px) rotateX(10deg) translateY(-2px) translateZ(10px) scale(0.98);
    box-shadow:
        0 10px 20px -10px rgba(0, 120, 156, 0.4),
        0 8px 16px -8px rgba(0, 163, 206, 0.3),
        0 4px 8px -4px rgba(0, 0, 0, 0.2),
        inset 0 1px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 57, 95, 0.2);
}

.submit-button i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px) scale(1.2);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li i {
    font-size: 18px;
    color: var(--secondary-color);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 25px;
    }

    .hero-image {
        order: -1;
    }

    .section-title {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .categories-section,
    .how-it-works-section,
    .about-section,
    .faq-section,
    .contact-section {
        padding: 50px 20px;
    }
}
