:root {
    --primary-color: #FA6E65;
    --primary-dark: #E0554C;
    --bg-color: #FFFBF7;
    /* Warm Apricot-ish White */
    --text-color: #333333;
    --text-light: #666666;
    --card-bg: #FFFFFF;
    --accent-color: #FF8F88;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
    font-weight: 400;
}

.nav a {
    margin-left: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.badge {
    background-color: rgba(250, 110, 101, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    word-break: keep-all;
}

.sub-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn .icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(250, 110, 101, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--text-color);
    border: 1px solid #ddd;
    margin-left: 10px;
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
}

/* Problem Solution */
.problem-solution {
    background-color: white;
    text-align: center;
}

.problem-solution h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Showcase */
.showcase .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.showcase .text-content {
    flex: 1;
}

.showcase .image-content {
    flex: 1;
    text-align: center;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Mock Graphics */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #333;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.screen-content {
    background-color: #FFFBF7;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Distribute vertical space */
    overflow: hidden;
    padding: 20px 0;
    /* Add vertical padding */
}

.screen-content img {
    /* Flex item: scale within available space */
    flex: 1;
    width: 90%;
    /* Keep some margins */
    height: auto;
    object-fit: contain;
    /* Remove absolute positioning */
    z-index: 1;
    margin: 10px 0;
    /* Space between header and chart */
}

.app-header {
    /* Remove absolute positioning */
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
    text-align: left;
    margin-top: 10px;
}

.app-header h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
    color: #333;
}

/* ... trend-badge same ... */

.saju-stats {
    /* Remove absolute positioning */
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 90%;
    /* Center with margin */
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 16px;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
}

.saju-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.saju-row:last-child {
    margin-bottom: 0;
}

.saju-label {
    width: 25px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #555;
}

.saju-bar-container {
    flex: 1;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 10px;
    position: relative;
}

.saju-bar {
    height: 100%;
    border-radius: 5px;
}

.saju-bar.mok {
    background-color: #4CAF50;
    width: 40%;
}

.saju-bar.hwa {
    background-color: #F44336;
    width: 20%;
}

/* Weak */
.saju-bar.to {
    background-color: #D4AF37;
    width: 60%;
}

.saju-bar.geum {
    background-color: #9E9E9E;
    width: 50%;
}

.saju-bar.su {
    background-color: #2196F3;
    width: 50%;
}

.saju-fill {
    height: 100%;
    background-color: #4B9BFA;
    position: absolute;
    top: 0;
    left: 20%;
    /* Example starting point for fill */
    width: 30%;
    /* Amount filled */
    opacity: 0.7;
}

.saju-value {
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
    width: 20px;
    text-align: right;
}

.mock-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ui-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.bar-chart {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 100px;
    margin-bottom: 15px;
}

.bar {
    width: 30px;
    border-radius: 4px 4px 0 0;
    text-align: center;
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
}

.bar.fill {
    background-color: #ddd;
    height: 60%;
}

.bar.empty {
    background-color: var(--primary-color);
    height: 40%;
    position: relative;
}

.bar .plus {
    position: absolute;
    top: -20px;
    color: var(--primary-color);
    font-weight: bold;
}

.about {
    background-color: var(--text-color);
    color: white;
    text-align: center;
}

.about p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .showcase .row {
        flex-direction: column;
    }

    .showcase .image-content {
        margin-top: 40px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}