/* SEG Landing Page Styles */

#seg-landing {
   font-family: Arial, sans-serif;
   color: #333;
   line-height: 1.6;
}

#seg-landing .container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

/* Hero Section */
.seg-hero {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   color: white;
   padding: 80px 0;
   text-align: center;
}

.seg-hero h1 {
   font-size: 42px;
   margin-bottom: 20px;
   font-weight: 700;
}

.seg-hero .subtitle {
   font-size: 20px;
   margin-bottom: 30px;
   opacity: 0.95;
}

.btn-cta {
   display: inline-block;
   background: #fff;
   color: #667eea;
   padding: 15px 40px;
   border-radius: 5px;
   text-decoration: none;
   font-weight: 700;
   font-size: 18px;
   transition: all 0.3s;
}

.btn-cta:hover {
   transform: translateY(-2px);
   box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Info Section */
.seg-info {
   padding: 60px 0;
   background: #f9f9f9;
}

.seg-info h2 {
   font-size: 32px;
   margin-bottom: 20px;
   text-align: center;
}

.seg-info > .container > p {
   text-align: center;
   font-size: 18px;
   max-width: 800px;
   margin: 0 auto 40px;
}

.benefits-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 30px;
   margin-top: 40px;
}

.benefit-item {
   background: white;
   padding: 30px;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.benefit-item h3 {
   font-size: 20px;
   margin-bottom: 10px;
   color: #667eea;
}

/* Materials Section */
.seg-materials {
   padding: 60px 0;
}

.seg-materials h2 {
   font-size: 32px;
   margin-bottom: 40px;
   text-align: center;
}

.material-comparison {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   max-width: 800px;
   margin: 0 auto;
}

.material-card {
   background: white;
   padding: 30px;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0,0,0,0.1);
   position: relative;
}

.material-card.featured {
   border: 3px solid #667eea;
}

.material-card .badge {
   position: absolute;
   top: 15px;
   right: 15px;
   background: #667eea;
   color: white;
   padding: 5px 15px;
   border-radius: 20px;
   font-size: 12px;
   font-weight: 700;
}

.material-card h3 {
   font-size: 22px;
   margin-bottom: 15px;
}

.material-card ul {
   list-style: none;
   padding: 0;
   margin: 20px 0;
}

.material-card ul li {
   padding: 8px 0;
   border-bottom: 1px solid #eee;
}

.material-card .price-info {
   font-size: 18px;
   font-weight: 700;
   color: #667eea;
   margin-top: 20px;
}

.material-card .note {
   font-size: 14px;
   font-weight: 400;
   color: #666;
}

/* Measuring Guide */
.seg-measuring-guide {
   padding: 60px 0;
   background: #f9f9f9;
}

.seg-measuring-guide h2 {
   font-size: 32px;
   margin-bottom: 40px;
   text-align: center;
}

.measuring-steps {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 30px;
   margin-bottom: 40px;
}

.step {
   display: flex;
   gap: 20px;
}

.step-number {
   flex-shrink: 0;
   width: 50px;
   height: 50px;
   background: #667eea;
   color: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 24px;
   font-weight: 700;
}

.step-content h4 {
   font-size: 18px;
   margin-bottom: 10px;
}

