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

:root {
    --primary: #F5E6E8;
    --purple: #7C5CDB;
    --pink: #FF6B9D;
    --dark: #000000;
    --text: #000000;
    --white: #FFFFFF;
    --border: #E5D4E8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Header */
.header {
    padding: 24px 0;
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #000;
}

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

.logo-img {
    height: 72px;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark);
}

.btn-cta {
    background: var(--dark);
    color: white;
    border: 3px solid #000;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 4px 4px 0 #000;
}

.btn-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}

/* Hero */
.hero {
    padding: 80px 0;
}

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

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 32px;
    line-height: 1.6;
}

.search-box {
    background: white;
    padding: 18px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    max-width: 480px;
}

.search-box svg {
    color: var(--text);
    flex-shrink: 0;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 16px;
    flex: 1;
    color: var(--dark);
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text);
}

.illustration-card {
    background: linear-gradient(135deg, #A8D8EA 0%, #FADADD 100%);
    border-radius: 32px;
    padding: 0;
    text-align: center;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
    overflow: visible;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-gif {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 29px;
    position: relative;
    z-index: 2;
}

/* Calculator Section */
.calculator-section {
    background: white;
    padding: 80px 0;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 16px 20px;
    border: 3px solid #000;
    border-radius: 16px;
    font-size: 16px;
    font-family: inherit;
    background: #FDFBFD;
    color: var(--dark);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 3px 3px 0 #000;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000;
}

.calc-result-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-box {
    background: linear-gradient(135deg, var(--purple) 0%, #9D84B7 100%);
    border-radius: 24px;
    padding: 48px;
    color: white;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
}

.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0.6;
}

.result-placeholder p {
    font-size: 16px;
}

.result-content {
    width: 100%;
}

.result-name {
    font-size: 20px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.result-age {
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    margin: 20px 0;
}

.result-label {
    font-size: 24px;
    margin-bottom: 24px;
}

.result-details {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    text-align: left;
}

.btn-calculate {
    background: var(--pink);
    color: white;
    border: 3px solid #000;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 6px 6px 0 #000;
}

.btn-calculate:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #000;
}

.btn-calculate:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: var(--primary);
}

.info-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-card {
    background: white;
    padding: 32px 28px;
    border-radius: 24px;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #000;
}

.info-icon-img {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    object-fit: contain;
}

.info-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.info-card p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text);
}

/* Footer */
.footer {
    background: var(--primary);
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.footer-section p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--dark);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-grid,
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .illustration-card {
        padding: 40px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .illustration-card {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .illustration-card {
        min-height: 220px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .info-card {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        border-bottom: 3px solid #000;
        z-index: 1000;
    }

    .nav.active {
        display: flex !important;
    }

    .nav-link {
        padding: 16px;
        border-bottom: 1px solid var(--border);
        text-align: left;
        font-size: 18px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .btn-cta {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 40px 0 30px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-grid {
        gap: 32px;
    }

    .illustration-card {
        min-height: 250px;
        padding: 0;
    }

    .hero-gif {
        max-width: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 29px;
    }

    .calculator-section,
    .info-section {
        padding: 40px 0;
    }

    .calc-grid {
        gap: 32px;
    }

    .result-age {
        font-size: 64px;
    }

    .result-box {
        min-height: 350px;
        padding: 32px 24px;
    }

    .info-section h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .info-icon-img {
        width: 100px;
        height: 100px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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

    .logo-img {
        height: 56px;
    }
}

/* Page Hero */
.page-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--primary);
    border-bottom: 3px solid #000;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text);
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background: white;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary);
    padding: 48px;
    border-radius: 24px;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
}

.content-box h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.content-box h3 {
    font-size: 24px;
    margin: 32px 0 16px;
}

.content-box p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-box ul {
    margin: 16px 0 24px 24px;
    line-height: 1.8;
}

.content-box li {
    margin-bottom: 12px;
}

/* Blog List */
.blog-list-section {
    padding: 60px 0;
    background: white;
}

.blog-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-list-card {
    background: var(--primary);
    padding: 32px;
    border-radius: 20px;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-list-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #000;
}

.blog-list-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.blog-list-card h2 a {
    color: var(--dark);
    text-decoration: none;
}

.blog-list-card h2 a:hover {
    text-decoration: underline;
}

.blog-list-card p {
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-list-card .read-more {
    color: var(--pink);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-list-card .read-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }
    
    .content-box {
        padding: 32px 24px;
    }
    
    .content-box h2 {
        font-size: 28px;
    }
    
    .content-box h3 {
        font-size: 22px;
    }
}
