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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
    overflow-x: hidden;
    font-weight: 300;
}

/* Navigation - Dark Theme Compatible */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 40px;
    transition: all 0.4s ease;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav.scrolled {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

nav.scrolled .logo {
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

nav.scrolled .nav-links a {
    color: #1a1a1a;
}

.nav-links a:hover {
    color: rgba(255,255,255,0.6);
}

nav.scrolled .nav-links a:hover {
    color: #666;
}

/* Hero Section - Premium Style with Logo */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/hero-bg.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Hero Logo - Top Left */
.hero-logo-top-left {
    position: absolute;
    top: 100px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-image: url('./images/kagox-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    z-index: 3;
    transition: all 0.3s ease;
    animation: logoAppear 2s ease-out 1s both;
}

.hero-logo-top-left:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Remove watermark - make it optional */
.hero-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background-image: url('./images/kagox-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.02;
    z-index: 1;
    animation: logoFloat 8s ease-in-out infinite;
    display: none; /* Hidden by default */
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* Alternative: Corner Logo */
.hero-logo-corner {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 120px;
    height: 120px;
    background-image: url('./images/kagox-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    z-index: 3;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

/* Alternative: Side Logo */
.hero-logo-side {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background-image: url('./images/kagox-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 2;
    animation: logoRotate 20s linear infinite;
}

.hero-content {
    text-align: center;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hero Main Logo (center position) */
.hero-main-logo {
    width: clamp(200px, 25vw, 400px);
    height: clamp(200px, 25vw, 400px);
    background-image: url('./images/kagox-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 2rem;
    opacity: 0.95;
    animation: heroMainLogo 2s ease-out;
    transition: all 0.4s ease;
}

.hero-main-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes heroMainLogo {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 0.95;
        transform: translateY(0) scale(1);
    }
}

/* Remove the old h1 styles */

.hero-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: heroSubtitle 2s ease-out 0.5s both;
}

.hero-cta {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    padding: 14px 32px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    animation: heroButton 2s ease-out 0.6s both;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.hero-cta:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 1px;
    height: 25px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto 8px;
    animation: scrollLine 2s ease-in-out infinite;
}

/* Logo Animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.03;
    }
    50% {
        transform: translate(-50%, -52%) scale(1.05);
        opacity: 0.05;
    }
}

@keyframes logoGlow {
    0% {
        opacity: 0.15;
        filter: brightness(1);
    }
    100% {
        opacity: 0.25;
        filter: brightness(1.2);
    }
}

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

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollLine {
    0%, 100% {
        opacity: 0.4;
        height: 30px;
    }
    50% {
        opacity: 1;
        height: 40px;
    }
}

/* Full Width Image Section */
.full-image-section {
    height: 80vh;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.image-overlay {
    position: absolute;
    bottom: 60px;
    left: 60px;
    background: rgba(255,255,255,0.95);
    padding: 30px;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

.overlay-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.overlay-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.overlay-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.overlay-link:hover {
    opacity: 0.7;
}

/* Crystal Blue Section */
.crystal-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.crystal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.crystal-content {
    max-width: 500px;
}

.new-badge {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.crystal-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 200;
    margin-bottom: 25px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.crystal-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 300;
}

.crystal-cta {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.crystal-cta:hover {
    background: #333;
    transform: translateY(-2px);
}

.crystal-visual {
    height: 600px;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(0,86,179,0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 4px;
}

.visual-content {
    text-align: center;
    color: #007bff;
    font-weight: 400;
}

/* Product Grid - Minimalist */
.products-section {
    padding: 120px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.product-card {
    background: #fff;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #f0f0f0;
}

.product-image {
    height: 400px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
    background-size: cover;
    background-position: center;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-info {
    padding: 0 0 30px 0;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.product-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.product-link:hover {
    opacity: 0.7;
}

/* Philosophy Section */
.philosophy-section {
    padding: 120px 0;
    background: #1a1a1a;
    color: #fff;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.philosophy-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.philosophy-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 300;
}

.philosophy-visual {
    height: 500px;
    background: rgba(255,255,255,0.05);
    background-image: url('./images/philosophy-visual.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Company Section */
.company-section {
    padding: 120px 0;
    background: #f8f8f8;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.company-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    margin-bottom: 30px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.company-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
}

.detail-grid {
    display: grid;
    gap: 25px;
}

.detail-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.detail-label {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 400;
    line-height: 1.6;
}
.footer {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;
}

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

.footer-section h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-section p, .footer-section a {
    color: #999;
    text-decoration: none;
    line-height: 1.8;
    font-weight: 300;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    color: #666;
    text-align: center;
    font-size: 0.8rem;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-text {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive */
/* General Responsive */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .crystal-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }

    nav {
        padding: 20px 20px;
    }

    .crystal-section,
    .products-section,
    .philosophy-section {
        padding: 80px 0;
    }

    .crystal-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    /* Hero specific mobile adjustments */
    .hero-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
    }

    .hero-main-logo {
        width: clamp(150px, 30vw, 250px);
        height: clamp(150px, 30vw, 250px);
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.15em;
    }

    .hero-cta {
        padding: 12px 28px;
        font-size: 0.75rem;
    }

    .scroll-indicator {
        bottom: 20px;
        font-size: 0.65rem;
    }

    .hero-logo-top-left {
        top: 120px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
}