/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 400;
    font-size: 0.95rem;
}

.nav a:hover {
    opacity: 0.8;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #4c51bf 0%, #667eea 100%);
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 81, 191, 0.3);
}

.btn-secondary {
    background: white;
    color: #4c51bf;
    border: 2px solid #4c51bf;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none !important;
}

.btn-secondary:hover {
    background: #4c51bf;
    color: white;
    transform: translateY(-2px);
}

.btn-cta {
    background: #48bb78;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none !important;
}

.btn-cta:hover {
    background: #38a169;
}

.btn-outline {
    background: transparent;
    color: #4c51bf;
    border: 2px solid #4c51bf;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none !important;
}

.btn-outline:hover {
    background: #4c51bf;
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    background: #f7fafc;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #4c51bf;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #4a5568;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Sleep Tips Section */
.sleep-tips {
    background: white;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4c51bf;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tip-number {
    display: inline-block;
    background: linear-gradient(135deg, #4c51bf 0%, #667eea 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.tip-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.learn-more {
    color: #4c51bf;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.learn-more:hover {
    opacity: 0.7;
}

/* Relaxation Section */
.relaxation {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.technique-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.technique-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.technique-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.technique-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.technique-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.technique-benefit {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none !important;
}

/* Lifestyle Section */
.lifestyle {
    background: white;
}

.lifestyle-content {
    max-width: 900px;
    margin: 0 auto;
}

.lifestyle-main h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.lifestyle-main > p {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.habit-list {
    display: grid;
    gap: 2rem;
}

.habit-item {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
}

.habit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.habit-item ul {
    list-style: none;
    padding-left: 0;
}

.habit-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
    line-height: 1.6;
}

.habit-item li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: 700;
}

/* Solutions Section */
.solutions {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.solutions-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.solutions-tag {
    display: inline-block;
    background: #48bb78;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-decoration: none !important;
}

.solutions-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.solutions-text > p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.solutions-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    background: linear-gradient(135deg, #4c51bf 0%, #667eea 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: #1a202c;
}

.feature-item p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.solutions-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.link-secondary {
    color: #4c51bf;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.link-secondary:hover {
    opacity: 0.7;
}

.solutions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #4c51bf 0%, #667eea 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.highlight-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.highlight-box .btn-outline {
    border-color: white;
    color: white;
}

.highlight-box .btn-outline:hover {
    background: white;
    color: #4c51bf;
}

.trust-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.trust-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.trust-box ul {
    list-style: none;
    padding: 0;
}

.trust-box li {
    padding: 0.6rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.trust-box li:last-child {
    border-bottom: none;
}

/* Guide CTA Section */
.guide-cta {
    background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
    color: white;
    text-align: center;
}

.guide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.guide-content > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.guide-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.guide-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.guide-feature span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.guide-feature p {
    font-size: 1.05rem;
    font-weight: 500;
}

.guide-form {
    max-width: 600px;
    margin: 0 auto 1rem;
    display: flex;
    gap: 1rem;
}

.guide-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.guide-form button {
    flex-shrink: 0;
}

.form-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Resources Section */
.resources {
    background: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

.resource-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    margin-bottom: 1rem;
}

.resource-card a {
    color: #4c51bf;
    text-decoration: none;
    transition: opacity 0.3s;
    line-height: 1.6;
}

.resource-card a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    background: #f7fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .solutions-content {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .nav {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .tips-grid,
    .technique-grid {
        grid-template-columns: 1fr;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem;
    }

    .guide-form {
        flex-direction: column;
    }

    .solutions-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tip-card,
.technique-card,
.habit-item,
.resource-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}
