/* ---=== VARIABLES & BASE STYLES ===--- */
:root {
    --primary-color: #fe7900; /* NEW: Orange */
    --secondary-color: #fe7900; /* NEW: Orange */
    --accent-color: #ff9d40; /* NEW: Lighter Orange */
    --bg-color: #1a1a1a; /* Dark Grey */
    --bg-color-rgb: 26, 26, 26;
    --text-color: #f0f0f0;
    --text-color-muted: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-color-muted); }
a { color: var(--secondary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.section-description { max-width: 700px; margin: 0 auto 2rem auto; }

/* ---=== BUTTONS ===--- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

/* ---=== HEADER ===--- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(var(--bg-color-rgb), 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

header .logo img {
    height: 20px;
}

header .nav-main ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header .nav-main a {
    color: var(--text-color);
    font-weight: 600;
}

/* ---=== HERO SECTION ===--- */
#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

#hero .container {
    text-align: left;
}

#hero .hero-content {
    max-width: 800px;
}

#hero .subheadline {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

#hero .hero-cta {
    display: flex;
}

/* ---=== TOOLTIP STYLES ===--- */
.tooltip-trigger {
    text-decoration: underline dotted;
    cursor: pointer;
    position: relative;
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    max-width: 250px;
    text-align: center;
    font-size: 0.9rem;
}

/* ---=== PROCESS SECTION ===--- */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.comparison {
    margin-top: 3rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ---=== TRANSFORMATIONS SECTION ===--- */
.transformations-carousel {
    /* Placeholder for carousel styles */
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.carousel-item {
    flex: 0 0 80%;
    max-width: 80%;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.carousel-item img {
    width: 100%;
    display: block;
}

.carousel-caption {
    padding: 1.5rem;
}

/* ---=== AI WORKFLOW SECTION ===--- */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.workflow-item {
    text-align: center;
}

.workflow-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ---=== PRICING SECTION ===--- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover, .pricing-card.popular {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(106, 13, 173, 0.2);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    position: relative;
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 0.5rem;
}

.pricing-card li i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.perfect-for {
    font-style: italic;
    font-weight: 600;
    margin-bottom: 2rem;
}


/* ---=== FOLLOW & CONTACT SECTIONS ===--- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-icon {
    font-size: 2rem;
    color: var(--text-color-muted);
}

.social-icon:hover {
    color: var(--secondary-color);
}

.newsletter-signup, #contactForm {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

#newsletterForm, #contactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

#newsletterForm {
    flex-direction: row;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ---=== FOOTER ===--- */
footer {
    background-color: var(--bg-color);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

footer .container {
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 25px;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-community h4 {
    margin-bottom: 1rem;
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-links-footer a {
    font-size: 1.5rem;
}

.footer-community a {
    display: block;
    margin-bottom: 0.5rem;
}

/* ---=== TWITTER FEED CARD ===--- */
.twitter-card {
    /* Card Styling */
    background-color: rgba(38, 38, 38, 0.5); /* Semi-transparent dark background */
    border-radius: 16px; /* Rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* Soft shadow for depth */
    
    /* Glassmorphism Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */

    /* Layout */
    padding: 1.5rem;
    max-width: 600px; /* Or your desired max-width */
    margin: 2rem auto; /* Centering the card */
    overflow: hidden; /* Ensures content stays within the rounded corners */
}

/* The X widget creates an iframe, and we can't style its internals directly.
   However, we can make sure our container handles it well. */
.twitter-card .twitter-timeline {
    width: 100% !important; /* Override any inline styles from the widget */
    height: 500px !important; /* Set a fixed height or use aspect-ratio */
}

/* ---=== RESPONSIVE DESIGN ===--- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    #hero .container {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    header .nav-main { display: none; } /* Simple hide for now, could be a burger menu */
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.2rem; }
    
    #hero .hero-cta {
        flex-direction: column;
    }

    #newsletterForm {
        flex-direction: column;
    }

    .twitter-card {
        padding: 1rem; /* Reduce padding on small screens */
    }
}

/* Canvas for background animation */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}