@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

.awl-upgrade-pro-container {
    background: #ffffff;
    /* Premium white background */
    color: #1e293b;
    /* Deep slate text */
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 40px 30px;
    border-radius: 16px;
    margin: 20px 20px 20px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Glassmorphic light background glow effects */
.awl-upgrade-pro-container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 173, 0, 0.07) 0%, transparent 70%);
    /* Golden blur */
    z-index: 0;
    pointer-events: none;
}

.awl-upgrade-pro-container::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    /* Amber blur */
    z-index: 0;
    pointer-events: none;
}

.awl-upgrade-pro-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fffdf2 0%, #fffbf0 50%, #fff7e0 100%);
    border: 1px solid rgba(255, 173, 0, 0.22);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: inset 0 0 50px rgba(255, 173, 0, 0.03), 0 10px 30px rgba(0, 0, 0, 0.02);
}

.awl-upgrade-pro-header h2 {
    font-size: 44px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffc800 0%, #ffad00 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.awl-upgrade-pro-header .pro-description {
    font-size: 16px;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.65;
}

/* 6 Grid layout styles section */
.awl-pro-grids-section {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.awl-pro-grids-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.awl-pro-grids-subtitle {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
}

.awl-grids-layout-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.awl-grid-aspect-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.awl-grid-aspect-card:hover {
    background: #ffffff;
    border-color: rgba(255, 173, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 173, 0, 0.15);
}

.awl-aspect-preview-box {
    width: 100%;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

/* Specific aspect ratio preview crop shapes */
.aspect-1-1 {
    aspect-ratio: 1 / 1;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

.aspect-3-2 {
    aspect-ratio: 3 / 2;
}

.aspect-2-3 {
    aspect-ratio: 2 / 3;
    height: 160px;
}

.aspect-3-4 {
    aspect-ratio: 3 / 4;
    height: 160px;
}

/* Custom CSS Grids for Visual Mockups inside Cards */
.awl-css-mockup-grid {
    display: grid;
    width: 80%;
    height: 80%;
    gap: 8px;
}

.grid-mock-1-1 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.grid-mock-4-3 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.grid-mock-16-9 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 90%;
    height: 70%;
}

.grid-mock-3-2 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 85%;
    height: 75%;
}

.grid-mock-2-3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 70%;
    height: 90%;
}

.grid-mock-3-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 75%;
    height: 90%;
}

.awl-mock-item {
    background: linear-gradient(135deg, rgba(255, 173, 0, 0.08) 0%, rgba(255, 190, 0, 0.08) 100%);
    border: 1px dashed rgba(255, 173, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.awl-grid-aspect-card:hover .awl-mock-item {
    background: linear-gradient(135deg, rgba(255, 173, 0, 0.2) 0%, rgba(255, 190, 0, 0.2) 100%);
    border-style: solid;
    border-color: rgba(255, 173, 0, 0.35);
}

/* Camera viewport mockup graphics */
.awl-camera-graphics {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    pointer-events: none;
}

.awl-camera-graphics::before {
    content: '[  ]';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: monospace;
    font-size: 18px;
    color: rgba(15, 23, 42, 0.12);
}

.awl-video-overlay-mock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.awl-video-icon-mock {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.awl-video-icon-mock span.dashicons {
    color: #475569;
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-left: 2px;
    /* Visual center adjustment */
}

.awl-grid-aspect-card:hover .awl-video-icon-mock {
    transform: scale(1.15);
    background: #ffad00;
    border-color: #ffad00;
    box-shadow: 0 0 20px rgba(255, 173, 0, 0.4);
}

.awl-grid-aspect-card:hover .awl-video-icon-mock span.dashicons {
    color: #ffffff;
}

.awl-aspect-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #ffad00;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 173, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.awl-aspect-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.awl-grid-aspect-card:hover .awl-aspect-info h4 {
    color: #d97706;
}

.awl-aspect-info p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Comparison Table section */
.awl-pro-comparison-section {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    margin-bottom: 50px;
}

.awl-comparison-table-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
}

.awl-comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.awl-comparison-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 20px;
    border-bottom: 1.5px solid #e2e8f0;
}

.awl-comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13.5px;
    color: #334155;
    vertical-align: middle;
}

.awl-comparison-table tr:hover td {
    background: #f8fafc;
}

.awl-comparison-table tr:last-child td {
    border-bottom: none;
}

.awl-feature-title {
    font-weight: 600;
    color: #0f172a;
}

.awl-feature-desc {
    font-size: 12px;
    color: #64748b;
    display: block;
    margin-top: 3px;
    font-weight: normal;
}

.awl-comparison-table .free-col {
    width: 25%;
    text-align: center;
}

.awl-comparison-table .pro-col {
    width: 25%;
    text-align: center;
    background: rgba(255, 173, 0, 0.02);
    font-weight: 600;
    color: #0f172a;
    border-left: 2px solid rgba(255, 173, 0, 0.12);
    border-right: 2px solid rgba(255, 173, 0, 0.12);
    transition: background 0.3s ease;
}

.awl-comparison-table th.pro-col {
    background: rgba(255, 173, 0, 0.08);
    color: #e59400;
}

.awl-comparison-table tr:hover td.pro-col {
    background: rgba(255, 173, 0, 0.05);
}

.awl-icon-yes {
    color: #10b981;
    font-size: 18px;
}

.awl-icon-no {
    color: #f43f5e;
    font-size: 16px;
    opacity: 0.8;
}

.awl-badge-label {
    background: rgba(255, 173, 0, 0.08);
    color: #ffad00;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 173, 0, 0.15);
    margin-top: 4px;
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.awl-comparison-table tr:hover .awl-badge-label {
    background: #ffad00;
    color: #ffffff;
    border-color: #ffad00;
    transform: scale(1.05);
}

/* Upgrade CTA Buttons */
.awl-pro-cta-wrap {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.awl-btn-pro-upgrade {
    background: linear-gradient(135deg, #fbbf24 0%, #ffad00 50%, #92400e 100%);
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(255, 173, 0, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.awl-btn-pro-upgrade::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: button-shine 4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes button-shine {
    0% { left: -100%; }
    20% { left: 130%; }
    100% { left: 130%; }
}

.awl-btn-pro-upgrade:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 173, 0, 0.5);
}

.awl-btn-pro-upgrade:active {
    transform: translateY(-1px);
}

.awl-btn-pro-upgrade span.dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.awl-btn-pro-demo {
    color: #64748b !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.awl-btn-pro-demo:hover {
    color: #0f172a !important;
}

.awl-btn-pro-demo span.dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Feature Icon custom sizing and visual overrides to prevent core WP admin dashicon cropping */
.awl-feature-icon {
    font-size: 44px !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    color: #ffad00 !important;
    display: inline-block !important;
    text-align: center !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.awl-grid-aspect-card:hover .awl-feature-icon {
    transform: scale(1.12);
    color: #e59400 !important;
}

/* Header Action Button Sizing */
.header-upgrade-btn {
    padding: 12px 36px !important;
    font-size: 15px !important;
    box-shadow: 0 8px 20px rgba(255, 173, 0, 0.25) !important;
}
.header-upgrade-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(255, 173, 0, 0.4) !important;
}

.header-demo-btn {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 12px 36px !important;
    font-size: 15px !important;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
}

.header-demo-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.header-demo-btn span.dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}