/* Home Page Styles - Modern Design */

:root {
    --primary-dark: #3451d1;
    --primary-light: #e7eaff;
    --secondary-color: #ff8a4c;
    --secondary-light: #fff4ee;
    --accent-color: #25d366;
    --gradient-start: #4361ee;
    --gradient-end: #7579e7;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 15px 35px rgba(67, 97, 238, 0.15);
    --dark-text: #2c3e50;
    --light-text: #546e7a;
    --lighter-text: #78909c;
    --animation-timing: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Hero Section - Updated to match features.css */
.features-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 8rem 0 10rem;
    color: white;
    overflow: hidden;
}

.features-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.features-hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.features-hero h1 .highlight {
    position: relative;
    display: inline-block;
}

.features-hero h1 .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 12px;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
    border-radius: 10px;
}

.features-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.features-hero .btn-primary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.features-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.features-hero .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.features-hero .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.features-hero .btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.features-hero .btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.features-hero .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

.features-hero .btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.features-hero .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(120deg, transparent 0%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 250% 100%;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.features-hero .btn-outline:hover::before {
    background-position: 100% 0;
}

.features-hero .btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.features-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-hero-image img {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.features-hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.blob-animation {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 43% 57% 70% 30% / 30% 42% 58% 70%;
    animation: blobAnimation 15s infinite alternate;
    z-index: 1;
}

@keyframes blobAnimation {
    0% {
        border-radius: 43% 57% 70% 30% / 30% 42% 58% 70%;
        transform: translate(-5%, 5%) rotate(0deg);
    }
    50% {
        border-radius: 57% 43% 30% 70% / 70% 58% 42% 30%;
        transform: translate(5%, -5%) rotate(180deg);
    }
    100% {
        border-radius: 43% 57% 70% 30% / 30% 42% 58% 70%;
        transform: translate(-5%, 5%) rotate(360deg);
    }
}

.wave-divider {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.wave-divider.flip {
    transform: rotate(180deg);
    top: -50px;
    bottom: auto;
}

/* Responsive Hero Section */
@media (max-width: 992px) {
    .features-hero {
        padding: 6rem 0 8rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 5rem 0 7rem;
    }
    
    .features-hero .container {
        grid-template-columns: 1fr;
    }
    
    .features-hero-content {
        text-align: center;
        order: 2;
    }
    
    .features-hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .features-hero {
        padding: 4rem 0 6rem;
    }
    
    .features-hero h1 {
        font-size: 2.2rem;
    }
    
    .features-hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta:hover {
    transform: translateY(-5px);
}

.sticky-cta .btn {
    padding: 1rem 2rem;
    border-radius: 30px;
}

/* Pulse animation for CTA button */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(67, 97, 238, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.1);
}

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

.card-icon, .step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.feature-card:nth-child(2n) .card-icon,
.features-section .feature-card:nth-child(2n) .card-icon,
.features-content .feature-card:nth-child(2n) .card-icon {
    background-color: rgba(255, 138, 76, 0.1);
    color: var(--secondary-color);
}

.feature-card:nth-child(3n) .card-icon,
.features-section .feature-card:nth-child(3n) .card-icon,
.features-content .feature-card:nth-child(3n) .card-icon {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.card-icon i, .step-icon i {
    display: block;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    width: 100%;
}

.feature-card h4 {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-dark);
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 0.75rem;
}

.features-action {
    text-align: center;
}

/* How it Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background-color: var(--primary-light);
    position: relative;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 2rem;
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.step-card:nth-child(2) .step-icon {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
}

.step-card:nth-child(3) .step-icon {
    background-color: #e1faea;
    color: var(--accent-color);
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
}

.step-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 10rem 0 10rem;
    background-color: #f8f9fa;
    margin-top: 40px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    display: none;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.testimonial-card.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 2.5rem;
    color: var(--primary-light);
    z-index: 0;
}

.testimonial-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--dark-text);
    position: relative;
    z-index: 1;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    font-size: 0.95rem;
    color: var(--light-text);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background-color: var(--primary-dark);
}

/* Demo Section */
.demo-section {
    padding: 6rem 0;
    background-color: white;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-content h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.demo-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.demo-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.demo-features li i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e1faea;
    color: var(--accent-color);
    border-radius: 50%;
}

.form-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

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

.form-card h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Trial Section */
.trial-section {
    padding: 6rem 0;
    background-color: var(--primary-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.trial-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.cta-image img {
    max-width: 100%;
    transform: perspective(1000px) rotateY(10deg);
    transition: transform 0.5s ease;
}

.cta-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.trial-section .btn-primary {
    background-color: white;
    color: var(--primary-dark);
}

.trial-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.trial-section .btn-secondary {
    background-color: transparent;
    border: 2px solid white;
}

.trial-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section .container,
    .demo-grid,
    .trial-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .step-icon {
        margin: 0 auto 1rem;
    }
    
    .step-content,
    .cta-buttons {
        align-items: center;
    }
    
    .demo-features {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 8rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .sticky-cta .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Features Tabs Navigation */
.features-tabs {
    padding: 5rem 0 3rem;
    background-color: white;
}

.tabs-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.tabs-header h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.tabs-header p {
    font-size: 1.2rem;
    color: var(--light-text);
}

.tabs-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--light-text);
    position: relative;
}

.tab-button i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tab-button span {
    font-size: 0.9rem;
    font-weight: 500;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-button.active::after {
    width: 70%;
}

/* Features Content */
.features-content {
    padding: 1rem 0 5rem;
    background-color: white;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.feature-details {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.feature-details h3 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.feature-details > p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .feature-details {
        text-align: center;
    }
    
    .tabs-navigation {
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }
}

.feature-graphic {
    position: relative;
    text-align: center;
}

.feature-image {
    max-width: 100%;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(0);
}

.feature-grid:hover .feature-image {
    transform: translateY(-10px);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.1);
}

.card-icon i, .step-icon i {
    display: block;
    text-align: center;
}

/* Responsive Design for Features */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-graphic {
        order: -1;
    }
    
    .feature-details {
        text-align: center;
    }
    
    .tabs-navigation {
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .tab-button {
        padding: 0.7rem 1rem;
    }
    
    .tab-button i {
        font-size: 1.3rem;
    }
    
    .feature-details h3 {
        font-size: 1.8rem;
    }
    
    .card-icon, .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
} 