/* Base Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --accent-color: #ff6584;
    --dark-color: #2d2d3a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.2);
    color: white;
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card:hover .service-cta {
    color: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.service-cta {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-cta i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-cta i {
    transform: translateX(5px);
}

.coming-soon {
    position: relative;
}

.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
    transform: rotate(15deg);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f9f9ff;
}

.about-content {
    max-width: 600px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.about-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    flex: 1;
    padding-left: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    padding: 70px 0 30px;
    background-color: var(--dark-color);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    columns: 2;
    column-gap: 50px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f9f9ff, #ffffff);
    z-index: -1;
    overflow: hidden;
}

.animated-bg::before,
.animated-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.05);
    animation: float 15s infinite linear;
}

.animated-bg::before {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
}

.animated-bg::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(100px, 0) rotate(180deg);
    }
    75% {
        transform: translate(50px, -50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Service Page Styles */
.service-hero {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
}

.service-hero-content {
    max-width: 600px;
}

.service-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    background-color: white;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.service-badge i {
    margin-right: 8px;
    color: var(--primary-color);
}

.service-hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 500px;
}

.service-hero-image img {
    width: 100%;
    height: auto;
}

.service-main {
    padding: 80px 0;
}

.service-form-container {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.service-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.service-form-container input,
.service-form-container textarea,
.service-form-container select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-form-container input:focus,
.service-form-container textarea:focus,
.service-form-container select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.service-form-container textarea {
    min-height: 100px;
    resize: vertical;
}

.service-form-container .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.service-tips {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(108, 99, 255, 0.05);
    border-radius: 10px;
}

.service-tips h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-tips ul {
    padding-left: 20px;
}

.service-tips ul li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

.service-output-container {
    position: relative;
}

.loading-spinner {
    text-align: center;
    padding: 50px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(108, 99, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: var(--gray-color);
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.output-header h3 {
    margin: 0;
}

.output-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-action:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.output-content {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.output-content p {
    margin-bottom: 15px;
}

.service-examples {
    margin-top: 50px;
}

.service-examples h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.example-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.example-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.example-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.example-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.service-features {
    padding: 80px 0;
    background-color: #f9f9ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
}

.checkbox-group span {
    font-weight: normal;
}

.email-header, .email-footer {
    padding: 15px;
    background-color: #f5f5ff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.email-body {
    padding: 15px 0;
}

.hashtags {
    color: var(--primary-color);
    font-weight: 500;
}