/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Purple-Pink Color Scheme */
:root {
    --primary-purple: #8b5cf6;
    --primary-pink: #ec4899;
    --accent-violet: #a855f7;
    --accent-rose: #f43f5e;
    --light-bg: #fdf7ff;
    --lighter-bg: #f3e8ff;
    --purple-bg: #f8faff;
    --section-bg: #f1f0ff;
    --text-light: #ffffff;
    --text-dark: #374151;
    --wall-stone: #9ca3af;
    --success-color: #22c55e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --success-bg: rgba(34, 197, 94, 0.1);
    --error-bg: rgba(239, 68, 68, 0.1);
    --warning-bg: rgba(245, 158, 11, 0.1);
    --card-bg: #ffffff;
    --card-gradient: linear-gradient(135deg, #f8faff, #f3e8ff);
    --border-color: #e5e7eb;
    --hover-bg: #f9fafb;
    --primary-gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
}

/* Navigation */
.navbar {
    background: var(--light-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-brand i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-separator {
    color: var(--primary-purple);
    opacity: 0.4;
    font-weight: 300;
    user-select: none;
}

/* Buttons - works for both <button> and <a> elements */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: white !important;
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--accent-violet);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
}

.btn-secondary:hover {
    background: var(--accent-violet);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
    box-sizing: border-box;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--lighter-bg), var(--purple-bg));
    padding: 120px 0 80px;
    color: var(--text-dark);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Rotating Text Animation */
.hero-headline {
    margin-bottom: 1.5rem;
}

.rotating-text-container {
    height: 6rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 3rem;
}

.rotating-text-container:hover {
    transform: scale(1.02);
}

.text-slide {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    display: none;
    padding: 0.5rem 0;
    /* Fallback color first */
    color: var(--primary-purple);
    /* Progressive enhancement with gradient text */
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    background-size: 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    background-clip: text;
}

.text-slide.active {
    display: block;
}

/* Fallback for older browsers */
@supports not (background-clip: text) {
    .text-slide {
        background: none;
        color: var(--primary-purple);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container {
    width: 500px;
    height: 350px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1563206767-5b18f218e8de?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
    filter: blur(3px);
    z-index: 1;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-image-logo {
    width: 80px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    animation: logoPulse 2s infinite;
}

.hero-image-icon {
    color: white;
    font-size: 4rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.9;
        filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    }
    50% { 
        transform: scale(1.15); 
        opacity: 1;
        filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(139, 92, 246, 0.6));
    }
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--lighter-bg), var(--purple-bg));
    padding: 100px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    background: var(--section-bg);
    padding: 100px 0;
    color: var(--text-dark);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary-purple);
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.plan-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.plan-features i {
    color: var(--primary-purple);
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    background: var(--light-bg);
    padding: 80px 0;
    text-align: center;
    color: var(--text-dark);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--section-bg);
    padding: 60px 0 20px;
    color: var(--text-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Comparison Section */
.comparison {
    background: var(--lighter-bg);
    padding: 100px 0;
}

.comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.comparison-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table-container {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
    border: 1px solid #8f9194;
    margin-bottom: 3rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.comparison-table th {
    background: var(--card-gradient);
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table th.grawlr-column {
    background: var(--card-gradient);
    color: var(--text-dark);
    font-weight: 600;
}

.comparison-table th small {
    display: block;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.comparison-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    vertical-align: middle;
}

.comparison-table td:last-child {
    border-right: none;
}

.feature-name {
    font-weight: 600;
    color: var(--text-dark);
    text-align: left !important;
    background: var(--hover-bg);
}

.competitor-cell {
    color: var(--text-dark);
    position: relative;
}

.competitor-cell.cell-missing {
    background: var(--error-bg);
}

.competitor-cell.cell-partial {
    background: var(--warning-bg);
}

.competitor-cell.cell-good {
    background: var(--success-bg);
}

.grawlr-cell {
    background: rgba(34, 197, 94, 0.15);
    color: var(--text-dark);
    font-weight: 500;
}

.text-success {
    color: var(--success-color);
}

.text-error {
    color: var(--error-color);
}

.text-warning {
    color: var(--warning-color);
}

.comparison-table i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.comparison-cta {
    text-align: center;
}

.comparison-highlight {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
    border: 2px solid var(--primary-purple);
    max-width: 800px;
    margin: 0 auto;
}

.comparison-highlight h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.comparison-highlight p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.comparison-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-stats .stat {
    text-align: center;
}

.comparison-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.comparison-stats .stat-label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .rotating-text-container {
        height: 4.5rem;
        margin-bottom: 2.5rem;
    }
    
    .text-slide {
        font-size: 2.2rem;
        padding: 0.3rem 0;
        background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: var(--primary-purple);
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .features-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-image-container {
        width: 350px;
        height: 250px;
    }
    
    .comparison-table-container {
        margin: 0 -20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .comparison-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-highlight {
        padding: 1.5rem;
        margin: 0 -10px;
    }
}

@media (max-width: 480px) {
    .rotating-text-container {
        height: 3rem;
        margin-bottom: 2rem;
    }
    
    .text-slide {
        font-size: 1.8rem;
        padding: 0.2rem 0;
        background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: var(--primary-purple);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image-container {
        width: 300px;
        height: 200px;
    }
    
    .hero-image-icon {
        font-size: 2.5rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
    }
    

    
    .comparison-stats .stat-number {
        font-size: 2rem;
    }
} 