/* Service Pages Specific Styles */
.service-page {
    padding-top: 100px; /* Account for fixed navbar */
    min-height: 100vh;
    background: var(--color-background);
}

.service-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.service-content {
    flex: 1;
}

.service-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
}

.service-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.service-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    flex: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-secondary);
}

/* Service Visual */
.service-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-social-icons {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-social-icons i {
    position: absolute;
    font-size: 3rem;
    color: var(--color-secondary);
    animation: float 3s ease-in-out infinite;
}

.floating-social-icons i:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.floating-social-icons i:nth-child(2) { top: 40%; left: 60%; animation-delay: 0.5s; }
.floating-social-icons i:nth-child(3) { top: 60%; left: 30%; animation-delay: 1s; }
.floating-social-icons i:nth-child(4) { top: 30%; left: 80%; animation-delay: 1.5s; }
.floating-social-icons i:nth-child(5) { top: 70%; left: 70%; animation-delay: 2s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Features Grid */
.service-features {
    padding: 6rem 2rem;
    background: var(--color-surface);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

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

/* Workflow Section */
.service-workflow {
    padding: 6rem 2rem;
    background: var(--color-background);
}

.workflow-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.workflow-step {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.1;
    color: var(--color-secondary);
}

.workflow-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .service-content h1 {
        font-size: 2.5rem;
    }

    .service-stats {
        flex-direction: column;
    }

    .service-visual {
        height: 300px;
    }

    .floating-social-icons {
        width: 200px;
        height: 200px;
    }
}

/* Calendar Animation for Content Planning */
.calendar-animation {
    width: 300px;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.calendar-animation::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        45deg,
        rgba(99, 102, 241, 0.1),
        rgba(14, 165, 233, 0.1)
    );
    top: -25%;
    left: -25%;
    animation: rotate 10s linear infinite;
}

.calendar-month {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.cal-header {
    padding: 1rem;
    text-align: center;
    background: rgba(99, 102, 241, 0.2);
    font-weight: 700;
    font-size: 1.2rem;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cal-day.active {
    background: var(--color-primary);
    color: white;
    animation: pulse 2s infinite;
}

.cal-day.scheduled {
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Project Management Animation */
.project-animation {
    width: 300px;
    height: 350px;
    position: relative;
    perspective: 1000px;
}

.task-board {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform-style: preserve-3d;
    transform: rotateY(10deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.task-card {
    background: rgba(99, 102, 241, 0.2);
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.task-card.moving {
    animation: moveTask 3s infinite;
    background: rgba(14, 165, 233, 0.3);
}

@keyframes moveTask {
    0% { transform: translateX(0); }
    50% { transform: translateX(100px); }
    100% { transform: translateX(0); }
}

/* Insights Visualization */
.insights-visualization {
    width: 300px;
    height: 300px;
    position: relative;
    perspective: 1000px;
}

.data-points {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
}

.data-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-secondary);
}

.data-point:nth-child(1) { transform: translate3d(0, 0, 100px); }
.data-point:nth-child(2) { transform: translate3d(100px, 50px, -50px); }
.data-point:nth-child(3) { transform: translate3d(-70px, -70px, 30px); }
.data-point:nth-child(4) { transform: translate3d(50px, -100px, -20px); }
.data-point:nth-child(5) { transform: translate3d(-100px, 30px, 60px); }
.data-point:nth-child(6) { transform: translate3d(20px, 80px, -80px); }
.data-point:nth-child(7) { transform: translate3d(-50px, 60px, -60px); }

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at center, 
            rgba(14, 165, 233, 0.2) 0%, 
            transparent 70%);
}

@keyframes rotate3d {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* AI Content Generator Section */
.ai-generator {
    padding: 6rem 2rem;
    background: var(--color-surface);
}

.generator-container {
    max-width: 1000px;
    margin: 0 auto;
}

.generator-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.generator-intro p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
}

.input-container {
    margin-bottom: 3rem;
}

.input-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-container textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition-fast);
}

.input-container textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.input-container button {
    align-self: center;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-container button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

.input-container button:active {
    transform: translateY(0);
}

.btn-loading {
    display: none;
}

.btn-loading i {
    margin-left: 8px;
}

.input-container button.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.input-container button.loading .btn-loading {
    display: block;
    position: absolute;
}

/* Results Container */
.results-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    min-height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    height: 200px;
}

.ai-thinking {
    display: flex;
    gap: 0.5rem;
}

.ai-thinking .dot {
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50%;
    animation: dot-pulse 1.5s infinite ease-in-out;
}

.ai-thinking .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.ai-thinking .dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.loading-animation p {
    color: var(--color-text-secondary);
    text-align: center;
}

.results-content {
    display: none;
}

/* Calendar suggestions styling */
.calendar-suggestion {
    margin-bottom: 3rem;
}

.calendar-suggestion h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-suggestion h3 i {
    font-size: 1.25rem;
}

.content-week {
    margin-bottom: 2rem;
}

.content-week-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.content-day {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.content-day:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.day-name {
    font-weight: 600;
    min-width: 100px;
}

.content-details {
    flex: 1;
}

.content-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

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

/* Download Options Styling */
.download-options {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.download-options h4 {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    color: white;
    font-family: var(--font-main);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.pdf-btn {
    background: #e53935; /* Red color for PDF */
}

.word-btn {
    background: #2196f3; /* Blue color for Word */
}

.excel-btn {
    background: #4caf50; /* Green color for Excel */
}

/* Add a success message for download */
.download-success {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #4caf50;
    display: none;
} 