/* Base Styles */
:root {
    --primary: #6c5ce7;
    --primary-light: #a29bfe;
    --primary-dark: #5649c0;
    --secondary: #fd79a8;
    --accent: #00cec9;
    --text: #2d3436;
    --text-light: #636e72;
    --text-lighter: #b2bec3;
    --bg: #ffffff;
    --bg-light: #f5f6fa;
    --bg-dark: #dfe6e9;
    --border: #dfe6e9;
    --border-radius: 12px;
    --box-shadow: 0 8px 25px rgba(108, 92, 231, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.btn-primary .btn-icon {
    margin-left: 10px;
    transition: var(--transition);
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px) rotate(15deg);
}

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

.btn-secondary:hover {
    background-color: rgba(108, 92, 231, 0.05);
}

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

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

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

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

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

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

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.nav-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.nav-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 246, 250, 0.95) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%236c5ce7" fill-opacity="0.03" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(108, 92, 231, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    position: relative;
}

.stat-number::after {
    content: '+';
    position: absolute;
    top: 0;
    right: -12px;
    font-size: 1.2rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 550px;
}

.phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 12px solid var(--text);
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.phone-screen {
    position: absolute;
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    background-color: white;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.post-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    margin-right: 10px;
}

.post-user .username {
    font-weight: 600;
    font-size: 0.9rem;
}

.post-user .platform {
    font-size: 0.7rem;
    color: var(--text-light);
}

.post-image {
    flex: 1;
    background-color: var(--bg-dark);
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    opacity: 0.5;
}

.post-caption {
    margin-bottom: 10px;
}

.caption-line {
    height: 8px;
    background-color: var(--bg-dark);
    margin-bottom: 6px;
    border-radius: 4px;
}

.caption-line:first-child {
    width: 80%;
}

.caption-line:nth-child(2) {
    width: 60%;
}

.caption-line:nth-child(3) {
    width: 40%;
}

.post-actions {
    display: flex;
    gap: 15px;
}

.action-icon {
    width: 24px;
    height: 24px;
    background-color: var(--bg-dark);
    border-radius: 50%;
}

.ai-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sparkle {
    position: absolute;
    background-color: var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
    animation: sparkle 15s linear infinite;
}

.sparkle:nth-child(1) {
    width: 15px;
    height: 15px;
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    width: 10px;
    height: 10px;
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.sparkle:nth-child(3) {
    width: 20px;
    height: 20px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.sparkle:nth-child(4) {
    width: 8px;
    height: 8px;
    top: 80%;
    left: 50%;
    animation-delay: 6s;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
    color: var(--accent);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.feature-decoration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    opacity: 0;
}

.feature-card:hover .feature-decoration {
    width: 100px;
    opacity: 1;
}

/* Templates Section */
.templates-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.template-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.template-preview {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    transition: var(--transition);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.template-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2);
}

.instagram {
    border: 1px solid #e1306c;
}

.twitter {
    border: 1px solid #1da1f2;
}

.linkedin {
    border: 1px solid #0077b5;
}

.post-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.post-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    padding: 15px;
}

.post-headline {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.post-bullets {
    width: 100%;
}

.bullet {
    height: 8px;
    background-color: var(--bg-dark);
    margin-bottom: 10px;
    border-radius: 4px;
}

.bullet:first-child {
    width: 80%;
}

.bullet:nth-child(2) {
    width: 60%;
}

.bullet:nth-child(3) {
    width: 40%;
}

.template-name {
    text-align: center;
    font-weight: 600;
    color: var(--primary-dark);
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--primary);
    color: white;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* How It Works Section */
.how-it-works {
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23fd79a8" fill-opacity="0.03" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    background-size: cover;
    z-index: -1;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 4px;
    background-color: var(--bg-dark);
    z-index: 1;
}

.step-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    width: 30%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.2);
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.step-content {
    text-align: center;
    margin-bottom: 30px;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.step-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-illustration {
    margin-top: auto;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Demo Section */
.demo-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.demo-input {
    display: flex;
    flex-direction: column;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
}

.input-group input {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.tone-selector, .platform-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tone-option, .platform-option {
    padding: 8px 15px;
    border-radius: 20px;
    background-color: var(--bg-light);
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.tone-option:hover, .platform-option:hover {
    background-color: var(--primary-light);
    color: white;
}

.tone-option.active {
    background-color: var(--primary);
    color: white;
}

.platform-option {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.platform-option.active {
    background-color: var(--primary);
    color: white;
}

.demo-output {
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.output-header h3 {
    font-size: 1.1rem;
    color: var(--text);
}

.output-actions {
    display: flex;
    gap: 10px;
}

.copy-btn, .refresh-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.copy-btn:hover, .refresh-btn:hover {
    color: var(--primary);
}

.output-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.placeholder {
    text-align: center;
    color: var(--text-lighter);
}

.placeholder i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.placeholder p {
    font-size: 1rem;
}

.post-result {
    padding: 15px;
    margin-bottom: 10px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-dark);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.post-result:hover {
    background-color: var(--primary);
    color: white;
    transform: translateX(5px);
}

.post-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.post-result:hover::before {
    transform: scaleY(1);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 30px;
}

.testimonial-quote i {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    color: rgba(108, 92, 231, 0.1);
    z-index: 0;
}

.testimonial-quote p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--te