// ============================================ // StellarChip Homepage Styles - Figma Design // ============================================ // ===== Color Variables ===== @color-primary-orange: #FE6B23; @color-primary-blue: #0077EE; @color-bg-dark: #010005; @color-bg-about: #05082D; @color-bg-news: #F5F6F9; @color-text-dark: #04020D; @color-text-white: #FFFFFF; @color-text-muted: rgba(255, 255, 255, 0.72); // ===== Mixins ===== .gradient-text-blue() { background: linear-gradient(180deg, #05C5FF 12.98%, #C0F4FF 49.04%, #008EF3 76.44%, #00AEF3 87.02%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .gradient-text-orange() { background: linear-gradient(180deg, #FEA648 0%, #FE6B23 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } // ===== Global Reset ===== body { margin: 0; padding: 0; font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; } // ===== Hero Section ===== .hero-section { position: relative; height: 800px; background: @color-bg-dark; overflow: hidden; display: flex; align-items: center; .hero-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; .hero-bg-image { width: 100%; height: 100%; object-fit: cover; } } .hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient(180deg, rgba(5, 8, 45, 0) 0%, #05082D 100%); z-index: 1; } .hero-container { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; } .hero-content { max-width: 800px; padding-left: 100px; } .hero-title { margin: 0 0 24px 0; font-family: 'Rubik-Bold', 'IntelOne Display', -apple-system, sans-serif; font-size: 72px; letter-spacing: 1.44px; line-height: 1.1; .gradient-text { .gradient-text-blue(); } .white-text { color: @color-text-white; } } .hero-desc { font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 24px; font-weight: 400; letter-spacing: 0.36px; color: @color-text-white; max-width: 640px; line-height: 1.5; margin: 0; } @media (max-width: 1024px) { .hero-content { padding-left: 40px; } .hero-title { font-size: 56px; } .hero-desc { font-size: 20px; } } @media (max-width: 768px) { height: 500px; .hero-container { padding: 0 16px; } .hero-content { padding-left: 0; max-width: 100%; } .hero-title { font-size: 32px; letter-spacing: 0.5px; margin-bottom: 16px; } .hero-desc { font-size: 15px; max-width: 100%; } } @media (max-width: 480px) { height: 420px; .hero-title { font-size: 24px; } .hero-desc { font-size: 14px; } } } // ===== Products Section ===== .products-section { background: linear-gradient(180deg, #F4FAFF 0%, #E3F2FF 100%); padding: 120px 0; .section-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; } .section-title { text-align: center; margin: 0 0 64px 0; font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 48px; font-weight: 500; letter-spacing: 0.24px; .title-dark { color: @color-text-dark; } } @media (max-width: 768px) { padding: 64px 0; .section-container { padding: 0 16px; } .section-title { font-size: 24px; margin-bottom: 32px; } } @media (max-width: 480px) { padding: 48px 0; .section-title { font-size: 20px; margin-bottom: 24px; } } .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; @media (max-width: 1200px) { grid-template-columns: repeat(2, 1fr); } @media (max-width: 768px) { grid-template-columns: 1fr; } } .product-card { position: relative; width: 100%; height: 520px; border-radius: 12px; overflow: hidden; .product-card-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #111111 17%, #083868 100%); border-radius: 12px; } .product-card-content { position: relative; z-index: 1; padding: 44px 20px; height: 100%; display: flex; flex-direction: column; } .product-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; .product-logo { width: 300px; height: 32px; object-fit: contain; margin-bottom: 12px; } .product-tag { font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.07px; .gradient-text-orange(); text-align: center; } } .product-body { display: flex; flex-direction: column; align-items: center; margin-bottom: 16px; .product-description { font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 18px; font-weight: 400; letter-spacing: 0.09px; color: @color-text-white; text-align: center; line-height: 1.4; margin: 0 0 20px 0; min-height: 50px; } .product-btn { width: 125px; height: 40px; background: linear-gradient(90deg, #0077EE 0%, #006AF2 100%); border: none; border-radius: 24px; color: @color-text-white; font-family: 'SF Pro', -apple-system, sans-serif; font-size: 14px; font-weight: 510; letter-spacing: 0.07px; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; &:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 119, 238, 0.4); } } } .product-screenshot { width: 100%; // height: 190px; object-fit: cover; border-radius: 16px; margin-top: auto; } @media (max-width: 768px) { height: auto; min-height: 460px; .product-card-content { padding: 28px 20px; } .product-header { margin-bottom: 16px; .product-logo { width: 220px; height: 28px; margin-bottom: 8px; } .product-tag { font-size: 12px; } } .product-body { margin-bottom: 12px; .product-description { font-size: 15px; margin-bottom: 16px; min-height: auto; } .product-btn { width: 110px; height: 36px; font-size: 13px; } } .product-screenshot { // height: 160px; } } @media (max-width: 480px) { min-height: 400px; .product-card-content { padding: 24px 16px; } .product-header { .product-logo { width: 180px; height: 24px; } .product-tag { font-size: 11px; } } .product-body { .product-description { font-size: 14px; } .product-btn { width: 100px; height: 34px; font-size: 12px; } } .product-screenshot { // height: 160px; } } } } // ===== About Section ===== .about-section { background: @color-bg-about; padding: 125px 0 173px 0; position: relative; overflow: hidden; .section-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; text-align: center; } .about-header { margin-bottom: 32px; .about-subtitle { display: block; font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 24px; font-weight: 500; letter-spacing: 0.12px; .gradient-text-orange(); margin-bottom: 12px; } .about-title { font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 48px; font-weight: 500; letter-spacing: 0.24px; color: @color-text-white; margin: 0; line-height: 1.2; } } .about-desc { font-family: 'SF Pro', -apple-system, sans-serif; font-size: 24px; font-weight: 400; letter-spacing: 0.12px; color: @color-text-muted; max-width: 640px; margin: 0 auto 64px; line-height: 1.6; } @media (max-width: 768px) { padding: 64px 0 20px; .section-container { padding: 0 16px; } .about-header { margin-bottom: 20px; .about-subtitle { font-size: 16px; margin-bottom: 8px; } .about-title { font-size: 24px; } } .about-desc { font-size: 15px; margin-bottom: 40px; } } @media (max-width: 480px) { padding: 48px 0 0px; .about-header { .about-subtitle { font-size: 14px; } .about-title { font-size: 20px; } } .about-desc { font-size: 14px; } } .about-decoration { display: flex; flex-direction: column; align-items: center; position: relative; height: 61px; filter: blur(120px); .deco-bar { border-radius: 9999px; position: absolute; box-shadow: 240px 240px 240px rgba(22, 45, 255, 0.5); &.deco-bar-1 { width: 100%; max-width: 1363px; height: 61px; background: #162DFF; top: 0; left: 50%; transform: translateX(-50%); } &.deco-bar-2 { width: 78%; max-width: 1063px; height: 37px; background: #169AFF; top: 12px; left: 50%; transform: translateX(-50%); box-shadow: 240px 240px 240px rgba(22, 154, 255, 0.5); } &.deco-bar-3 { width: 26%; max-width: 359px; height: 21px; background: #B4FAFF; top: 20px; left: 50%; transform: translateX(-50%); box-shadow: 240px 240px 240px rgba(180, 250, 255, 0.5); } } } } // ===== News Section ===== .news-section { background: @color-text-white; padding: 120px 0; .section-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; } @media (max-width: 768px) { padding: 64px 0; .section-container { padding: 0 16px; } } @media (max-width: 480px) { padding: 48px 0; } .news-header { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; text-decoration: none; transition: opacity 0.3s; &:hover { opacity: 0.8; } .news-title { font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 48px; font-weight: 500; letter-spacing: 0.24px; color: @color-text-dark; margin: 0; } .news-arrow { width: 30px; height: 20px; transform: translate(-4px, 4px); } @media (max-width: 768px) { margin-bottom: 32px; .news-title { font-size: 24px; } .news-arrow { width: 24px; height: 16px; } } @media (max-width: 480px) { gap: 12px; margin-bottom: 24px; .news-title { font-size: 20px; } .news-arrow { width: 20px; height: 14px; } } } .news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; @media (max-width: 1024px) { grid-template-columns: 1fr; } } .news-card { display: flex; height: 320px; border-radius: 12px; overflow: hidden; background: @color-bg-news; transition: transform 0.3s, box-shadow 0.3s; &:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); } .news-image { width: 280px; height: 100%; object-fit: cover; flex-shrink: 0; border-top-left-radius: 12px; border-bottom-left-radius: 12px; } .news-content { flex: 1; padding: 38px 40px; display: flex; flex-direction: column; } .news-card-title { font-family: 'IntelOne Display', -apple-system, sans-serif; font-size: 24px; font-weight: 500; color: @color-text-dark; margin: 0 0 16px 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .news-card-desc { font-family: 'SF Pro', -apple-system, sans-serif; font-size: 14px; font-weight: 400; color: @color-text-dark; margin: 0 0 24px 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .news-link { display: flex; align-items: center; gap: 8px; color: @color-primary-blue; text-decoration: none; font-family: 'SF Pro', -apple-system, sans-serif; font-size: 14px; font-weight: 510; margin-top: auto; transition: opacity 0.3s; &:hover { opacity: 0.8; } img { width: 20px; height: 20px; } } @media (max-width: 768px) { flex-direction: column; height: auto; .news-image { width: 100%; height: 180px; border-radius: 12px 12px 0 0; } .news-content { padding: 16px; } .news-card-title { font-size: 16px; margin-bottom: 8px; -webkit-line-clamp: 2; } .news-card-desc { font-size: 13px; margin-bottom: 12px; -webkit-line-clamp: 2; } .news-link { font-size: 13px; img { width: 16px; height: 16px; } } } @media (max-width: 480px) { .news-image { height: 160px; } .news-content { padding: 14px; } .news-card-title { font-size: 15px; } .news-card-desc { font-size: 12px; } } } } // ===== Utility Classes ===== .overflow-hidden { overflow: hidden; }