/* SquirreList Styles - 2025 Edition */

/* Root Variables */
:root {
    --primary: #00C4CC;
    --secondary: #8A4517;
    --accent: #D4C1FF;
    --dark: #090B10;
    --light: #FFFFFF;
    --success: #4CAF50;
    --gradient-1: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-2: linear-gradient(135deg, var(--secondary), var(--primary));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    scroll-behavior: smooth;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --light: #090B10;
    --dark: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(255, 255, 255, 0.07);
    --shadow-md: 0 4px 12px rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    transition: var(--transition);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 4px;
    border-radius: 8px;
}

[data-theme="dark"] .lang-switcher {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.lang-btn:hover {
    background-color: rgba(0, 196, 204, 0.2);
}

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

/* Header Styles */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(197, 249, 252, 0.8);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] header {
    background-color: rgba(3, 41, 43, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    color: var(--primary);
}

.logo-text {
    font-weight: 800;
    font-size: 24px;
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--dark);
    transition: var(--transition);
}

.download-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.hero-bg svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

h1 span {
    display: block;
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.primary-btn {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.secondary-btn {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-btn:hover {
    background-color: rgba(255, 127, 80, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    width: 100%;
    max-width: 350px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border-radius: 30px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateY(0);
    }

    50% {
        transform: translateY(-20px) rotateY(10deg);
    }
}

/* Common style cho tất cả acorn */
.acorn-1,
.acorn-2,
.acorn-3 {
    position: absolute;
    background-color: var(--accent);
    /* ví dụ: #FF7F50 */
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    z-index: 0;
    animation: float 8s ease-in-out infinite alternate;
    opacity: 0.4;
}

.acorn-round {
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite alternate;
    bottom: 0%;
    left: 20%;
    animation-delay: 1.5s;
}

/* Kích thước & vị trí khác nhau */
.acorn-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: -60px;
    animation-delay: 0s;
}

.acorn-2 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: -40px;
    animation-delay: 2s;
}

.acorn-3 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateZ(0);
    }

    50% {
        transform: translateY(-20px) translateZ(0);
    }

    100% {
        transform: translateY(0px) translateZ(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.features-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-image {
    flex: 1;
    max-width: 45%;
}

.features-content {
    flex: 1;
}

.app-preview {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
}

.app-preview:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.features .section-title {
    margin-bottom: 60px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    border-radius: 20px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Card 1: Task List */
.feature-card:nth-child(1) {
    background-color: rgba(0, 196, 204, 0.1);
}

.feature-card:nth-child(1) .feature-icon {
    color: #00C4CC;
}

.feature-card:nth-child(1) h3,
.feature-card:nth-child(1) p {
    color: #00C4CC;
}

/* Card 2: Streak System */
.feature-card:nth-child(2) {
    background-color: rgba(255, 111, 97, 0.1);
}

.feature-card:nth-child(2) .feature-icon {
    color: #FF6F61;
}

.feature-card:nth-child(2) h3,
.feature-card:nth-child(2) p {
    color: #FF6F61;
}

/* Card 3: Playful Motivation */
.feature-card:nth-child(3) {
    background-color: rgba(76, 175, 80, 0.1);
}

.feature-card:nth-child(3) .feature-icon {
    color: #4CAF50;
}

.feature-card:nth-child(3) h3,
.feature-card:nth-child(3) p {
    color: #4CAF50;
}

/* Card 4: Customizable */
.feature-card:nth-child(4) {
    background-color: rgba(212, 193, 255, 0.1);
}

.feature-card:nth-child(4) .feature-icon {
    color: #D4C1FF;
}

.feature-card:nth-child(4) h3,
.feature-card:nth-child(4) p {
    color: #D4C1FF;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    transform: translateZ(10px);
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    transform: translateZ(5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: translateZ(30px) rotateY(360deg);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .features-container {
        flex-direction: column;
        gap: 40px;
    }

    .features-image {
        max-width: 80%;
        order: 2;
    }

    .features-content {
        order: 1;
        width: 100%;
    }

    .features .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-image {
        max-width: 100%;
    }

    .feature-card {
        padding: 25px;
    }
}

/* Animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add 3D hover effect */
@media (hover: hover) {
    .feature-card {
        transform: translateZ(0);
        transition: transform 0.3s ease-out;
    }

    .feature-card:hover {
        transform: translateZ(20px);
    }
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    overflow: hidden;
}

.steps-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step-line {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: rgba(255, 127, 80, 0.3);
    border-radius: 2px;
    z-index: -1;
}

.step {
    display: flex;
    margin-bottom: 100px;
    align-items: center;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:nth-child(odd) {
    flex-direction: row;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

/* Nội dung bên trái (step lẻ) đẩy ra xa đường giữa */
.step:nth-child(odd) .step-content {
    margin-left: 80px;
}

/* Nội dung bên phải (step chẵn) đẩy ra xa đường giữa */
.step:nth-child(even) .step-content {
    margin-right: 80px;
}

.step-image,
.step-content {
    flex: 1;
}

.step-image img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover .step-image img {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.step-content {
    padding: 0 40px;
}

.step-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
}

/* Demo Interactive Section */
.demo {
    padding: 100px 0;
    overflow: hidden;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.task-app {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

[data-theme="dark"] .task-app {
    background-color: rgba(26, 26, 26, 0.9);
}

.task-header {
    background: var(--primary);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.task-title {
    font-size: 24px;
    font-weight: 700;
}

.task-body {
    padding: 30px;
}

.task-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.task-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
}

.task-input:focus {
    border-color: var(--primary);
    outline: none;
}

[data-theme="dark"] .task-input {
    background-color: rgba(26, 26, 26, 0.5);
    color: var(--light);
    border-color: rgba(255, 255, 255, 0.1);
}

.task-add-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.task-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.task-list {
    list-style: none;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

[data-theme="dark"] .task-item {
    background-color: rgba(255, 255, 255, 0.05);
}

.task-item:hover {
    transform: translateX(5px);
}

.task-checkbox {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.task-checkbox:checked {
    background-color: var(--primary);
}

.task-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.task-text {
    flex: 1;
    font-size: 16px;
    transition: var(--transition);
}

.task-checkbox:checked+.task-text {
    text-decoration: line-through;
    opacity: 0.6;
}

.task-delete {
    background: none;
    border: none;
    color: var(--dark);
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
}

.task-delete:hover {
    opacity: 1;
    color: red;
}

.task-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.task-filter {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    opacity: 0.6;
}

.task-filter.active {
    background-color: var(--primary);
    color: white;
    opacity: 1;
}

/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.roadmap .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.roadmap-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    padding-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 80px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 10;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}

.timeline-content {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    width: calc(50% - 40px);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 20px;
}

.timeline-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-features {
    justify-content: flex-start;
}

.timeline-feature {
    background-color: rgba(255, 127, 80, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: rgba(255, 127, 80, 0.05);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .testimonials {
    background-color: rgba(255, 127, 80, 0.03);
}

.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 100px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-content {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--dark);
    opacity: 0.7;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    overflow: hidden;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    gap: 20px;
}

.toggle-label {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.7;
    transition: var(--transition);
}

.toggle-label.active {
    opacity: 1;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: var(--primary);
    border-radius: 16px;
    cursor: pointer;
    padding: 4px;
}

.toggle-slider {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch.yearly .toggle-slider {
    transform: translateX(28px);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 350px;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 600;
    padding: 8px 30px;
    transform: rotate(45deg);
    font-size: 14px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

[data-theme="dark"] .pricing-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary);
}

.pricing-duration {
    font-size: 16px;
    color: var(--dark);
    opacity: 0.7;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 16px;
}

.pricing-feature i {
    color: var(--success);
    font-size: 18px;
}

.pricing-feature.disabled {
    opacity: 0.5;
}

.pricing-feature.disabled i {
    color: var(--dark);
    opacity: 0.3;
}

.pricing-cta {
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: rgba(255, 127, 80, 0.05);
}

.faq .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: white;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

[data-theme="dark"] .faq-item {
    background-color: rgba(26, 26, 26, 0.8);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    line-height: 1.6;
    opacity: 0.8;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.download-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.download-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.download-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    text-decoration: none;
}

.store-btn.alt {
    background-color: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
    /* nếu bạn muốn nhìn rõ đường viền */
}

.store-btn.download {
    background-color: #000000;
    color: white;
    border: none;
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.store-btn i {
    font-size: 24px;
}

.store-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn-label {
    font-size: 12px;
    opacity: 0.7;
}

.store-btn-name {
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--light);
    color: var(--dark);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-content.footer-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-centered .footer-about {
    max-width: 500px;
}

.footer-centered .footer-logo {
    justify-content: center;
}

.footer-centered .social-links {
    justify-content: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-weight: 800;
    font-size: 24px;
    color: var(--dark);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 18px;
    transition: var(--transition);
}

[data-theme="dark"] .social-link {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-newsletter p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 20px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
    min-width: 0;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: none;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--dark);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
}

[data-theme="dark"] .newsletter-input {
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-input::placeholder {
    color: var(--dark);
}

.newsletter-btn {
    flex-shrink: 0;
    background-color: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background-color: var(--accent);
}

@media (max-width: 480px) {
    .newsletter-form {
        gap: 8px;
    }

    .newsletter-input {
        padding: 12px 12px;
        font-size: 13px;
        height: 36px;
    }

    .newsletter-btn {
        width: 36px;
        height: 36px;
    }
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: var(--text);
    font-size: 14px;
    opacity: 0.8;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 5px;
    position: relative;
    padding: 0 2px;
}

.copyright a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.copyright a:hover::after {
    width: 100%;
}

.copyright a:hover {
    color: var(--primary);
    opacity: 1;
}

[data-theme="dark"] .copyright a {
    color: var(--primary);
}

[data-theme="dark"] .copyright a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* Scroll Animations Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 48px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-stats {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 0 40px 0 20px;
    }

    .logo {
        flex: 1;
    }

    .header-cta {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
    }

    .theme-toggle {
        padding: 5px;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 1000;
    }

    nav ul.active {
        left: 0;
    }

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

    .step {
        flex-direction: column;
        gap: 60px;
    }

    .step:nth-child(even) {
        flex-direction: column;
    }

    .step-number {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .step-content {
        padding: 0;
        text-align: center;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .timeline-item {
        width: 100%;
        justify-content: flex-end;
    }

    .timeline-item:nth-child(odd) {
        justify-content: flex-end;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 0;
        margin-left: 40px;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
    }

    .timeline-item:nth-child(odd) .timeline-features,
    .timeline-item:nth-child(even) .timeline-features {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .store-buttons {
        flex-direction: column;
    }
}

/* Why Us Section Styles */
.why-us {
    padding: 100px 0;
    background-color: rgba(255, 127, 80, 0.05);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .why-us {
    background-color: rgba(255, 127, 80, 0.03);
}

.why-us .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.why-us .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.why-us .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-us-card {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    z-index: -1;
}

.why-us-icon {
    font-size: 36px;
    margin-bottom: 24px;
    display: inline-block;
}

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

.why-us-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
}

/* Animation for icons */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.why-us-icon i {
    animation: float 3s ease-in-out infinite;
}

/* Responsive styles */
@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .why-us-card {
        padding: 30px 20px;
    }
}

.why-us .acorn-bg {
    position: absolute;
    background-color: var(--accent);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    z-index: 0;
    animation: float 8s ease-in-out infinite alternate;
    opacity: 0.4;
}

.why-us .acorn-1 {
    width: 150px;
    height: 150px;
    top: 0%;
    left: 10%;
    transform: translate(-50%, -50%) translateX(-200px);
    animation-delay: 0s;
}

.why-us .acorn-2 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 10%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.why-us .acorn-3 {
    width: 200px;
    height: 200px;
    bottom: -10%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(200px);
    animation-delay: 1s;
}

/* Floating Squirrel Animation */
.floating-soi {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: float-soi 6s ease-in-out infinite;
}

.soi-image {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes float-soi {
    0% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: rgba(255, 127, 80, 0.05);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .blog {
    background-color: rgba(255, 127, 80, 0.03);
}

.blog .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.blog-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
    background: var(--light);
    transform: translateZ(20px);
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.blog-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}