.calculation-example {
   background: white;
   padding: 30px;
   border-radius: 8px;
   margin: 30px 0;
   box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calculation-example h4 {
   font-size: 20px;
   margin-bottom: 20px;
}

.calculation-example table {
   width: 100%;
   border-collapse: collapse;
}

.calculation-example td {
   padding: 12px;
   border-bottom: 1px solid #eee;
}

.calculation-example td:first-child {
   width: 60%;
}

.alert-box {
   background: #e3f2fd;
   border-left: 4px solid #2196f3;
   padding: 20px;
   border-radius: 4px;
   margin: 30px 0;
}

.alert-box.info {
   background: #e8f5e9;
   border-left-color: #4caf50;
}

/* FAQ Section */
.seg-faq {
   padding: 60px 0;
}

.seg-faq h2 {
   font-size: 32px;
   margin-bottom: 40px;
   text-align: center;
}

.faq-accordion {
   max-width: 800px;
   margin: 0 auto;
}

.faq-item {
   background: white;
   margin-bottom: 15px;
   border-radius: 8px;
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
   overflow: hidden;
}

.faq-question {
   padding: 20px;
   cursor: pointer;
   font-size: 18px;
   font-weight: 600;
   margin: 0;
   position: relative;
   transition: background 0.3s;
}

.faq-question:hover {
   background: #f5f5f5;
}

.faq-question::after {
   content: '+';
   position: absolute;
   right: 20px;
   font-size: 24px;
   transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
   transform: rotate(45deg);
}

.faq-answer {
   padding: 0 20px;
   display: none;
}

.faq-answer p {
   padding-bottom: 20px;
}

/* Order Form Section */
.seg-order-form {
   padding: 60px 0;
   background: #f9f9f9;
}

.seg-order-form h2 {
   font-size: 32px;
   margin-bottom: 40px;
   text-align: center;
}

#seg-form {
   max-width: 800px;
   margin: 0 auto;
   background: white;
   padding: 40px;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
   margin-bottom: 40px;
   padding-bottom: 30px;
   border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
   border-bottom: none;
}

.form-section h3 {
   font-size: 22px;
   margin-bottom: 20px;
   display: flex;
   align-items: center;
   gap: 10px;
}

.step-badge {
   background: #667eea;
   color: white;
   width: 35px;
   height: 35px;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 18px;
   font-weight: 700;
}

.measuring-reminder {
   background: #fff3cd;
   border-left: 4px solid #ffc107;
   padding: 15px;
   margin-bottom: 20px;
   border-radius: 4px;
}

.size-presets {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 20px;
}

.btn-preset {
   background: white;
   border: 2px solid #667eea;
   color: #667eea;
   padding: 12px 20px;
   border-radius: 5px;
   cursor: pointer;
   font-size: 16px;
   transition: all 0.3s;
}

.btn-preset:hover {
   background: #667eea;
   color: white;
}

.link-custom {
   color: #667eea;
   text-decoration: underline;
   cursor: pointer;
   padding: 12px 0;
   display: inline-block;
}

.custom-size {
   margin-top: 20px;
}

.input-row {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-top: 10px;
}

.input-row input[type="number"] {
   flex: 1;
   padding: 12px;
   border: 2px solid #ddd;
   border-radius: 5px;
   font-size: 16px;
}

.input-row .separator {
   font-size: 20px;
   font-weight: 700;
}

.input-row .unit {
   color: #666;
}

.calculation-display {
   background: #f0f4ff;
   padding: 20px;
   border-radius: 8px;
   margin-top: 20px;
}

.calc-row {
   display: flex;
   justify-content: space-between;
   padding: 10px 0;
   border-bottom: 1px solid #ddd;
}

.calc-row:last-child {
   border-bottom: none;
}

.calc-row.highlighted {
   background: #667eea;
   color: white;
   padding: 15px;
   border-radius: 5px;
   margin: 10px 0;
}

.calc-row.area {
   font-weight: 700;
   font-size: 18px;
}

.calc-note {
   font-size: 14px;
   color: #999;
   margin-left: 10px;
}

.calc-row.highlighted .calc-note {
   color: rgba(255,255,255,0.8);
}

/* Material Selector */
.material-selector {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 15px;
}

.material-card-radio {
   position: relative;
   display: block;
   cursor: pointer;
}

.material-card-radio input[type="radio"] {
   position: absolute;
   opacity: 0;
}

.material-card-radio .material-info {
   border: 2px solid #ddd;
   padding: 20px;
   border-radius: 8px;
   transition: all 0.3s;
   text-align: center;
}

