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

:root {
    --color-primary: #FF9933;
    --color-secondary: #FFB84D;
    --color-accent: #FFC850;
    --color-background: #F0F8FF;
    --color-text: #2C3E50;
    --color-white: #FFFFFF;
    --color-light-gray: #E8F4FF;
    --color-warm1: #FF8C42;
    --color-warm2: #FFAD5A;
    --color-warm3: #E67E22;
    --color-purple: #9B59B6;
    --color-blue: #3498DB;
    --color-cyan: #1ABC9C;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

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

/* Floating Bubbles Animation */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 140, 66, 0.3), rgba(255, 107, 53, 0.2));
    border-radius: 50%;
    animation: float-up 15s infinite ease-in;
}

.bubble:nth-child(1) {
    left: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bubble:nth-child(2) {
    left: 30%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
    animation-duration: 14s;
}

.bubble:nth-child(3) {
    left: 50%;
    width: 80px;
    height: 80px;
    animation-delay: 4s;
    animation-duration: 16s;
}

.bubble:nth-child(4) {
    left: 70%;
    width: 50px;
    height: 50px;
    animation-delay: 6s;
    animation-duration: 13s;
}

.bubble:nth-child(5) {
    left: 90%;
    width: 70px;
    height: 70px;
    animation-delay: 8s;
    animation-duration: 15s;
}

@keyframes float-up {
    0% {
        bottom: -100px;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(50px) rotate(360deg);
    }
}

/* Construction Banner */
.construction-banner {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-text);
    padding: 0.75rem 2rem;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    animation: subtle-pulse 3s ease-in-out infinite;
}

.construction-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.construction-icon {
    font-size: 1.2rem;
    animation: rotate-construction 2s linear infinite;
}

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

@keyframes subtle-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

.construction-text {
    font-size: 1rem;
}

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-animation {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.printer-icon {
    width: 120px;
    height: auto;
    animation: bounce 2s infinite;
    display: block;
}

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

.printing-layers {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

.layer {
    height: 4px;
    background: var(--color-accent);
    margin: 3px 0;
    animation: print-layer 3s infinite;
    opacity: 0;
}

.layer:nth-child(2) {
    animation-delay: 0.5s;
}

.layer:nth-child(3) {
    animation-delay: 1s;
}

@keyframes print-layer {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        width: 100%;
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fade-in-up 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fade-in-up 1s ease-out 0.2s backwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-md);
    animation: fade-in-up 1s ease-out 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Story Section */
.story-section {
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1B7F8E;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #2D6A75;
    margin-bottom: 3rem;
}

.story-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.story-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.story-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.story-card h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-animate {
    animation: fade-in-up 0.8s ease-out;
}

.card-animate:nth-child(2) {
    animation-delay: 0.2s;
}

.card-animate:nth-child(3) {
    animation-delay: 0.4s;
}

.fun-fact {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFD93D 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.fun-fact-label {
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Hot Now Section */
.hot-now-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #FFE8D6 0%, #FFF8F0 50%, #FFD4B8 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hot-now-section::before {
    content: "🔥";
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    right: -5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hot-now-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.hot-now-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: var(--color-primary);
    }
}

.hot-now-card:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.3);
    animation: none;
    border-color: var(--color-warm1);
}

.hot-now-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--color-warm3) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: var(--shadow-md);
    animation: bounce-badge 1.5s infinite;
}

@keyframes bounce-badge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hot-now-emoji {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: float-emoji 3s infinite ease-in-out;
}

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

