:root {
    --primary: #FF6B6B;
    --primary-dark: #EE5253;
    --secondary: #4834D4;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --light: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --glass: rgba(255, 255, 255, 0.8);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* --- Hero --- */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    background: radial-gradient(circle at top right, #FFF5F5, transparent 40%),
                radial-gradient(circle at bottom left, #F0F4FF, transparent 40%);
    overflow: hidden;
}

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

.hero-tagline {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--dark);
    color: white;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #E2E8F0;
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-visual img {
    border-radius: 24px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: rotate(2deg);
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-text h4 { font-weight: 700; font-size: 1.1rem; }
.badge-text p { font-size: 0.85rem; margin: 0; color: var(--text-muted); }

/* --- Stats/Values --- */
.values {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 3rem 2rem;
    border-radius: 24px;
    background: var(--light);
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    background: white;
    border-color: #F1F5F9;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- About Section --- */
.about {
    padding: 8rem 0;
    background: var(--dark);
    color: white;
    overflow: hidden;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 32px;
    filter: grayscale(20%);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 32px;
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.about-content blockquote {
    font-size: 1.5rem;
    font-weight: 300;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.about-content p {
    color: #94A3B8;
    margin-bottom: 1.5rem;
}

/* --- Apps Section --- */
.apps {
    padding: 8rem 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.app-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.app-card:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15);
}

.app-banner {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.app-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.app-card:hover .app-banner img {
    transform: scale(1.1);
}

.app-info {
    padding: 2.5rem;
}

.app-platform {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.app-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.app-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.feature-tag {
    background: #F1F5F9;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
}

/* --- CTA Future --- */
.cta-future {
    margin-top: 6rem;
    background: linear-gradient(135deg, var(--primary), #FF8E8E);
    padding: 5rem 3rem;
    border-radius: 40px;
    text-align: center;
    color: white;
}

.cta-future h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-future p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Blog --- */
.blog {
    padding: 8rem 0;
    background: #F8FAFC;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.blog-category {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.blog-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.blog-link {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
}

.blog-link:hover {
    gap: 0.8rem;
    color: var(--primary);
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: white;
    padding: 8rem 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h2 { font-size: 2rem; margin-bottom: 1rem; }
.footer-brand p { color: #94A3B8; max-width: 300px; }

.footer-links h4 { margin-bottom: 2rem; font-size: 1.1rem; }
.footer-links ul li { margin-bottom: 1rem; }
.footer-links ul li a { color: #94A3B8; }
.footer-links ul li a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* --- Responsive --- */
@media (max-width: 992px) {
    .container { padding: 0 1.5rem; }
    .hero-grid, .about-grid, .apps-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .hero { padding: 8rem 0 4rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero p { font-size: 1.1rem; }
    .nav-links { display: none; }
    .about-image { order: 2; }
    .about-content { order: 1; }
    .about-content h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 1.85rem; }
    .cta-future h2 { font-size: 2.25rem; }
}

@media (max-width: 640px) {
    body { font-size: 15px; } /* Slightly smaller base font */
    .container { padding: 0 1.25rem; }
    
    .hero { padding: 7rem 0 3rem; }
    .hero-tagline { font-size: 0.8rem; padding: 0.4rem 1rem; }
    .hero h1 { font-size: 1.85rem; line-height: 1.2; margin-bottom: 1.5rem; }
    .hero p { font-size: 1rem; margin-bottom: 2.5rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { justify-content: center; width: 100%; padding: 0.85rem 1.5rem; }
    
    .section-header { margin-bottom: 3rem; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 0.9rem; }
    
    .value-card { padding: 2.5rem 1.5rem; }
    .value-icon { font-size: 2rem; }
    .value-card h3 { font-size: 1.1rem; }
    
    .about { padding: 5rem 0; }
    .about-content h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
    .about-content blockquote { font-size: 1.2rem; padding-left: 1rem; margin: 1.5rem 0; }
    .about-content p { font-size: 0.9rem; }
    
    .apps { padding: 5rem 0; }
    .app-info { padding: 1.75rem; }
    .app-info h3 { font-size: 1.4rem; }
    .app-info p { font-size: 0.9rem; }
    
    .cta-future { padding: 4rem 2rem; border-radius: 30px; }
    .cta-future h2 { font-size: 1.75rem; }
    .cta-future p { font-size: 1rem; }
    
    .blog { padding: 5rem 0; }
    .blog-card { padding: 1.75rem; }
    .blog-card h3 { font-size: 1.15rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-brand h2 { font-size: 1.75rem; }
}

/* Galaxy S20 Ultra / Large Mobile Specific Adjustments */
@media screen and (max-width: 450px) {
    .hero h1 { font-size: 1.75rem; }
    .logo { font-size: 1.25rem; }
}

/* --- Project & Component Specific (Reusable) --- */

/* Creator Note / Info Block */
.info-block {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Screenshot & Image Galleries */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.image-gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.image-gallery-item:hover {
    transform: translateY(-10px);
}

.image-gallery-item img {
    width: 100%;
    display: block;
}

/* Step Cards */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Page Specific Hero Variants */
.hero-alt {
    background: linear-gradient(135deg, #f8faff 0%, #e0e7ff 100%);
    padding-bottom: 8rem;
}

/* FAQ Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .image-gallery, .step-grid {
        grid-template-columns: 1fr;
    }
    .info-block { padding: 2rem 1.5rem; }
}
