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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.text-blue {
    color: #0066ff;
}

.hidden {
    display: none;
}

.anchor {
    position: absolute;
    top: -5rem;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(-1deg);
    }
    75% {
        transform: translateY(-25px) translateX(5px) rotate(1deg);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    33% {
        transform: translateY(-15px) translateX(-10px) scale(1.05);
    }
    66% {
        transform: translateY(-30px) translateX(8px) scale(0.95);
    }
}
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 3s infinite;
}

.animate-pulse {
    animation: pulse 4s infinite;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

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

@media (min-width: 1024px) {
    .nav-content {
        height: 5rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #0066ff;
}

.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #0066ff;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: flex;
    }
}

.nav-login {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-login:hover {
    color: #0066ff;
}

.nav-signup {
    background: #0066ff;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-signup:hover {
    background: #0052cc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-icon,
.close-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #374151;
}

.mobile-menu {
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu-content {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #0066ff;
}

.mobile-cta {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-login {
    text-align: center;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-login:hover {
    color: #0066ff;
}

.mobile-signup {
    text-align: center;
    background: #0066ff;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-signup:hover {
    background: #0052cc;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 2rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 50%, #f0f8ff 100%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(1px);
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    animation: pulse 4s infinite;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, #bfdbfe, #93c5fd);
    opacity: 0.25;
    animation: bounce 6s infinite;
    animation-delay: 1s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    opacity: 0.2;
    animation: pulse 5s infinite;
    animation-delay: 2s;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    padding-top: 5rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        padding-top: 8rem;
    }
}

.hero-content {
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-text {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin: 0;
    }
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .trust-indicators {
        flex-direction: row;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .trust-indicators {
        align-items: flex-start;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    animation: fadeInUp 0.6s ease-out forwards;
}

.trust-item:nth-child(1) { animation-delay: 0.3s; }
.trust-item:nth-child(2) { animation-delay: 0.4s; }
.trust-item:nth-child(3) { animation-delay: 0.5s; }

.trust-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-cta {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.6s;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0066ff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #0052cc;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(0.25rem);
}

.hero-visual {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

/* Dashboard Mockup */
.dashboard-mockup {
    position: relative;
}

.dashboard-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .dashboard-container {
        padding: 2rem;
    }
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.active {
    background: #10b981;
}

.status-dot.paused {
    background: #f59e0b;
}

.status-dot.stopped {
    background: #ef4444;
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-card {
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
}

.metric-blue { background: #eff6ff; }
.metric-green { background: #f0fdf4; }
.metric-purple { background: #faf5ff; }
.metric-orange { background: #fff7ed; }

.metric-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 auto 0.5rem;
}

.metric-blue .metric-icon { color: #0066ff; }
.metric-green .metric-icon { color: #059669; }
.metric-purple .metric-icon { color: #7c3aed; }
.metric-orange .metric-icon { color: #ea580c; }

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.chart-area {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.chart-title {
    font-weight: 600;
    color: #1a1a1a;
}

.chart-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 0.25rem;
    height: 6rem;
}

.bar {
    background: #0066ff;
    border-radius: 0.125rem 0.125rem 0 0;
    flex: 1;
    transition: all 1s ease-out;
    animation: fadeInUp 1s ease-out forwards;
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }
.bar:nth-child(7) { animation-delay: 0.7s; }
.bar:nth-child(8) { animation-delay: 0.8s; }

.ai-status {
    margin-bottom: 0;
}

.status-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.status-item:hover {
    background: #f3f4f6;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-name {
    font-weight: 500;
    color: #1a1a1a;
}

.status-performance {
    font-weight: 600;
    color: #059669;
}

.dashboard-float {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.dashboard-float-1 {
    top: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    background: #bfdbfe;
    animation: bounce 3s infinite;
}

.dashboard-float-2 {
    bottom: -1.5rem;
    left: -1.5rem;
    width: 3rem;
    height: 3rem;
    background: #bbf7d0;
    opacity: 0.5;
    animation: pulse 4s infinite;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #f9fafb;
}

@media (min-width: 1024px) {
    .features {
        padding: 8rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 5rem;
    }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .section-subtitle {
        font-size: 1.25rem;
    }
}

.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
    border-top-color: #0066ff;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.gradient-blue { background: linear-gradient(135deg, #0066ff, #0052cc); }
.gradient-green { background: linear-gradient(135deg, #10b981, #059669); }
.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.gradient-orange { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.gradient-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.gradient-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.feature-card:hover .feature-title {
    color: #0066ff;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Modules Section */
.modules {
    padding: 5rem 0;
    background: white;
}

@media (min-width: 1024px) {
    .modules {
        padding: 8rem 0;
    }
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .modules-list {
        gap: 3rem;
    }
}

.module-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .module-card {
        padding: 2rem;
        gap: 2rem;
    }
}

.module-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.module-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.module-card:hover::before {
    opacity: 1;
}

@media (max-width: 1023px) {
    .module-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .module-number,
    .module-icon {
        justify-self: center;
    }
    
    .module-arrow {
        justify-self: center;
    }
}

.module-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    color: white;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.module-card:hover .module-icon {
    transform: scale(1.1);
}

.module-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.module-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

@media (min-width: 1024px) {
    .module-title {
        font-size: 1.5rem;
    }
}

.module-card:hover .module-title {
    color: #0066ff;
}

.module-description {
    color: #6b7280;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .module-description {
        font-size: 1.125rem;
    }
}

.module-arrow {
    flex-shrink: 0;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.module-card:hover .module-arrow {
    color: #0066ff;
    transform: translateX(0.5rem);
}

.module-arrow i {
    width: 1.5rem;
    height: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f9fafb;
}

@media (min-width: 1024px) {
    .testimonials {
        padding: 8rem 0;
    }
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    color: #fbbf24;
}

.testimonial-content {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.author-role {
    font-size: 0.875rem;
    color: #6b7280;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta {
        padding: 8rem 0;
    }
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 50%, #7c3aed 100%);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-float {
    position: absolute;
    border-radius: 50%;
}

.cta-float-1 {
    top: 5rem;
    left: 5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 4s infinite;
}

.cta-float-2 {
    bottom: 5rem;
    right: 5rem;
    width: 6rem;
    height: 6rem;
    background: rgba(255, 255, 255, 0.05);
    animation: bounce 6s infinite;
    animation-delay: 1s;
}

.cta-content {
    position: relative;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #bfdbfe;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .cta-subtitle {
        font-size: 1.5rem;
    }
}

.cta-highlight {
    font-weight: 700;
    color: white;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #bfdbfe;
    font-size: 1.125rem;
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.cta-button-container {
    padding-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #0066ff;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f9fafb;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.cta-button-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.2s ease;
}

.cta-button:hover .cta-button-icon {
    transform: translateX(0.25rem);
}

.cta-trust {
    padding-top: 1rem;
}

.cta-trust p {
    color: #bfdbfe;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
}

.footer-main {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .footer-main {
        padding: 5rem 0;
    }
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    color: #60a5fa;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #0066ff;
}

.social-link i {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-links {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section-links a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: #9ca3af;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-copyright {
        text-align: left;
    }
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-login {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-login:hover {
    color: #60a5fa;
}

.footer-signup {
    background: #0066ff;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-signup:hover {
    background: #0052cc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}