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

:root {
    --primary-color: #ff1493;
    --primary-dark: #ff0080;
    --secondary-color: #000000;
    --text-dark: #000000;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f9f9f9;
    --border-color: #e5e5e5;
    --success-color: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--background);
}

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

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

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

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: bold;
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--background);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-badge {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Features Section - Workflow */
.features {
    padding: 80px 0;
    background: var(--background);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--secondary-color);
}

.workflow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.workflow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.workflow-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.error-icon {
    background: #fee2e2;
    color: #dc2626;
}

.nolog-icon {
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.pr-icon {
    background: #dbeafe;
    color: #2563eb;
}

.teams-icon {
    background: #e0f2fe;
    color: #0277bd;
}

.approval-icon {
    background: #e8f5e8;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-content p {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}


.jira-icon {
    background: #f3e5f5;
    color: #7b1fa2;
}

.workflow-arrow {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: 40px;
}

.workflow-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.workflow-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Key Features List */
.key-features {
    padding: 80px 0;
    background: var(--background-light);
}

.key-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--background);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

/* Homepage pricing - 2 columns */
.pricing-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
    justify-content: center;
}

.pricing-grid .pricing-card {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
}

/* Individual pages - center single cards */
body:not(.homepage) .pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body:not(.homepage) .pricing .pricing-card {
    max-width: 500px;
    margin: 0 auto;
}

.pricing-grid .pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 2px solid #f0f0f0;
    margin: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 2px solid #f0f0f0;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.3s ease;
}

.homepage .pricing-grid .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255,20,147,0.15);
    border-color: var(--primary-color);
}

.pricing-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    flex-wrap: wrap;
}

.currency {
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
}

.period {
    font-size: 1.25rem;
    margin-left: 0.5rem;
}

.pricing-grid .pricing-features {
    list-style: none;
    padding: 2rem 2rem 1rem 2rem;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-features {
    list-style: none;
    padding: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.pricing-features li:first-child:not(:only-child) {
    color: var(--text-dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin: 0 2rem 2rem;
    width: calc(100% - 4rem);
    text-align: center;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0 2rem 2rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: stretch;
}

.form-row > * {
    flex: 1;
    min-width: 0;
}

.form-row select:only-child {
    max-width: 100%;
    width: 100%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 48px;
    display: block;
    background: white;
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.contact-form select:hover {
    border-color: #d1d5db;
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 1.5rem;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .workflow {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .workflow-icon {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .workflow-arrow {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        flex-direction: column !important;
        align-items: center;
        gap: 2rem;
    }
    
    .pricing-grid .pricing-card {
        max-width: 600px;
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .hero h1, .hero-main h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-subtitle, .hero-main .hero-subtitle {
        font-size: 0.95rem !important;
    }
    
    /* Extremely aggressive mobile sizing for small screens */
    .product-grid {
        padding: 0 5px;
        gap: 1rem;
    }
    
    .product-card {
        width: calc(100% - 10px);
        max-width: calc(100% - 10px);
        margin: 0 5px;
        padding: 0.75rem;
        box-sizing: border-box;
    }
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.5rem;
    }
    
    .workflow {
        gap: 1rem;
    }
    
    .workflow-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 0.6rem;
    }
    
    .workflow-arrow {
        font-size: 1.5rem;
    }
    
}
    
    .features h2, .key-features h2, .pricing h2, .contact h2 {
        font-size: 2rem;
    }
    
    .feature-item {
        gap: 1rem;
    }
    
    .pricing-card {
        margin: 0 10px;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    /* Homepage specific mobile styles */
    .hero-main h1 {
        font-size: 2rem;
    }
    
    .hero-main .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .company-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 0.5rem 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pricing-grid .pricing-card {
        min-width: unset;
        max-width: 100%;
    }
    
    /* Prevent overflow from various elements */
    .product-grid, .pricing-grid, .workflow, .features-list {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .workflow-item {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Force product cards to fit properly on small mobile */
    .product-card {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    /* Better button spacing on mobile */
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Form improvements */
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Navigation improvements */
    .nav-menu {
        z-index: 999;
        transition: 0.3s;
    }
    
    .nav-menu a {
        padding: 1rem;
        display: block;
        font-size: 1.1rem;
    }
    
    /* Footer mobile fixes */
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        width: 100%;
    }
    
    .footer-brand .logo {
        text-align: center;
    }
    
    .footer-brand p {
        text-align: center;
    }
}

/* GDPR Consent Styling */
.gdpr-notice {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.gdpr-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.gdpr-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.gdpr-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.gdpr-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gdpr-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.gdpr-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.gdpr-checkbox a:hover {
    text-decoration: none;
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
