/* ==========================================
   Scale Dreams — Main Styles
   ========================================== */

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* ==========================================
   Header
   ========================================== */

.sd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(245, 245, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.sd-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.sd-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sd-header__logo svg {
    height: 28px;
    width: auto;
}

.sd-header__cta {
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ==========================================
   Cursor
   ========================================== */

.sd-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    opacity: 0.7;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.sd-cursor.hover {
    width: 50px;
    height: 50px;
    opacity: 0.5;
}

@media (hover: none) {
    .sd-cursor {
        display: none;
    }
}

/* ==========================================
   Hero
   ========================================== */

.sd-hero {
    padding: 120px 40px 180px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.sd-hero__title {
    font-size: 100px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin: 0 0 80px 0;
    text-transform: uppercase;
    text-align: left;
    user-select: none;
}

.sd-hero__title-gradient {
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sd-hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.sd-hero__scroll {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80px;
}

.sd-hero__scroll-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, #1a1a1a 0%, rgba(26,26,26,0.1) 100%);
}

.sd-hero__scroll-dot {
    position: absolute;
    top: 0;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 50%;
    transform: translateX(-50%);
    left: 50%;
    transition: top 0.1s ease-out;
}

.sd-hero__text {
    max-width: 380px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* ==========================================
   About
   ========================================== */

.sd-about {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sd-about__title {
    font-size: 80px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #000;
    margin: 0 0 60px 0;
    text-transform: uppercase;
    user-select: none;
}

.sd-about__title em {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 0 0.3em 0 0.05em;
}

.sd-about__intro {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.sd-about__label {
    flex: 0 0 180px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.sd-about__text {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.sd-about__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sd-about__card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    min-width: 0;
}

.sd-about__card-value {
    font-size: 48px;
    font-weight: 900;
    color: #000;
    line-height: 1;
    margin-bottom: 12px;
}

.sd-about__card-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #666;
    text-transform: uppercase;
}

/* ==========================================
   Services
   ========================================== */

.sd-services {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sd-services__container {
    display: flex;
    gap: 80px;
}

.sd-services__list {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.sd-services__indicator {
    position: absolute;
    left: -20px;
    top: 0;
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sd-services__item {
    padding: 32px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.sd-services__item:first-child {
    border-top: 1px solid #ddd;
}

.sd-services__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sd-services__name {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #bbb;
    text-transform: uppercase;
    margin: 0;
    transition: color 0.4s ease;
    user-select: none;
}

.sd-services__item.active .sd-services__name,
.sd-services__item:hover .sd-services__name {
    color: #1a1a1a;
}

.sd-services__arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sd-services__arrow svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    fill: none;
}

.sd-services__item.active .sd-services__arrow,
.sd-services__item:hover .sd-services__arrow {
    opacity: 1;
    transform: translateX(0);
}

.sd-services__content {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 150px;
}

.sd-services__desc {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
    position: absolute;
    margin: 0;
}

.sd-services__desc.active {
    opacity: 1;
    transform: translateY(0);
}

.sd-services__mobile-text {
    display: none;
}

/* ==========================================
   Contact
   ========================================== */

.sd-contact {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.sd-contact__title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    user-select: none;
}

.sd-contact__subtitle {
    font-size: 18px;
    color: #666;
    margin: 0 0 50px 0;
}

.sd-contact__email-wrapper {
    display: flex;
    justify-content: center;
}

.sd-contact__email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a !important;
    text-decoration: none;
    padding: 20px 40px;
    background: #fff;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-contact__email:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sd-contact__email:visited,
.sd-contact__email:active {
    color: #1a1a1a !important;
}

/* ==========================================
   Footer
   ========================================== */

.sd-footer {
    padding: 40px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* ==========================================
   Responsive — Tablet
   ========================================== */

@media (max-width: 1024px) {
    .sd-hero__title {
        font-size: 72px;
    }
    
    .sd-about__title {
        font-size: 56px;
    }
    
    .sd-about__cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sd-services__name {
        font-size: 36px;
    }
    
    .sd-services__container {
        gap: 50px;
    }
}

/* ==========================================
   Responsive — Mobile
   ========================================== */

@media (max-width: 768px) {
    .sd-header {
        padding: 16px 20px;
    }
    
    .sd-header__logo svg {
        height: 24px;
    }
    
    .sd-header__cta {
        font-size: 12px;
        padding: 8px 18px;
    }
    
    .sd-hero {
        padding: 80px 20px 100px;
    }
    
    .sd-hero__title {
        font-size: 48px;
        margin-bottom: 50px;
    }
    
    .sd-hero__bottom {
        flex-direction: column;
        gap: 30px;
    }
    
    .sd-hero__scroll {
        height: 60px;
    }
    
    .sd-hero__text {
        max-width: 100%;
    }
    
    .sd-about {
        padding: 60px 20px;
    }
    
    .sd-about__title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .sd-about__intro {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .sd-about__cards {
        gap: 12px;
    }
    
    .sd-about__card {
        padding: 30px 16px;
    }
    
    .sd-about__card-value {
        font-size: 32px;
    }
    
    .sd-services {
        padding: 60px 20px;
    }
    
    .sd-services__container {
        flex-direction: column;
    }
    
    .sd-services__list {
        max-width: 100%;
    }
    
    .sd-services__indicator {
        display: none;
    }
    
    .sd-services__content {
        display: none;
    }
    
    .sd-services__item {
        padding: 24px 0;
    }
    
    .sd-services__name {
        font-size: 28px;
        color: #1a1a1a;
    }
    
    .sd-services__arrow {
        opacity: 1;
        transform: translateX(0);
    }
    
    .sd-services__mobile-text {
        display: block;
        font-size: 14px;
        line-height: 1.6;
        color: #555;
        margin: 16px 0 0 0;
    }
    
    .sd-contact {
        padding: 80px 20px;
    }
    
    .sd-contact__title {
        font-size: 36px;
    }
    
    .sd-contact__email {
        font-size: 16px;
        padding: 16px 30px;
    }
}

/* ==========================================
   Responsive — Small Mobile
   ========================================== */

@media (max-width: 480px) {
    .sd-hero__title {
        font-size: 36px;
    }
    
    .sd-about__title {
        font-size: 28px;
    }
    
    .sd-about__card-value {
        font-size: 26px;
    }
    
    .sd-services__name {
        font-size: 24px;
    }
    
    .sd-contact__title {
        font-size: 28px;
    }
}
