:root {
    --card: #ffffff;
    --shadow: 0 10px 30px rgba(15, 18, 22, 0.08);
    --primary-color: #2c3e50;
    --secondary-color: #6c757d;
    --accent-color: #74b9ff;
    --accent-hover: #0984e3;
    --pink-gradient: linear-gradient(135deg, #ffb6c1 0%, #ff69b4 100%);
    --blue-gradient: linear-gradient(90deg, #74b9ff, #0984e3);
    --bg-light: #f8f9fa;
    --bg-lighter: #ffffff;
    --border-light: #f8f9fa;
    --text-light: #95a5a6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background: transparent;
    overflow-x: hidden;
    cursor: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Common Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
}

/* Common Card Styles - Consolidated */
.card, .product-card, .step-card {
    background: var(--bg-lighter);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

/* Common Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

/* Typography */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--blue-gradient);
    border-radius: 2px;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin: 4rem 0;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.script-heading {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.cta-button {
    background: var(--pink-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.35);
}

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

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.45);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo .logo-icon {
    font-size: 1.5rem;
}

.logo .logo-icon img {
    width: auto;
    height: 110px;
    max-width: 100%;
    transition: all 0.3s ease;
    object-fit: contain;
}

.header.nav-active {
    box-shadow: 0 10px 30px rgba(15, 18, 22, 0.15);
}

/* Navigation */
.nav {
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 8px 14px;
    border-radius: 999px;
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
    position: relative;
    top: -20px;
}

.nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background: #eef0f3;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-gradient);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(116, 185, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.0rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Product Showcase */
.product-showcase-section {
    padding: 80px 0;
    background: var(--bg-lighter);
}

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

.product-showcase {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-item img:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

@media (max-width: 578px) {
    .product-card img {
        height: auto;
        max-height: 200px;
        object-fit: contain;
    }
}

.product-card h3 {
    font-family: 'Gothic A1', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Steps Section */
.steps-section {
    padding: 80px 0;
    background: var(--bg-lighter);
}

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

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.step-card h3 {
    font-family: 'Gothic A1', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Recruit Section */
.recruit-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
}

.recruit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.recruit-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.recruit-text p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 100%;
}

.recruit-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-lighter);
}

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

.contact-text p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--bg-light);
    color: white;
    padding: 60px 0 30px;
    box-shadow: gray 0px 2px 30px;
    position: relative;
    z-index: 3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-logo h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo .logo-icon {
    font-size: 1.2rem;
}

.footer-logo .logo-icon img {
    width: auto;
    height: 110px;
    max-width: 100%;
    transition: all 0.3s ease;
    object-fit: contain;
}

.footer-nav {
    transform: translateY(-50%);
    position: relative;
    top: 50%;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-nav li {
    flex-shrink: 0;
    min-width: 120px;
}

.footer-nav a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    margin-top: 50px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    animation: pulse 2s infinite;
}

/* Special Elements */
#trans_group {
    display: block;
    position: relative;
    z-index: 1;
    transition: margin-top 0.3s ease;
}

#trans_group img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    transition: all 0.3s ease;
}

#trans_group .main-heading {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
    letter-spacing: 15px;
}

/* Responsive Design for Main Heading */
@media (max-width: 1024px) {
    #trans_group .main-heading {
        font-size: 2.2rem;
        letter-spacing: 12px;
        top: 45%;
    }
}

@media (max-width: 768px) {
    #trans_group .main-heading {
        font-size: 1.8rem;
        letter-spacing: 8px;
        top: 50%;
        white-space: normal;
        text-align: center;
        max-width: 90%;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    #trans_group .main-heading {
        font-size: 1.4rem;
        letter-spacing: 4px;
        top: 50%;
        white-space: normal;
        text-align: center;
        max-width: 95%;
        line-height: 1.5;
        padding: 0 10px;
    }
}

section img {
    height: 100%;
}

/* Cursor and Interactive Elements */
a, button, [role="button"], input, select, textarea, label {
    cursor: none !important;
}

/* Snow Container */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Ambient Background */
@keyframes ambientDrift {
    0% {
        filter: hue-rotate(0deg) brightness(1);
        background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
    }
    50% {
        filter: hue-rotate(6deg) brightness(1.02);
        background-position: 5% 3%, 95% 5%, 48% 97%, 0 0;
    }
    100% {
        filter: hue-rotate(12deg) brightness(1.04);
        background-position: 8% 6%, 92% 8%, 46% 94%, 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ambient-bg {
        animation: none;
        background: linear-gradient(135deg, #ffffff 0%, #f7f7fb 100%);
    }
}

/* Feather cursor */
.feather-cursor {
    will-change: transform;
}

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

.pink-dust-particle {
    mix-blend-mode: screen;
}

/* Responsive Design - Consolidated */
@media (max-width: 1024px) {
    .logo .logo-icon img {
        height: 78px;
    }

    .nav {
        top: 5px;
    }
    
    .footer-logo .logo-icon img {
        height: 33px;
    }
}

@media (max-width: 1028px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo {
        display: none;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-nav li {
        min-width: auto;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo .logo-icon img {
        height: 75px;
    }
    
    .footer-logo .logo-icon img {
        height: 30px;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card);
        box-shadow: var(--shadow);
        padding: 1rem;
        border-radius: 0 0 20px 20px;
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        z-index: 1001;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    .header.nav-active {
        box-shadow: 0 15px 40px rgba(15, 18, 22, 0.2);
    }
    
    .nav a {
        padding: 1rem;
        border-radius: 10px;
        text-align: center;
        font-size: 1rem;
        border: 1px solid transparent;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft 0.3s ease forwards;
    }
    
    .nav.active a {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav a:nth-child(1) { animation-delay: 0.1s; }
    .nav a:nth-child(2) { animation-delay: 0.15s; }
    .nav a:nth-child(3) { animation-delay: 0.2s; }
    .nav a:nth-child(4) { animation-delay: 0.25s; }
    .nav a:nth-child(5) { animation-delay: 0.3s; }
    .nav a:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes slideInLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav a:hover {
        background: #eef0f3;
        border-color: var(--accent-color);
        transform: translateX(5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero .container,
    .about-content,
    .recruit-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-text,
    .recruit-text {
        order: 2;
        margin-top: 2rem;
    }
    
    .about-image,
    .recruit-image {
        order: 1;
    }
    
    .about-text p,
    .recruit-text p {
        text-align: center;
        margin: 0 auto 2rem auto;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo {
        justify-content: center;
        margin: 0 auto;
    }
    
    #footer-logo-icon {
        border: 2px solid black !important;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-nav li {
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .script-heading {
        font-size: 2.5rem;
    }
    
    .header {
        background: var(--card);
        box-shadow: var(--shadow);
    }

    #trans_group {
        margin-top: 118px;
    }

    .footer-logo .logo-icon img {
        width: auto;
        height: 90px;
    }
}

@media (max-width: 600px) {
    .logo .logo-icon img {
        height: 72px;
    }
    
    .footer-logo .logo-icon img {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .logo .logo-icon img {
        height: 70px;
    }
    
    .footer-logo .logo-icon img {
        height: 25px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .about-text,
    .recruit-text {
        padding: 0 1rem;
    }
    
    .about-text p,
    .recruit-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-nav li {
        width: 100%;
        text-align: center;
    }
    
    .product-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .nav a {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        padding: 6px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    #trans_group {
        margin-top: 113px;
    }

    .footer-logo .logo-icon img {
        width: auto;
        height: 70px;
    }
}