.material-card-radio input[type="radio"]:checked + .material-info,
.material-card-radio input[type="radio"]:checked + .badge-premium + .material-info {
   border-color: #667eea;
   background: #f0f4ff;
}

.material-card-radio.featured .material-info {
   border-color: #667eea;
}

.badge-premium {
   position: absolute;
   top: 10px;
   right: 10px;
   background: #ffc107;
   color: #333;
   padding: 4px 10px;
   border-radius: 12px;
   font-size: 11px;
   font-weight: 700;
   z-index: 1;
}

.material-info h4 {
   font-size: 16px;
   margin-bottom: 5px;
}

.material-desc {
   font-size: 13px;
   color: #666;
   margin: 5px 0;
}

.material-price {
   font-size: 16px;
   font-weight: 700;
   color: #667eea;
   margin-top: 10px;
}

/* Kedr Selector */
.kedr-selector {
   display: flex;
   gap: 20px;
}

.kedr-selector label {
   flex: 1;
   cursor: pointer;
}

.kedr-selector input[type="radio"] {
   position: absolute;
   opacity: 0;
}

.kedr-info {
   border: 2px solid #ddd;
   padding: 20px;
   border-radius: 8px;
   transition: all 0.3s;
   text-align: center;
}

.kedr-selector input[type="radio"]:checked + .kedr-info {
   border-color: #667eea;
   background: #f0f4ff;
}

.kedr-size {
   display: block;
   font-size: 24px;
   font-weight: 700;
   color: #667eea;
   margin-bottom: 5px;
}

.kedr-desc {
   display: block;
   font-size: 14px;
   color: #666;
}

/* Quantity Input */
#quantity {
   width: 100px;
   padding: 12px;
   border: 2px solid #ddd;
   border-radius: 5px;
   font-size: 18px;
   font-weight: 700;
}

/* Price Summary */
.price-summary {
   background: #f9f9f9;
   padding: 25px;
   border-radius: 8px;
   margin: 30px 0;
}

.price-row {
   display: flex;
   justify-content: space-between;
   padding: 12px 0;
   border-bottom: 1px solid #ddd;
}

.price-row:last-child {
   border-bottom: none;
}

.price-row.highlighted {
   background: #e8f5e9;
   padding: 15px;
   margin: 10px 0;
   border-radius: 5px;
}

.price-row.total,
.price-row.total-vat {
   font-size: 18px;
   font-weight: 700;
   padding-top: 15px;
   margin-top: 10px;
   border-top: 2px solid #667eea;
}

.price-row.total-vat {
   font-size: 22px;
   color: #667eea;
}

.price-value.included {
   color: #4caf50;
   font-weight: 700;
}

/* Form Actions */
.form-actions {
   text-align: center;
   margin-top: 30px;
}

.btn-primary {
   background: #667eea;
   color: white;
   border: none;
   padding: 18px 50px;
   border-radius: 5px;
   font-size: 20px;
   font-weight: 700;
   cursor: pointer;
   transition: all 0.3s;
}

.btn-primary:hover {
   background: #5568d3;
   transform: translateY(-2px);
   box-shadow: 0 5px 20px rgba(102,126,234,0.4);
}

.delivery-info {
   margin-top: 15px;
   color: #666;
   font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
   .seg-hero h1 {
      font-size: 32px;
   }

   .seg-hero .subtitle {
      font-size: 16px;
   }

   .benefits-grid {
      grid-template-columns: 1fr;
   }

   .material-comparison {
      grid-template-columns: 1fr;
   }

   .measuring-steps {
      grid-template-columns: 1fr;
   }

   .material-selector {
      grid-template-columns: 1fr;
   }

   .kedr-selector {
      flex-direction: column;
   }

   #seg-form {
      padding: 20px;
   }

   .size-presets {
      flex-direction: column;
   }

   .btn-preset {
      width: 100%;
   }
}