.hot-now-card h3 {
    color: var(--color-warm3);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.hot-now-description {
    color: #666;
    margin-bottom: 1rem;
}

.hot-now-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.hot-now-time {
    font-size: 0.9rem;
    color: #999;
}

/* Products Section */
.products-section {
    padding: 4rem 2rem;
    background: var(--color-light-gray);
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.product-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.product-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.product-time {
    font-size: 0.9rem;
    color: #999;
}

.custom-order-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.custom-order-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Goals Section */
.goals-section {
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

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

.progress-tracker {
    margin-bottom: 3rem;
}

.progress-bar {
    background: var(--color-light-gray);
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
    animation: progress-animation 2s ease-out;
}

@keyframes progress-animation {
    from {
        width: 0;
    }
}

.progress-text {
    color: var(--color-white);
    font-weight: bold;
}

.goals-list {
    list-style: none;
    margin-bottom: 2rem;
}

.goals-list li {
    background: var(--color-white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.goals-list li:hover {
    transform: translateX(10px);
}

.goals-list li::before {
    content: "🎓";
    font-size: 2rem;
}

.motivation-box {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFD93D 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.motivation-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.motivation-author {
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background: var(--color-light-gray);
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-md);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.info-box h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header adjustments */
    .header {
        padding: 0.5rem 0;
    }

    .nav {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .logo-image {
        height: 60px;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    .nav-menu a {
        padding: 0.4rem 0.6rem;
    }

    /* Construction banner */
    .construction-banner {
        padding: 0.5rem 1rem;
    }

    .construction-text {
        font-size: 0.85rem;
    }

    .construction-icon {
        font-size: 1rem;
    }

    /* Hero section */
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .stat {
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .printer-icon {
        width: 100px;
    }

    /* Sections padding */
    .story-section,
    .hot-now-section,
    .products-section,
    .goals-section,
    .contact-section {
        padding: 3rem 1.5rem;
    }

    .container {
        padding: 0;
    }

    /* Typography */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Story cards */
    .story-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-card {
        padding: 1.5rem;
    }

    .story-icon {
        font-size: 2.5rem;
    }

    /* Hot Now section */
    .hot-now-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hot-now-card {
        padding: 1.5rem;
    }

    .hot-now-emoji {
        font-size: 3.5rem;
    }

    .hot-now-card h3 {
        font-size: 1.25rem;
    }

    .hot-now-price {
        font-size: 1.5rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-emoji {
        font-size: 3.5rem;
    }

    .custom-order-banner {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem;
    }

    /* Goals */
    .goals-list li {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    .motivation-box {
        padding: 1.5rem;
    }

    .motivation-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Header - make navigation more compact */
    .nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .logo {
        justify-content: center;
    }

    .logo-image {
        height: 40px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
        font-size: 0.7rem;
        padding: 0;
        width: 100%;
    }

    .nav-menu li {
        margin: 0;
        flex: 0 0 auto;
    }

    .nav-menu a {
        padding: 0.3rem 0.5rem;
        display: block;
        white-space: nowrap;
    }

    /* Construction banner */
    .construction-banner {
        padding: 0.5rem;
    }

    .construction-text {
        font-size: 0.75rem;
    }

    .construction-banner .container {
        gap: 0.5rem;
    }

    /* Hero section */
    .hero {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat {
        min-width: auto;
    }

    .printer-icon {
        width: 80px;
    }

    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    /* All sections */
    .story-section,
    .hot-now-section,
    .products-section,
    .goals-section,
    .contact-section {
        padding: 2.5rem 1rem;
    }

    /* Typography */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Story cards */
    .story-card {
        padding: 1.25rem;
    }

    .story-card h3 {
        font-size: 1.1rem;
    }

    .story-icon {
        font-size: 2rem;
    }

    /* Fun fact */
    .fun-fact {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Hot Now cards */
    .hot-now-card {
        padding: 1.25rem;
    }

    .hot-now-emoji {
        font-size: 3rem;
    }

    .hot-now-card h3 {
        font-size: 1.1rem;
    }

    .hot-now-description {
        font-size: 0.9rem;
    }

    .hot-now-price {
        font-size: 1.35rem;
    }

    .hot-now-time {
        font-size: 0.85rem;
    }

    .hot-now-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Products */
    .product-card {
        padding: 1.25rem;
    }

    .product-emoji {
        font-size: 3rem;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.35rem;
    }

    .product-time {
        font-size: 0.85rem;
    }

    .custom-order-banner {
        padding: 1.25rem;
    }

    .custom-order-banner h3 {
        font-size: 1.2rem;
    }

    .custom-order-banner p {
        font-size: 0.9rem;
    }

    /* Contact form */
    .contact-form-wrapper,
    .contact-info {
        padding: 1.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .submit-button {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

    .info-box {
        padding: 1rem;
    }

    .info-box h3 {
        font-size: 1rem;
    }

    .info-box p {
        font-size: 0.85rem;
    }

    /* Goals */
    .progress-bar {
        height: 35px;
    }

    .progress-text {
        font-size: 0.85rem;
    }

    .goals-list li {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .goals-list li::before {
        font-size: 1.5rem;
    }

    .motivation-box {
        padding: 1.25rem;
    }

    .motivation-text {
        font-size: 1rem;
    }

    .motivation-author {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }

    .footer-note {
        font-size: 0.8rem;
    }

    /* Bubbles - reduce on mobile for performance */
    .bubble {
        display: none;
    }
}
