/* Base Styles */
:root {
    --primary-color: #99807b;        /* Rose Quartz */
    --secondary-color: #2F2F2F;      /* Charcoal Black */
    --accent-color: #D7BFAE;         /* Romantic Cappuccino */
    --accent-color-2: #B2A29F;       /* Decorative Taupe */
    --text-color: #2C2C2C;           /* Deep Graphite */
    --light-text: #FFFFFF;
    --dark-bg: #2d2d2d;              /* Elegant Dark Background */
    --light-bg: #FDF7F3;             /* Creamy Blush */
    --subtle-bg: #7f6a6a;            /* Subtle background for sections */
    --border-radius: 12px;
    --box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    --heading-font: 'Bounded-Variable', sans-serif;
    --body-font: 'Comfortaa', sans-serif;
  }

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden; /* Prevent horizontal scroll during animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-special {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-special:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo a {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo-image {
    max-height: 45px;
    width: auto;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #fff6f9 0%, #f0e5ff 100%);
    position: relative;
    overflow: hidden;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--subtle-bg);
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transform: rotate(2deg);
}

/* Media queries for hero section */
@media (max-width: 1400px) {
    .hero .container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
}

/* About Section */
.about {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
    height: auto;
}

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

.features::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 107, 157, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Demo Section */
.demo {
    background-color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.demo-text {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.demo-phones {
    margin-bottom: 3rem;
}

.phone-showcase {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.phone-item {
    position: relative;
    width: 300px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem;
    color: #fff;
    text-align: left;
}

.phone-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.phone-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
    background-color: var(--light-bg);
    position: relative;
}

.pricing-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50px;
    padding: 0.3rem;
    width: 300px;
    margin: 0 auto 3rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.toggle-label {
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    z-index: 1;
    text-align: center;
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--white);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 50%;
    height: calc(100% - 8px);
    background-color: var(--primary-color);
    border-radius: 50px;
    transition: transform 0.3s ease;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Pricing Plan */
.pricing-plan {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Popular Plan */
.pricing-plan.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
    z-index: 1;
}

.pricing-plan.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Custom Plan */
.pricing-plan.custom {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px dashed var(--primary-color-light);
}

/* Plan Header */
.plan-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    background-color: var(--white);
    position: relative;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color-dark);
}

.plan-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-left: 0.3rem;
}

.price-custom {
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--primary-color);
}

.plan-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 1rem;
}

/* Plan Features */
.plan-features {
    padding: 1.5rem 2rem;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.8rem;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-color);
}

.custom-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(var(--primary-rgb), 0.05);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
}

.note-icon {
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.note-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-color);
}

/* Plan Action */
.plan-action {
    padding: 1.5rem 2rem 2.5rem;
    text-align: center;
}

.btn-plan {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-plan:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

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

.popular-btn:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

.custom-btn {
    border-style: dashed;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    background-color: var(--primary-color-light);
    color: var(--primary-color-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA */
.pricing-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .plan-header {
        padding: 2rem 1.5rem 1.2rem;
    }
    
    .plan-features, 
    .plan-action {
        padding: 1.2rem 1.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-plan.popular {
        transform: scale(1);
    }
    
    .pricing-plan.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .pricing-toggle {
        width: 280px;
    }
    
    .toggle-label {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(138, 79, 255, 0.1);
    z-index: 0;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-family: var(--heading-font);
    font-size: 4rem;
    color: rgba(255, 107, 157, 0.1);
    position: absolute;
    top: -20px;
    left: -15px;
    z-index: -1;
}

.testimonial-text p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    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;
    border: 3px solid var(--primary-color);
}

.author-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

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

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding-bottom: 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

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

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-about, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-about h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-about p {
    line-height: 1.6;
    margin-bottom: 0;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-text);
    margin-right: 0.5rem;
}

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

.footer-divider {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        margin: 0 auto 2rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-cards {
        justify-content: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
}
