/* CSS Variables */
:root {
    --primary: #43b581;
    --bg: #F6F8FE;
    --text: #1E1E2F;
    --text-dark: #1a1a1a;
    --muted: #6B7280;
    --card: #FFFFFF;
    --border-color: #dee2e6;
    --radius: 16px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Floating Dots Background */
.floating-dots-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(1px);
}

@keyframes floatAnimation1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(-20px, -60px);
    }
    75% {
        transform: translate(-30px, -30px);
    }
}

@keyframes floatAnimation2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-40px, 40px);
    }
    66% {
        transform: translate(20px, -20px);
    }
}

@keyframes floatAnimation3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-25px, 35px);
    }
    50% {
        transform: translate(25px, 70px);
    }
    75% {
        transform: translate(40px, 35px);
    }
}

@keyframes floatAnimation4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -40px) rotate(180deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    display: flex;
    gap: 12px;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 181, 129, 0.3);
}

.btn-secondary {
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    background: transparent;
    transition: all 0.2s;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 80px 20px 40px;
    text-align: left;
    background: linear-gradient(135deg, #F6F8FE 0%, #ffffff 100%);
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Animated underline for "easier" */
.underline-text {
    position: relative;
    display: inline-block;
}

.underline-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    animation: drawUnderline 1.2s ease-out 0.5s forwards;
}

@keyframes drawUnderline {
    to {
        width: 100%;
    }
}

/* Animated circle for "same page" */
.circle-text {
    position: relative;
    display: inline-block;
    padding: 0 8px;
}

.circle-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 16px);
    height: calc(100% + 12px);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: drawCircle 1s ease-out 1s forwards;
}

@keyframes drawCircle {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
        opacity: 1;
    }
}

.underline-word {
    position: relative;
    display: inline-block;
}

.hand-drawn-underline {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 105%;
    height: 20px;
    pointer-events: none;
    z-index: -1;
}

.hand-drawn-underline path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: drawHandDrawnLine 0.2s ease-out 0.3s forwards;
}

@keyframes drawHandDrawnLine {
    to {
        stroke-dashoffset: 0;
    }
}

.same-page-wrapper {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.hand-drawn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 125%;
    height: 175%;
    pointer-events: none;
    z-index: -1;
}

.hand-drawn-circle path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: drawHandDrawnCircle 0.3s ease-out 0.8s forwards;
}

@keyframes drawHandDrawnCircle {
    to {
        stroke-dashoffset: 0;
    }
}

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

.hero-subtitle small {
    display: inline-block;
    margin-top: 8px;
    font-size: 16px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    justify-content: center;
}

.hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

.hero-image {
    flex: 0 0 400px;
    width: 400px;
}

.hero-mockup {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.mockup-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.stat-value {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.stat-value.green {
    color: var(--primary);
}

/* Content Sections */
section {
    padding: 20px 0;
}

.section-title {
    font-size: 32px;
}

#features {
    padding: 20px 0 60px;
}

.centered {
    text-align: center;
}

.centered h2 {
    margin-bottom: 16px;
    font-weight: 700;
}

.centered p {
    font-size: 18px;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.card p {
    color: var(--muted);
    margin: 0;
    font-size: 16px;
}

/* Pricing */
.pricing {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 40px 0 10px;
}

.price-card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius);
    width: 280px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.price-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

.price {
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0;
}

.price-card p {
    color: var(--muted);
    font-size: 16px;
}

.subtext {
    margin-top: 24px;
    font-size: 14px;
    color: var(--muted);
}

/* Footer CTA */
.footer-cta {
    padding: 80px 24px;
    text-align: center;
    background: #E6F5ED;
}

.footer-cta h2 {
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-cta p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 30px;
}

@media (max-width: 980px) {
    .hero {
        padding: 80px 40px 60px;
        text-align: center;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 630px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links.active,
    .nav-cta.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        gap: 16px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4.5px, 4.5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4.5px, -4.5px);
    }

    .hero {
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hand-drawn-circle {
        width: 112%;
        height: 180%;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing {
        flex-direction: column;
        gap: 16px;
    }

    .price-card {
        width: 100%;
        padding: 24px;
    }

    .centered h2 {
        font-size: 28px;
    }

    .centered p {
        font-size: 16px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

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

.footer-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-description {
    color: #999;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* Footer Responsive Design */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}